Postman Alternatives for Api Testing
JMeter Listener Types | Part 2
JMeter Listener Types | Part 2
JMeter Listeners that Consolidate Data Samples
As we explained before, essential listeners have just primary displays. They collect and display data in basic formats. But now is time to explore JMeter listener that takes a more complex approach to display the data. And we will be calling them “Listeners that Consolidate Data Samples”.
Aggregate Report
Aggregate Report shows aggregated and statistical results and data for each sampler of your test. You can see metrics like “average response time, throughput, error percentage” and even more. And from the lower part of this listener, you can also see a graph created according to the data on the Aggregate Report table.
Graph Results
Graph Results listener creates a line chart for KPIs like response times, throughput, and deviation of the system. The values in the graph change based on elapsed time.
Generate Summary Result
Generate Summary Result listener converts the summary report into a log file and also transfers it into JMeter log. The report file and its format can be defined from the JMeter properties file.
Other JMeter Listeners
JSR223 Listener
JSR223 Listener is a scripting-based JMeter listener and it is helpful when you need to create new output data based on some unique algorithm that is not currently provided by JMeter.
Backend Listener
The backend listener is an Asynchronous listener that enables you to plug custom implementations of the BackendListenerClient interface from org.apache.jmeter.visualizers package. By default, a Graphite implementation is provided.
BeanShell Listener
BeanShell Listener allows the use of BeanShell for processing samples for saving etc. But it is highly recommended that you use JSR223 Listener, rather than BeanShell Listener. The support for BeanShell Listener by JMeter developers is limited now and JSR223 Listener + Groovy provides you a better performance.
Conclusion
With all these JMeter listeners, you can analyze your system under test better and explore some potential bottleneck points. But don’t forget to disable/remove all these listeners before running your test on Loadium. Because some JMeter listeners can be shown in your test report and what is worse; they can become a burden on your system since they consume resources from your engines.
Enjoyed this article? Check out Loadium for more!