Bug 58014

Summary: Counter config under Random/Interleave controller
Product: JMeter - Now in Github Reporter: Andrey Pokhilko <apc4>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Reproduction test plan

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