jmeter生成html报告修改,jmeter:测试后生成html报告

以下是生成报告所遵循的步骤:

我有

.jtl

文件

我复制给定的粘贴

sample configuration

对我

user.properties

文件位于

apache-jmeter-5.0\bin

我皈依

JTL

使用

CMDRunner.jar

java -jar CMDRunner.jar --tool Reporter --generate-csv Demo17Results.csv --input-jtl Demo17Results.jtl --plugin-type AggregateReport

转换

csv

从步骤3到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

Error in NonGUIDriver java.lang.IllegalArgumentException: Results file:Demo17Results.csv is not empty

清空csv文件后

Creating summariser

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仪表板报告时做错了什么?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值