最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

testing - Jmeter Throughput Shaping Timer Not Working As Expected - Stack Overflow

programmeradmin3浏览0评论

I'm testing my spike test configuration by adding a Dummy Sampler and an Ultimate Thread Group. Based on my settings, I should be getting approximately 750 hits in the first 15-minute timeframe. However, the overall hits are far lower than expected.

Please refer to the hits I observed after the first 15 minutes—around 400

Please refer below image for my Ultimate Thread Group settings

Please refer below image of timer settings

What I have tried: I have tried with different configurations but every time I have observed the hit count was lower than expected. What could be the reason? Have I missed something.

Please let me know. Thanks.

I'm testing my spike test configuration by adding a Dummy Sampler and an Ultimate Thread Group. Based on my settings, I should be getting approximately 750 hits in the first 15-minute timeframe. However, the overall hits are far lower than expected.

Please refer to the hits I observed after the first 15 minutes—around 400

Please refer below image for my Ultimate Thread Group settings

Please refer below image of timer settings

What I have tried: I have tried with different configurations but every time I have observed the hit count was lower than expected. What could be the reason? Have I missed something.

Please let me know. Thanks.

Share Improve this question asked Mar 8 at 14:43 VaibhavVaibhav 396 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

As per plugin's developer:

I must admin that the shaper is doomed to work not very well for small request rate. It's just because of its "timer" nature. The response times are quite big and this adds some difficulty to the shaper.

I have no idea how to mitigate this effect. Can you try starting more threads and set their loop to infinite?

Also you could try enabling JMeter debug logging for the Throughput Shaping Timer, it can be done by adding the next line to log4j2.xml file which lives in "bin" folder if your JMeter installation:

<Logger name="kg.apc.jmeter.timers.VariableThroughputTimer" level="debug" />

and see whether you will be able to spot anything suspicious in jmeter.log file


P.S. Using Concurrency Thread Group helped to achieve 751 requests in 15 minutes:

发布评论

评论列表(0)

  1. 暂无评论