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%)
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
成都创新互联公司:自2013年创立以来为各行业开拓出企业自己的“网站建设”服务,为上千公司企业提供了专业的网站设计、成都网站制作、网页设计和网站推广服务, 按需开发网站由设计师亲自精心设计,设计的效果完全按照客户的要求,并适当的提出合理的建议,拥有的视觉效果,策划师分析客户的同行竞争对手,根据客户的实际情况给出合理的网站构架,制作客户同行业具有领先地位的。标题名称:jmeter性能测试脚步出问题排查记录-创新互联
当前网址:http://azwzsj.com/article/ijecc.html