Reputation: 433
I am using below JMeter commandline to execute JMeter tests and generate csv file
jmeter -n -t "E:\New folder\apache-jmeter-5.1.1\JMeterProject\Test.jmx" -l "E:\New folder\apache-jmeter-5.1.1\JMeterResult\Result.csv"
Is there any way to generate Aggregate or Summary report by passing any options to above command ?
Upvotes: 0
Views: 967
Reputation: 168002
Nope, you will need to run another command and it assumes having JMeterPluginsCMD Command Line Tool plugin installed
Run your test and create .jtl results file
jmeter -n -t "E:\New folder\apache-jmeter-5.1.1\JMeterProject\Test.jmx" -l "E:\New folder\apache-jmeter-5.1.1\JMeterResult\Result.csv"
Run JMeterPluginsCMD to create CSV version of the Summary Report out of the .jtl results file:
JMeterPluginsCMD.bat --generate-csv "E:\New folder\apache-jmeter-5.1.1\JMeterResult\Summary.csv" --input-jtl "E:\New folder\apache-jmeter-5.1.1\JMeterResult\Result.csv" --plugin-type AggregateReport
More information: How to Use the JMeterPluginsCMD Command Line
Upvotes: 0