Add a 'Median' field to the dashboard and make the response time percentile fields support floating-point numbers #567
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The goal is to make the dashboard behave closer to the aggregate report listener.
The aggregate report listener supports floating-point numbers like 99.9, 99.99, 99.999 ... in
aggregate_rpt_pctX
properties. Since the StatisticsSummaryConsumer reads exactly the same properties, it's reasonable to change the percentiles from int to double. Users should expect to see the same fields regardless of in which mode they start JMeter, GUI or command line.For the same reason, the 'missing' Median field is added.
Motivation and Context
For online shopping sites/apps, it's essential to know the 99.9...th percentile of response time, as there may be thousands or millions of concurrent requests during the sales/promotion campaigns.
And median (50th pct) can describe the distribution of response times better than average, as it isn't a normal distribution.
How Has This Been Tested?
aggregate_rpt_pctX
to 90, 95 and 99, the result is the same as JMeter 5.2.1aggregate_rpt_pct3
to 100, the value of 100th percentile equals to the Max fieldData:
https://github.com/keithmork/hugo-blog/blob/master/static/file/pull-request/jmeter/20190319_kpi.jtl.zip
Command:
Screenshots (if appropriate):
Types of changes
Checklist: