You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/08/28 17:14:43 UTC

[Bug 55495] New: ForEach Controller: start index not checked before looping

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

            Bug ID: 55495
           Summary: ForEach Controller: start index not checked before
                    looping
           Product: JMeter
           Version: 2.9
          Hardware: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: john@openmhealth.org

When the ForEach Controller begins, it checks that <variable>_1 exists,
regardless of what the start index is. To recreate it, simple create a variable
named something like "myVar_0" and then call the ForEach Controller with a
start index of 0. Because there is no "myVar_1", the ForEach Controller will
not run.

The documentation does clearly state that if <variable>_1 is null, the looper
will not run. My impression is that this is a legacy, default value from before
start and end indices existed. I feel that a more intuitive solution would be
to check the start index and, if not given, default to 1. Then, loop until the
variable returned is null.

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

[Bug 55495] ForEach Controller: start index not checked before looping

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55495

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|---                         |DUPLICATE
                 OS|                            |All

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---


*** This bug has been marked as a duplicate of bug 55201 ***

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