网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

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://bjjierui.cn/article/psdooe.html

其他资讯