Real-time Reporting with JMeter

Real-time Reporting with JMeter

Real-time reporting is a very crucial feature for all type of software tests. Bug fixing activities and improvements are planned based on…

Real-time Reporting with JMeter

Real-time reporting is a very crucial feature for all type of software tests. Bug fixing activities and improvements are planned based on the findings in detailed reports. This is also valid for any type of performance tests. Critical optimizations and changes are applied at different levels such as code, infrastructure or technological based on the reports generated.

JMeter supported basic raw formatted data in CSV and XML format up to version 3.0. You had to use a third party tool to create fancy reports prior to version 3.0. JMeter version 3.0 and above (currently 3.3 is the latest) offer enriched reporting as follows:

  • Dashboard report generation (extension)
  • Summary Screens
  • Backend Listener

Among the others, dashboard report generation allows users to add custom metrics such as APDEX (Application Performance Index), request summary, error in total requests and top n errors by the sampler. Moreover, detailed transactional metrics such as response time, active threads, throughput, latencies, connection time, hits etc. can be easily accessible via dashboard report.

Performance test engineers and cooperating teams wish to interpret real-time reporting results of the executed test to reduce the risk of downtime or outages or prematurely stop the current scenario. This requires the real-time generation of the above-mentioned reports. JMeter 2.13 and above, support sending real-time results to backend listeners such as web service or database connections. Backend listeners can be created by implementing AbstractBackendListenerClient. JMeter is packed with two standard backend listeners: a Graphite Backend and an InfluxDB Backend. Both provide live results, graphed metrics, comparison of load tests and more. The detailed configuration of these listeners can be found at the official website of JMeter.

Loadium; cloud-based performance & load testing platform handles all of the configuration steps for real-time test reporting results and eliminates the required setup time. You only need to upload JMeter or web driver based tests to Loadium and execute it!

Please feel free to ask questions if you have any!

Happy load testing

Originally published at loadium.com on February 28, 2018.