jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duc Chau <>
Subject header line defining the column names is assigned to its own variable when looping CSV Data Set Config
Date Fri, 21 Jan 2011 02:49:10 GMT

I've just found that the header column name defined in csv file will be
assigned to variable as well and this gets problem when looping

For example:

*CSV Data Set Definition* (recylce=TRUE)

*menu* => header as variable
change password

*Test Plan*

Loop Controller (3)
Use CSV Login Credentials
   Loop Controller (3)
   Use CSV Menu
      HTTP Request use ${menu}

*Actual Result*

First Loop of CSV Menu:
${menu} = login
${menu} = change password
${menu} = logout

Second Loop CSV Menu:
${menu} = menu => *problem here*
${menu} = login
${menu} = change password

Expected result should be the same as the first loop.

When I checked user manual and it said that "When the end of file (EOF) is
reached, and the recycle option is true, reading starts again with the first
line of the file". It seems it ignores the advantage of Jmeter 2.3.4 as
"Versions of JMeter after 2.3.4 support CSV files which have a header line
defining the column names. To enable this, leave the "Variable Names" field
empty. The correct delimiter must be provided." when looping.

Please advise whether this problem should be a bug of Jmeter or not. Thank

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message