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 2.2/2.3 jmeter that this cannot be done. But since it is 2014 now and we are using jmeter 2.11, I was wondering if we could save the table data.
The button boxed in red is what I am trying to do but with command line rather than with the GUI.
Thanks
In order to achieve this you will have to write a batch script (windows) and shell script (Linux).
Please follow the below mentioned steps:
- jmeter -n -t "C:\Test.jmx" -l "C:\output.jtl" ^&^& exit
- java -jar CMDRunner.jar --tool Reporter --generate-csv "C:\Aggregate_Report.csv" --input-jtl "C:\output.jtl" --plugin-type AggregateReport
Hope this will help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With