Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Generate JMeter Summary or aggregate report using JMeter command line execution

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 ?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Nope, you will need to run another command and it assumes having JMeterPluginsCMD Command Line Tool plugin installed

  1. 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"
    
  2. 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

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading