jmeter性能测试脚步出问题排查记录

问题提出现脚本不能运行

Starting the test @ Wed Feb 07 11:27:31 CST 2018 (1517974051626)
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
summary =      0 in 00:00:00 = ******/s Avg:     0 Min: 9223372036854775807 Max: -9223372036854775808 Err:     0 (0.00%)
Tidying up ...    @ Wed Feb 07 11:27:32 CST 2018 (1517974052133)
... end of run
查看html报告地址为

查看日志:2018-02-07 11:28:08,876 INFO o.a.j.s.FileServer: Stored: *~~\root\tools\toonBase\par\staffs.dat~~*
2018-02-07 11:28:08,876 ERROR o.a.j.t.JMeterThread: Test failed!
java.lang.IllegalArgumentException: File \root\tools\toonBase\par\staffs.dat must exist and be readable
        at org.apache.jmeter.services.FileServer.createBufferedReader(FileServer.java:430) ~[ApacheJMeter_core.jar:3.3 r1808647]
        at org.apache.jmeter.services.FileServer.readLine(FileServer.java:346) ~[ApacheJMeter_core.jar:3.3 r1808647]
        at org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:203) ~[ApacheJMeter_components.jar:3.3 r1808647]
        at org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:393) ~[ApacheJMeter_core.jar:3.3 r1808647]
        at org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:385) ~[ApacheJMeter_core.jar:3.3 r1808647]
        at org.apache.jmeter.control.GenericController.next(GenericController.java:158) ~[ApacheJMeter_core.jar:3.3 r1808647]
        at org.apache.jmeter.control.LoopController.next(LoopController.java:123) ~[ApacheJMeter_core.jar:3.3 r1808647]
        at org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:87) ~[ApacheJMeter_core.jar:3.3 r1808647]
--More--(49%)

提示:参数文件路径不对:
下一步进入脚步文件,进行修改脚本再次运行显示:

arting the test @ Wed Feb 07 11:33:52 CST 2018 (1517974432633)
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
summary +    275 in 00:00:17 =   16.1/s Avg:   367 Min:    27 Max: 15171 Err:     0 (0.00%) Active: 6 Started: 6 Finished: 0
summary +   1670 in 00:00:10 =  167.0/s Avg:    35 Min:    25 Max:   146 Err:     0 (0.00%) Active: 6 Started: 6 Finished: 0
summary =   1945 in 00:00:27 =   71.9/s Avg:    82 Min:    25 Max: 15171 Err:     0 (0.00%)
summary +   1645 in 00:00:10 =  164.5/s Avg:    36 Min:    24 Max:   165 Err:     0 (0.00%) Active: 6 Started: 6 Finished: 0
summary =   3590 in 00:00:37 =   96.9/s Avg:    61 Min:    24 Max: 15171 Err:     0 (0.00%)
summary +   1377 in 00:00:24 =   58.4/s Avg:    48 Min:    26 Max: 15018 Err:     0 (0.00%) Active: 6 Started: 6 Finished: 0
summary =   4967 in 00:01:01 =   82.0/s Avg:    57 Min:    24 Max: 15171 Err:     0 (0.00%)
summary +   1057 in 00:00:06 =  164.4/s Avg:   107 Min:    25 Max: 15127 Err:     0 (0.00%) Active: 6 Started: 6 Finished: 0
summary =   6024 in 00:01:07 =   89.9/s Avg:    66 Min:    24 Max: 15171 Err:     0 (0.00%)

网页名称:jmeter性能测试脚步出问题排查记录
新闻来源:http://lszwz.com/article/psdooe.html

其他资讯

售后响应及时

7×24小时客服热线

数据备份

更安全、更高效、更稳定

价格公道精准

项目经理精准报价不弄虚作假

合作无风险

重合同讲信誉,无效全额退款