Bug 66107 - Throughput Controller doesn't work if loop count is infinite
Summary: Throughput Controller doesn't work if loop count is infinite
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.4.3
Hardware: All other
: P2 normal (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-07 07:40 UTC by Sergey Danilov
Modified: 2022-06-07 07:40 UTC (History)
0 users



Attachments
test plan to reproduce the behavior (11.81 KB, application/xml)
2022-06-07 07:40 UTC, Sergey Danilov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Danilov 2022-06-07 07:40:39 UTC
Created attachment 38311 [details]
test plan to reproduce the behavior

Hello Ladies and Gentlemen! 

Throughput Controller doesn't work if loop count is set to `infinite`. I added an attachment, where you can reproduce it. It looks like an unexpected behavior.

In test plan from attachment I waited 50 requests, because of first Thread Group is 5 (threads) * 10 (seconds duration) * 0.8 (80% percents with Throughput Controller) = 40 requests, and second Thread Group is 5 (threads) * 10 (seconds duration) * 0.2 (20% percents with Throughput Controller) = 10 requests. But I get 100 requests (50 with first Thread Group and 50 with second Thread Group). Throughput Controller in this case doesn't work.

But if I set `loop_count` parameter in both Thread Groups to 10 (loop count == duration) – it works. Then I get 40 requests from first Thread Group and 10 requests from second Thread Group. 

Tell me please, is that a wrong logic or maybe I don't understand the conception of Throughput Controller work? Thanks!
Comment 1 The ASF infrastructure team 2022-09-24 20:38:23 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5675