https://issues.apache.org/bugzilla/show_bug.cgi?id=55201

            Bug ID: 55201
           Summary: ForEach controller excludes start index and includes
                    end index
           Product: JMeter
           Version: 2.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 30539
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30539&action=edit
Simple test case

Despite what documentation says
(http://jmeter.apache.org/usermanual/component_reference.html#ForEach_Controller)
ForEach starts looping with the startIndex+1 value and ends with endIndex, i.e.
output variable has value of (startIndex + 1) on the first iteration and value
of (endIndex) on the last iteration.

Having taken a brief look through SVN history I've got an impression that this
bug is so long-standing that could be considered "a feature" and it could be
wiser to correct documentation instead of possibly breaking behavior of
existing tests suites.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to