Jmeter NO GUI操作

1. 将测试计划脚本转换为jtl文件
jmeter -n -t testplan.jmx -l test.jtl

2. 然后使用jtl文件生成聚合报告到csv文件中

JMeterPluginsCMD.bat --generate-csv aggregate.csv --input-jtl test.jtl --plugin-type AggregateReport
JMeterPluginsCMD.bat --generate-csv ESOP_REPORT.csv --input-jtl ESOP.jtl --plugin-type AggregateReport

3. 讲测试计划脚本及报告转换为html报告

jmeter -n -t testplan.jmx -l testLogFile -e -o ./output

jt -t monokai -f roboto -nf robotosans -tf robotosans -N -T -cellw 70% -dfs 10 -ofs 10

posted @ 2019-06-11 15:36  Halo3224  阅读(26)  评论(0编辑  收藏  举报
热爱技术的小牛