Working with the reporting dashboard

With JMeter 3 comes the ability to generate dashboard reports to get even more insight into graphs and statistics of your test runs. This works by processing samples from test run CSV log files and generating HTML files with interactive graphs. The dashboards can be generated on demand or at the end of a load test.

The report includes the following:

  • Application Performance Index table consisting of all transactions in your test plan
  • A summary graph with a percentage of successful and failed requests
  • A statistics table summarizing the metrics per transaction
  • An error table summarizing all errors and their proportion in the total requests
  • Top five errors by sampler
  • A zoomable chart of metrics, such as response times over time, active threads over time, and latencies over time, to name a few

The report generation can be tweaked and configured to your taste:

  • To generate a report from an existing CSV log file, run the following command in a Terminal:
jmeter -g <log file> -o <Path to output folder>

Consider the following example:

./jmeter -g excilys.log -o /tmp/excilys_dashboard
  • To generate a report from after load test, run the following command in a Terminal:
jmeter -n -t <test JMX file> -l <test log file> -e -o <Path to output folder>

Consider this example:

./jmeter -n -t ~/workspace/packtpub/ptwj-code/chap5/excilys-banking-slim.jmx -l /tmp/reporting_dashboard/excilys.log -e -o /tmp/_dashboard

When the command finishes, you will have some generated files in the output folder containing the dashboard report. If you open the index.html file in the browser, you should see a report that looks similar to the following screenshot:

JMeter Dashboard Report
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.103.8