在非GUI模式下运行Jmeter测试脚本时无法获取HTML报告

up9lanfz  于 2022-11-09  发布在  其他
关注(0)|答案(1)|浏览(185)

我正在尝试运行一个非GUI的Jmeter脚本。它在bin文件夹中给出了测试结果,但是当我打开index.html时,它显示了下面的屏幕截图。
以10个用户运行脚本2分钟。
以下是结果:

summary +     31 in 00:00:07 =    4.2/s Avg:  1434 Min:   629 Max:  2997 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary +    184 in 00:00:29 =    6.3/s Avg:  1357 Min:    93 Max:  4816 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =    215 in 00:00:37 =    5.8/s Avg:  1368 Min:    93 Max:  4816 Err:     0 (0.00%)
summary +    159 in 00:00:30 =    5.3/s Avg:  1120 Min:    94 Max:  3953 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =    374 in 00:01:07 =    5.6/s Avg:  1263 Min:    93 Max:  4816 Err:     0 (0.00%)
summary +    183 in 00:00:30 =    6.1/s Avg:  1154 Min:    91 Max:  4001 Err:     0 (0.00%) Active: 10 Started: 10 Finished: 0
summary =    557 in 00:01:37 =    5.7/s Avg:  1227 Min:    91 Max:  4816 Err:     0 (0.00%)
summary +    157 in 00:00:25 =    6.3/s Avg:   966 Min:    92 Max:  2953 Err:     0 (0.00%) Active: 0 Started: 10 Finished: 10
summary =    714 in 00:02:02 =    5.9/s Avg:  1169 Min:    91 Max:  4816 Err:     0 (0.00%)

enter image description here

mcdcgff0

mcdcgff01#

它看起来像你试图打开index.html文件,这是不够的,应该有contentsbadmin-2-1.0.7文件夹以及:

如果文件夹不在那里--这可能是你的JMeter安装被破坏了。检查jmeter.log文件中是否有任何可疑的条目和report-template folder的完整性,也许重新安装最新版本的JMeter是个好主意

相关问题