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

             Bug #: 52618
           Summary: The first CSV Data Set config returns <EOF> for first
                    iteration when called by Module Controller
           Product: JMeter
           Version: 2.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Environment:
-Jmeter 2.6
-Windows XP SP3

I have the following setup in a jmeter script (simplified):

+Thread Group

  +Simple Controller 1 <DEACTIVATED>
    -HTTP Request HTTPClient (fed by the CSV data)

  +WHILE Controller 1(Condition= if <EOF> isn't reached) <DEACTIVATED>
    -CSV Data Set Config (using csv1)
    -Module Controller calling: Simple Controller 1

  +WHILE Controller 2(Condition= if <EOF> isn't reached) <DEACTIVATED>
    -CSV Data Set Config (using csv2)
    -Module Controller calling: Simple Controller 1

  +WHILE Controller 3(Condition= if <EOF> isn't reached) <DEACTIVATED>
    -CSV Data Set Config (using csv3)
    -Module Controller calling: Simple Controller 1

  +IF Controller 1
    +Transaction Controller 1
      -Module Controller calling: WHILE Controller 1

  +IF Controller 2
    +Transaction Controller 2
      -Module Controller calling: WHILE Controller 2
.
.
.

When running this script and the condition of the "IF Controller 1" is met the
"WHILE Controller 1" is never entered as the first Dataset the CSV Data Set
Config returns is "<EOF>".
If condition of "IF Controller 2" is met the while loop is executed as normal.

Additional information:
-this script is created with jmeter version 2.1 and then updated to 2.2 updated
to to 2.4 and now to 2.6

Reproducibility:
-this isn't reproducible with the previous versions
-when building a script with 2.6 from the scratch using this modular approach
it is also not reproducible
-we use many scripts using this approach and all show the same behaviour. The
first CSV Data Set Config if called by Module Controllers always returns
"<EOF>" as first data
-we also tried and created a script using the same csv data and while
controllers but not using module controller. Here the Bug was also not
reproducible 

So our assumption is that it is related to module controllers calling the csv
data set config

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to