TA的每日心情 | 开心 2014-10-16 12:32 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
1、线程组设置:
线程数为 :1
线程循环次数 :2
2、添加 java Sampler
3、开始执行
结果,显示:
2012/08/17 10:22:21 ERROR - jmeter.samplers.SampleResult: sampleStart called twice java.lang.Throwable: Invalid call sequence
at org.apache.jmeter.samplers.SampleResult.sampleStart(SampleResult.java:991)
at org.apache.jmeter.protocol.java.test.Login.runTest(Login.java:43)
at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:161)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:416)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271)
at java.lang.Thread.run(Thread.java:619)
2012/08/17 10:22:21 ERROR - jmeter.samplers.SampleResult: sampleEnd called twice java.lang.Throwable: Invalid call sequence
at org.apache.jmeter.samplers.SampleResult.sampleEnd(SampleResult.java:1003)
at org.apache.jmeter.protocol.java.test.Login.runTest(Login.java:45)
at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:161)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:416)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271)
at java.lang.Thread.run(Thread.java:619) |
|