https://bz.apache.org/bugzilla/show_bug.cgi?id=66107

            Bug ID: 66107
           Summary: Throughput Controller doesn't work if loop count is
                    infinite
           Product: JMeter
           Version: 5.4.3
          Hardware: All
                OS: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: ushank...@gmail.com
  Target Milestone: JMETER_5.5

Created attachment 38311
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38311&action=edit
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!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to