2008/4/24 socio_pal <[EMAIL PROTECTED]>:
>
>  Hi;
>  I have 3 CSV files in my Jmeter bin directory. One of the files have like 16
>  columns with info like Mobile Number, Address, CIty, State.... The other
>  ones just have different mobile numbers. Now I have defined these in the
>  UserParameter as:
>
>  failNum        ${__CSVRead(failure_num.csv,0)}
>  address       ${__CSVRead(failure_num.csv,1)}
>  city            ${__CSVRead(failure_num.csv,2)}
>  state          ${__CSVRead(failure_num.csv,3)}
>  .....
>  .....
>  ....

You need to tell CSVRead to move on to the next row:

last = ${__CSVRead(failure_num.csv,15)}${__CSVRead(failure_num.csv,next)}

>  successNum   ${__CSVRead(success_num.csv,0)}

successNum   ${__CSVRead(success_num.csv,0)}successNum
${__CSVRead(success_num.csv,next)}

>
>  In my SOAP/XML scripts I am using ${failNum}....etc. And I have a
>  threadgroup with LoopCount 20. I was expecting that for each iteration
>  Jmeter should pick up the values from a new row. But its not the case. The
>  values from Row1 of my CSV file is being used for all 20 iterations. How can
>  I let Jmeter know that it needs to increment the row at each iteration.
>
>  The box "Update Once per Iteration" in my User Parameters component is
>  checked.
>
>  Thanks.
>
>  --
>  View this message in context: 
> http://www.nabble.com/__CSVRead-Function-tp16853244p16853244.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to