JMeter Listeners - Part 2: Listeners that Aggregate Data Samples
Just to remind you, listeners enable developers and performance testers to monitor JMeter requests and analyze test results. Listeners aggregate data, process and manipulate the information in it and even enable customization.
All Listeners can be found by right clicking the test plan Add->Listeners. A JMeter Listener will only collect data from JMeter elements at or above its level. For a more detailed explanation see the first blog post in this series.
The Aggregate Report listener shows the aggregated and statistical data for each sample of the script. The report table displays the following KPIs for each sample: the number of times it was executed in the script, minimum, maximum, average response times, percentages, response time, throughput, the number of samples per time unit, Kbytes per second and error percentage. These KPIs are useful for tracking your test performance as well as your system's health and for monitoring trends.
The Aggregate Graph is similar to the Aggregate Report, only in addition to the aggregated data table, it plots a bar chart for the response time metrics for each sample. An example of how the Aggregate Graph report might look like is shown in the screenshot below:
The Graph Results listener shows a line chart of the response times, throughput and deviation of the tested system, over time.
Generate Summary Results
The Generate Summary Results listener generates the summary report to a log file and to the JMeter log. The report format and the report file are defined in the JMeter properties file. A screenshot of what this looks like is shown below.
Please note that when running your tests in CA BlazeMeter, you should remove or disable the Listeners, unless you intend to generate extra log files. This is because they consume resources from the machine or engine that is running the test.
Congratulations! You finished learning about the second group of JMeter listeners. Stay tuned for the next part.
If you want to learn more basic JMeter, check out our free 5-day training course.
For more advanced JMeter check out this free webinar.
To check out CA BlazeMeter, which enhances JMeter, for free, put your URL or JMX file in the box at the top of this page.