JMeter Reports default to a granularity of one minute. That granularity could be a problem. This post will talk about Advanced Load Testing – Granularity in your JMeter Reports.
Did you know JMeter Reporting Dashboard allows you to control your granularity?
See the Apache JMeter docs for all of the details. There are lots of adjustable settings, so why is granularity so important.
Example: Advanced Load Testing – Granularity
One of our RedLine13 customers shared a simple example of one of their real tests. Here is the output of one of their simple and quick one-minute tests they run daily to make sure their performance meets their SLA (Service Level Agreement). Note: this type of test that could be valuable for many organizations.
Without granularity you might be stuck seeing your tests as a small number of data points. And in this case it is just one data point since the default JMeter Granularity is 1 minute as we said above.
Now the same test with 1 second granularity they can start to see the data and make sense of the changes. But it still doesn’t look there are issues.
However, if they go down further in depth they can tune into 100ms and really see their data points and find the outliers to investigate. See the Note below about using a setting less than one second.
In a RedLine13 load test, you have the ability to generate the JMeter report and customize the granularity. That means you have all of the power of JMeter reports within RedLine13 and the ability to customize settings, like Granularity, within RedLine13 too.
You do this same thing for Gatling, custom tests, or even simple tests. It’s not just for JMeter.
To configure the granularity for RedLine13, just follow these steps:
- Advanced JMeter Properties
- If you need to enable the plugin, go to https://www.redline13.com/Account/plugins and enable on your account
- Set your granularity to the value you want
http://jmeter.apache.org/usermanual/generating-dashboard.html#configuration_general
You now know Advanced Load Testing – Granularity.
NOTE: Apache JMeter docs say that Granularity must be higher than 1 second (1000ms) for throughput graphs to work correctly.
You can try your own test, whether it is simple or advanced, on RedLine13 for free.