Jignesh Parmar

JMETER: HOW TO GENERATE HTML AND CSV FILE REPORT OF LOAD/PERFORMANCE TESTING BY COMMAND PROMPT?

Published 2 years ago 2107 Views
image

Step 1: Setup for the report generation

  • Create a testing scenario(.jmx) file in JMeter's "bin" folder.

 

  • Now create a new Folder in the system where HTML & CSV report files need to generate.

Step 2: HTML and CSV Report Generate.

  • Open command prompt by Run and Set Directory path to the bin folder of Jmeter package.
    • Way 1:
  • Open the "bin" folder of the Jmeter package and enter only "cmd" text in the folder path and just hit the Enter button.
    • Way 2:
  • Now just follow the below command and wait till the report generation process in CMD. You will find the report in the desired location folder.

COMMAND :

jmter -n -t {.jmx file path} -l {csv report file path} -e -o {html output report path}

 

OUTPUT:

Notes:

*While JMX file/CSV file/Report file contains white space in the path then we have to put Double Quotes in the path to avoid the Error. (Error level 1).

Like:

 

A BLOG ABOUT DEVELOPMENT

Subscribe and get my latest blog post in your inbox.
image
JMETER: HOW TO GENERATE HTML AND CSV FILE REPORT OF LOAD/PERFORMANCE TESTING BY COMMAND PROMPT?

By cmd and JMeter we can generate an HTML report of Load testing and Performance testing by command.

image
JMETER: HOW TO UPLOAD MULTIPLE IMAGES BY CSV FILE IN APACHE JMETER?

By Jmeter CSV file configuration we can upload multiple images with the help of Apache JMeter for Performance/Load testing.

image
JMETER : HOW TO UPLOAD MULTIPLE IMAGES BY APACHE JMETER?

By Apache Jmeter we can upload multiple images for load/performance testing by a single API/Web service call.