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



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

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