https://issues.apache.org/bugzilla/show_bug.cgi?id=52295
Bug #: 52295
Summary: Problem with counter variable in Loop Controller - not
thread safe
Product: JMeter
Version: 2.5.1
Platform: PC
Status: NEW
Severity: critical
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
In a JMeter test plan (for web services), I have a thread element with 2
threads defined. I also defined a Loop Controller (child of the thread element)
with a 'Counter Config element' as its child. The counter initial value and
final value are read from a CSV file using CSV config element. The counter flag
'Track counter independently for each user' is true but the first counter value
(read from CSV) is retained across multiple threads.
JMeter Test plan:
--Test Plan
---Thread (2 count)
----Loop Controller
-----Counter
Input CSV:
(countStart,countEnd variables)
1,3
1001,1003
For example, after a sample run the counter for the two threads should be
1,2,3
1001,1002,1003
rather the output counter values are either
1001,1002,1003
1001,1002,1003
OR
1,2,3
1,2,3
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.