【JMeter】生成报告-Dashboard Report

时间:2022-12-28 20:16:46
Dashboard Report
用于生成HTML页面格式图形化报告
1、在JMmeter性能测试结束时,自动生成本次测试的HTML图形化报告
2、使用一个已有的结果文件(如CSV)来生成该次的HTML图形化报告
 
配置
jmeter.save.saveservice.bytes = true jmeter.save.saveservice.label = true jmeter.save.saveservice.latency = true jmeter.save.saveservice.response_code = true jmeter.save.saveservice.response_message = true jmeter.save.saveservice.successful = true jmeter.save.saveservice.thread_counts = true jmeter.save.saveservice.thread_name = true jmeter.save.saveservice.time = true # the timestamp format must include the time and should include the date. # For example the default, which is milliseconds since the epoch: jmeter.save.saveservice.timestamp_format = ms # Or the following would also be suitable jmeter.save.saveservice.timestamp_format = yyyy/MM/dd HH:mm:ss
jmeter.save.saveservice.assertion_results_failure_message = true
 
生成报告
jmeter -n -t F:\\test.jmx -l testLogFile -e -o ./output
jmeter -g testLogFile -e -o ./output