看你用的Grinder的版本是3.11,我们使用的是3.9.1.
我看了一下Grinder的change log,没有看到有什么特别的会影响的地方,但是,因为我们对Grinder改写了很多,所以,无法保证在其他版本的Grinder上运行没有问题。
我用你的脚本,在我们的测试平台测了一下,这个脚本连我的数据库,运行是没有问题的。
所以,最好还是用我们发布包中所指定的版本,最好不要修改。
-----Original Message-----
From: "ypspace [via ngrinder]"<[hidden email]>
To: "Mavlarn"<[hidden email]>;
Cc:
Sent: 2013-09-04 (星期三) 16:47:21
Subject: RE: jdbc连接数据库,record无测试结果返回
2013-09-04 15:40:24,156 INFO myagent-0 : The Grinder version 3.11
2013-09-04 15:40:24,171 INFO myagent-0 : Java(TM) SE Runtime Environment 1.6.0_37-b06: Java HotSpot(TM) Client VM (20.12-b01, mixed mode) on Windows XP x86 5.1
2013-09-04 15:40:24,171 INFO myagent-0 : time zone is CST (+0800)
2013-09-04 15:40:24,250 INFO myagent-0 : worker process 0
2013-09-04 15:40:24,312 INFO myagent-0 : instrumentation agents: byte code transforming instrumenter for Jython 2.5; byte code transforming instrumenter for Java
2013-09-04 15:40:26,453 INFO myagent-0 : running "testDatabase.py" using Jython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:48:36)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)]
2013-09-04 15:40:26,484 INFO myagent-0 thread-0: starting, will do 1 run
2013-09-04 15:40:26,484 INFO myagent-0 : start time is 1378280426478 ms since Epoch
2013-09-04 15:40:26,765 INFO myagent-0 thread-0: finished 1 run
2013-09-04 15:40:26,765 INFO myagent-0 : elapsed time is 276 ms
2013-09-04 15:40:26,765 INFO myagent-0 : Final statistics for this process:
2013-09-04 15:40:26,781 INFO myagent-0 :
Tests Errors Mean Test Test Time TPS
Time (ms) Standard
Deviation
(ms)
Totals 0 0 - 0.00 0.00
Tests resulting in error only contribute to the Errors column.
Statistics for individual tests can be found in the data file, including
(possibly incomplete) statistics for erroneous tests. Composite tests
are marked with () and not included in the totals.
以上是验证脚本的日志,sql语句已经执行成功,脚本也没有报错
Free forum by Nabble | Edit this page |