我使用“jp@gc - 步进线程组”运行了 500VU 的性能测试。我注意到,从 200VU-500VU 负载开始,点击次数/秒一直保持 20-25 次,持续 25 分钟,直到运行结束,误差为 0.04%。
我知道我可以通过使用限制 RPS 和恒定吞吐量计时器来控制每秒点击数,但我没有应用或启用。
我的问题是
1.运行是好是坏?
2. 500VU 负载的 hits/sec 应该如何?
3. 每秒点击次数是由 Blazemeter 引擎根据其效率确定的吗?
最佳答案
- 确保你 correctly configure Stepping Thread Group
- 如果 200 和 500 VU 的吞吐量相同,那就不好了。 500 VU 的理想系统吞吐量应该高出 2.5 倍。如果您不确定是您的应用程序还是 BlazeMeter 引擎出了问题,您可以在负载测试报告的
Engine Health
选项卡上检查 BlazeMeter 在测试时间范围内的实例健康状况。 据我所知,BlazeMeter 依赖于 JMeter 吞吐量计算算法。根据JMeter glossary
Throughput is calculated as requests/unit of time. The time is calculated from the start of the first sample to the end of the last sample. This includes any intervals between samples, as it is supposed to represent the load on the server. The formula is:
Throughput = (number of requests) / (total time).
关于performance - blazemeter 如何计算 hits/sec?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39913542/