问题
my average response time is coming greater than the 99 percentile( in JMeter).
回答1:
So what? My too.
This is normal situation when you have:
- low number of samplers with high response time
and
- high number of samplers with low response time
In above setup I used 1 Dummy Sampler with 1000 milliseconds response time and 100 Dummy Samplers with 1 millisecond response time resulting in average response time of 11 ms and 99% of 4 ms.
More information:
- JMeter Glossary
- Percentile
- Arithmetic Mean
回答2:
To get such results your response times above the 95th and 99th response time should be really high. For example, Let's say you have 100 requests First 94 samples have a response time of 20ms From 95th to 99th Sample the response time is: 30ms And the 100th request has a response time of 1500ms
If you take the average response time It'll be: ((94 * 20) + (30 * 5) + (1000 * 1))/ 100 Which is: 35.5ms But the 90th and the 99th percentile values will be 30ms.
It's not a normal situation as per my experience. It's better if you can investigate what caused the system to respond in unexpected low response time and fix the issue. (Try to run the script again and see if you can recreate the scenario too)
Note: The response times worse than the 99th percentile matters a lot
For more information: https://softwaretestresearch.blogspot.com/2019/03/qa-engineering-analysis-what-happened.html
来源:https://stackoverflow.com/questions/53520521/averages-greater-than-95-percentile-in-jmeter