Bug 58014 - Counter config under Random/Interleave controller
Summary: Counter config under Random/Interleave controller
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2015-06-09 11:09 UTC by Andrey Pokhilko
Modified: 2015-06-09 11:11 UTC (History)
0 users

Reproduction test plan (9.92 KB, application/xml)
2015-06-09 11:09 UTC, Andrey Pokhilko

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Pokhilko 2015-06-09 11:09:39 UTC
Created attachment 32800 [details]
Reproduction test plan

I found strange issue with using Counter element under Random or Interleave controller. The strangeness is that it can be fixed just by wrapping the sampler into Simple Controller.

See the attached test plan, it contains 2 thread groups. Fail thread group shows that counter variable produces not sequential values, although it is attached to a sampler. Surprisingly, Pass thread group shows that just wrapping the sampler into Simple controller do produce desired sequential integer values.

I failed to find obvious reasons for such behavior while reading through source code. I expect Counter to produce sequential values even without being wrapped into Simple Controller, at it feels natural by attaching it to particular scope.
Comment 1 Andrey Pokhilko 2015-06-09 11:10:31 UTC
Possibly relates to bugzilla #11844
Comment 2 The ASF infrastructure team 2022-09-24 20:38:00 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3609