https://issues.apache.org/bugzilla/show_bug.cgi?id=56243
Bug ID: 56243
Summary: Foreach works incorrectly with indexes on subsequent
iterations
Product: JMeter
Version: 2.11
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31381
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31381&action=edit
Simple test plan demonstrating the bug
ForEach Controller is used to iterate through results of extraction made by
Regular Expression Extractor as recommended by documentation. Assuming RegEx
found several results and I don't want to iterate through all of them, I set
values for 'Start index' and 'End index' fields of ForEach Controller. On first
itertion of thread ForEach works as expected, but on subsequent thread
iterations ForEach does nothing.
Please see attached test plan and run it. Then look at Results Tree. You'll
find that Debug sampler inside ForEach Controller reached only at first
iteration of the thread, although there is no differences between the thread
iterations.
Interestingly, that if we clear 'Start index' and 'End index' fields ForEach
will start work as expected.
--
You are receiving this mail because:
You are the assignee for the bug.