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

          Priority: P2
            Bug ID: 53856
          Assignee: [email protected]
           Summary: While-contoller's seems to check the condition at the
                    end, rather than beginning of the loop
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: NEW
           Version: 2.7
         Component: Main
           Product: JMeter

Created attachment 29358
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29358&action=edit
Illustrating sample

As illustrated by the attached sample, the While-controller may enter the loop
"one last time" even when the specified condition is false.

In my example, the loop goes through a CSV-file with three lines invoking a
Debug Sampler. However, the Debug Sampler is shown in the results tree not
three times, but four -- in the last, fourth, invocation all variables are set
"<EOF>".

The work-around is to put an If-controller inside the loop and hang everything
off of it. This should not be necessary.

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

Reply via email to