Updated March 30, 2023
Definition of JMeter Aggregate Report
JMeter is an open-source tool used to perform load and performance testing applications. In JMeter, we have different listeners to view the result of Test Plan, in which aggregate report is one of the listeners that are provided by the JMeter. The aggregate report is the same as the summary report except the aggregate listener provides some additional parameters such as Median. We know the importance of reading and understanding the JMeter reports which means how we can provide the correct conclusion with statistics of the report. If we have statistics of the report, then we can do analysis easily and conclude the result of the Test Plan.
Overview of JMeter aggregate report
Total Report in JMeter is one among the preeminent fundamental audience. It is around the same in Comparison with Summary Report aside from Aggregate Report gives not many more boundaries like, “Middle”, “90% Line”, “95% Line” and “close to 100% Line”. Prior to going further, it’s great to comprehend the instrument of the method for recording and Run JMeter Script and Summary Report.
Here, we will zero in on comprehension and investigation of each field given by the Aggregate Report. Essentially it creates a table to show the outcome with a line for each example independently and displays data about Throughput, KB/Sec worth, Average Time, Median worth, 90% Line, 95% Line, almost 100% Line, Minimum Response Time, Maximum Response Time, Error %. At the lower part of the table, you can likewise track down the Total incentive for every last one of these fields.
Why JMeter aggregate report?
Now let’s see why we need to use the aggregate reports in JMeter as follows.
Total Report in JMeter is one among the preeminent fundamental audience. It is around the same in Comparison with Summary Report aside from the Aggregate Report gives not many more boundaries like, “Middle”, “90% Line”, “95% Line” and “almost 100% Line”. Prior to going further, it’s great to comprehend the component of the method for recording and running JMeter Script and Summary Report.
According to the JMeter Listeners. Throughput is determined as solicitations/units of time. The time is determined from the beginning of the main example to the furthest limit of the last example. This incorporates any stretches between tests, as it should address the heap on the server.
Throughput is estimated in demands each second/minute/hour. The time unit is picked so the shown rate is somewhere around 1.0. Whenever the throughput is saved to a CSV record, it is communicated in demands/second, for example, 30.0 solicitations/minute is saved as 0.5.
Using JMeter aggregate report
Now let’s see how we can use the aggregate reports in JMeter with examples as follows.
First, we need to create a Test Plan in JMeter as shown in the following screenshot.
Now add the Thread Group inside the Test Plan as shown in the following screenshot as follows.
After creating Thread now we need to add the sampler, here we added an HTTP request sampler as shown in the following screenshot as follows.
Now in this step, we need to add the listener, usually, we add the view result tree or any other but here we need to add the aggregate report listener as shown in the following screenshot as follows.
Now let’s save the Test Plan and run it, after execution of the Test Plan we can see the result in the following screenshot as follows.
JMeter aggregate report analysis
Now let’s try to understand the aggregate report with details as follows.
- Label: Basically it is the name of the URL that we provided, in the above example, we provide two HTTP requests that are nothing but the Label of the report.
- Sample: It is used to show the number of virtual users per request that we added to the Thread Group.
- Average: It is used to specify how much time is taken by a specific request or Label. In the above example, the total average time is 2682 milliseconds as shown in the above screenshot.
- Median: It is the time in a bunch of test results. It demonstrates that half of the examples took something like this time i.e. the rest of at minimum as long.
- 90% Line: It is the Value under which 90 Percent of the examples fall. The rest tests took essentially as long as they were worth. (90th percentile)To work out 90%, Make a rundown of all the exchange values and yet again orchestrate their qualities in dropping requests. Presently wipe out the top 10% exchanges of your all-out list. Staying most noteworthy is the 90th percentile.
- 95% Line: It is the Value under which 95 Percent of the examples fall. The rest tests took essentially as long as they were worth. (95th percentile) To compute 95%, Make a rundown of all the exchange values and once again orchestrate their qualities in plummeting requests. Presently kill the top 5% exchanges of your all-out list. Staying most elevated worth is the 95th percentile.
- 99% Line: It is the Value under which 99 Percent of the examples fall. The rest of the tests took basically as long as they were worth. (99th percentile) To compute close to 100%, Make a rundown of all the exchange values and yet again organize by their qualities in plummeting requests. Presently kill the top 1% exchanges of your absolute rundown. Staying most elevated worth is the 99th percentile.
- Min: It is used to show the minimum amount of time taken by the label and it is shown in milliseconds.
- Max: It is used to show the maximum amount of time taken by the label or we can say that HTTP request.
- Error%: It shows failed HTTP requests per label.
- Throughput: It shows a number of requests are processed per second.
- KB/Sec: It is used to show the average amount of data received from the server during Test Plan execution.
JMeter aggregate report command
First, we need to download JMeter PluginsCMD, after that we also need to install some additional plugins such as Synthesis Report and command Line graph plotting tool.
Now run the following command as follows.
JMeterPluginsCMD.bat --generate-csv aggregatereport.csv --input-jtl output.jtl --plugin-type AggregateReport
We hope from this article you learn more about the JMeter aggregate report. From the above article, we have taken in the essential idea of the JMeter aggregate report and we also see the representation and example of the JMeter aggregate report. From this article, we learned how and when we use the JMeter aggregate report.
This is a guide to JMeter Aggregate Report. Here we discuss the definition, overviews, Why JMeter aggregate report?, Examples with code implementation. You may also have a look at the following articles to learn more –