【发布时间】:2020-09-24 11:38:47
【问题描述】:
这些是我生成报告所遵循的步骤:
- 我有
.jtl文件 - 我将给定sample configuration 的粘贴复制到我位于
apache-jmeter-5.0\bin的user.properties文件中 -
我使用
CMDRunner.jar将.jtl转换为汇总报告java -jar CMDRunner.jar --tool Reporter --generate-csv Demo17Results.csv --input-jtl Demo17Results.jtl --plugin-type AggregateReport -
将从第 3 步得到的
csv文件转换为 HTML 报告我试过(1)
jmeter -g Demo17Results.csv -o htmlReports/
Error: csv' does not contain the field names header, ensure the jmeter.save.saveservice.* properties are the same as when the CSV file was created or the file may be read incorrectly when generating report
An error occurred: Mismatch between expected number of columns:17 and columns in CSV file:11, check your jmeter.save.saveservice.* configuration or check line is complete
我试过(2) jmeter -n -t Demo17Run.jmx -l Demo17Results.csv -e -o htmlReports/
Creating summariser <summary>
Error in NonGUIDriver java.lang.IllegalArgumentException: Results file:Demo17Results.csv is not empty
清空 csv 文件后
Creating summariser <summary>
Created the tree successfully using Demo17Run.jmx
Starting the test
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 ...
Error generating the report: org.apache.jmeter.report.core.SampleException: Could not read metadata !
... end of run
生成 Jmeter HTML 仪表板报告我做错了什么?
【问题讨论】:
标签: jmeter report jmeter-plugins