51Testing软件测试论坛

标题: jmeter测数据库时,启动后没任何反应 [打印本页]

作者: jacquiyan    时间: 2009-3-9 18:58
标题: jmeter测数据库时,启动后没任何反应
我把sybase的驱动程序jconn3.jar放到了lib下面,启动jmeter进程后,没任何反应,图像结果没出现有曲线!配置是正确的,
附件是我的设置,请帮忙看看是什么问题!
作者: jacquiyan    时间: 2009-3-11 18:23
自己顶下,没人遇到这种现象嘛?
作者: arhui0531    时间: 2009-6-19 10:18
标题: 研究了几天了,还没个头绪
我测试sql server也是启动闪一下就停止了。感觉根本就没和数据库连接起来。把我的日志附上:(麻烦大家帮忙分析)
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2009/06/19 13:54:05 INFO  - jmeter.testelement.TestPlan: add C:\Program Files\sqljdbc_2.0\chs\sqljdbc4.jar to classpath
2009/06/19 13:54:05 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group 线程组. Ramp up = 1.
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: All threads have been started
2009/06/19 13:54:05 INFO  - jmeter.threads.JMeterThread: Thread started: 线程组 1-1
2009/06/19 13:54:05 INFO  - jmeter.threads.JMeterThread: Thread finished: 线程组 1-1
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 线程组 1-1
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: Stopping test
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2009/06/19 13:54:05 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
2009/06/19 13:54:05 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended

[ 本帖最后由 arhui0531 于 2009-6-19 15:11 编辑 ]
作者: arhui0531    时间: 2009-6-22 10:37
楼主,你把日志贴出来,看看是不是和我遇到的一样呢。
作者: liu_xp2003    时间: 2009-6-26 15:20
换一个listener( View Results Tree )看看详细结果.如果有数据能查询出来了就说明正确了.
作者: 小刀    时间: 2010-1-27 13:02
我用过Mysql,Oracle,Sybase数据库,都是可以正常运行的,楼主你把jconn3.jar放到lib/ext下再试验下,
作者: liu_xp2003    时间: 2010-1-29 08:48
脚本层次不是太好。
问题应该是Validation Query写的不对。

[ 本帖最后由 liu_xp2003 于 2010-1-29 12:04 编辑 ]
作者: fly_pineapple    时间: 2010-2-24 11:16
标题: 回复 7# 的帖子
Validation Query有什么用?
作者: apple1286    时间: 2016-1-20 17:46
我测试MongoDB也遇到这样问题,求解
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2016/01/20 18:34:56 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: []
2016/01/20 18:34:56 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2016/01/20 18:34:56 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2016/01/20 18:34:56 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 2 : 线程组
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group 线程组.
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2016/01/20 18:34:56 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 2 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2016/01/20 18:34:56 INFO  - jmeter.threads.ThreadGroup: Started thread group number 2
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2016/01/20 18:34:56 INFO  - jmeter.threads.JMeterThread: Thread started: 线程组 2-1
2016/01/20 18:34:56 INFO  - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2016/01/20 18:34:56 WARN  - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing CookieManager HTTP Cookie 管理器 superseded by HTTP Cookie Manager
2016/01/20 18:34:56 INFO  - jmeter.threads.JMeterThread: Thread is done: 线程组 2-1
2016/01/20 18:34:56 INFO  - jmeter.threads.JMeterThread: Thread finished: 线程组 2-1
2016/01/20 18:34:56 INFO  - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2016/01/20 18:34:56 INFO  - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2016/01/20 18:34:56 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2016/01/20 18:34:56 INFO  - jmeter.reporters.Summariser: 生成概要结果 =      1 in   0.4s =    2.5/s Avg:    19 Min:    19 Max:    19 Err:     1 (100.00%)
2016/01/20 18:34:56 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2