Jmeter command line to “save table data” in a aggregate report

后端 未结 1 608
粉色の甜心
粉色の甜心 2021-01-05 05:31

I would like to save table data generated by an aggregate report using command line, so that I can automate the process. However, I read from an older post around 2004 using

相关标签:
1条回答
  • 2021-01-05 06:26

    In order to achieve this you will have to write a batch script (windows) and shell script (Linux).
    Please follow the below mentioned steps:

    • Run Jmeter via command line and specify path for output *.jtl file
    • Call CMDRunner.jar in your Jmeter \lib\ext directory to convert *.jtl file to Aggregate report and save as CSV file.
    1. jmeter -n -t "C:\Test.jmx" -l "C:\output.jtl" ^&^& exit
    2. java -jar CMDRunner.jar --tool Reporter --generate-csv "C:\Aggregate_Report.csv" --input-jtl "C:\output.jtl" --plugin-type AggregateReport
    • Run your *.bat or *.sh file

    Hope this will help.

    0 讨论(0)
提交回复
热议问题