How to generate a Dashboard Report in JMeter?

Problem:

  • How to generate a dashboard report in JMeter?
    OR
  • How to generate an HTML report in JMeter?

Solution:

Follow the below steps to generate the dashboard report in JMeter:

For JMeter 5.1.1 version or higher:

To generate the report in Non-GUI mode, execute the test using below command:

a. For Windows:

jmeter -n -t <test JMX file path> -l <test log file path> -e -o <Path to output folder>

b. For Linux:

./jmeter.sh -n -t “<test JMX file path>” -l “<test log file path>” -e -o “<Path to output folder>”

Dashboard report will be generated and saved in the provided output folder at the end of the test.

To generate the report in GUI Mode:

  1. In main menu, go to Tools -> Generate HTML Report
  2. Provide ‘Result file’ path, ‘user.properties’ file path and ‘Output diectory’ path and click ‘Generate report’.
    Note: Use the same ‘user.properties’ file to generate the report which was used during test execution otherwise report generation may throw an error.
  3. Dashboard report will be generated and saved in the provided output folder at the end of the test.

For JMeter 3.0 to JMeter 5.0 version:

  1. Copy the properties from reportgenerator.properties into user.properties file. If required, you can modify the properties as per your need.
  2. Use the following command to execute the test. Dashboard report will be generated and saved in the provided output folder at the end of the test:

For Windows:

jmeter -n -t <test JMX file path> -l <test log file path> -e -o <Path to output folder>

For Linux:

./jmeter.sh -n -t “<test JMX file path>” -l “<test log file path>” -e -o “<Path to output folder>”

For lower than JMeter 3.0 version

Dashboard Report Generation functionality is not available in the JMeter version lower than 3.0.

Advantage of Dashboard (HTML) Report:

  1. The report in HTML format provides a better view of graphs and result.
  2. Graph properties allow exporters to overwrite some graph data.
  3. Filters can be applied to the graph
  4. Variety of graphs is available.
  5. The zoom-in feature helps to analyse the graph more closely.
  6. The main advantage is that you can share the HTML report with your client by zipping the report folder.

Leave a Comment