Re: Read CSV parameter in control loop instead of threadGroup

2013-07-02 Thread Deepak Shetty
If thats the case then you need the last line in your CSV to be an item that you stop on (and which cannot conflict with the regular data) e.g. and you change the IF controller to check for this word "${itemId}" != "" (and recycle=true) On Tue, Jul 2, 2013 at 2:17 AM, ankush upadhyay wrote: > H

Re: Read CSV parameter in control loop instead of threadGroup

2013-07-02 Thread ankush upadhyay
Hello Deepak, Recycle on EOF = true because I want to read this csv from the beginning multiple times means the while controller is in another loop controller which is iterating with some count but it is not dependent on csv rows. Now when I make it false then it is reading rows perfectly but for

Re: Read CSV parameter in control loop instead of threadGroup

2013-07-01 Thread Deepak Shetty
if you have Recycle on EOF = true then yes the variable never gets the EOF value and so you cannot use this condition to terminate ...if you want the loop to stop when the CSV is processed then you either change or change the way you determine when to stop On Mon, Jul 1, 2013 at 10:32 AM, ankush

Re: Read CSV parameter in control loop instead of threadGroup

2013-07-01 Thread ankush upadhyay
Here is my configuration: while controller: -- CSV Data Set Config File name: Item.csv ( this is on same folder where my script reside) Variable names: ${__javaScript("${itemId}"!="")} Recycle on EOF: true Stop thread on EOF: true -- http request sampler I need the new item value ea

Re: Read CSV parameter in control loop instead of threadGroup

2013-07-01 Thread Deepak Shetty
you either have a syntax error (check jmeter.log) or your CSV data set config is wrong (you have set it to recycle at EOF.. On Mon, Jul 1, 2013 at 3:20 AM, ankush upadhyay wrote: > ${__javaScript("${itemId}"!="")} condition reaching to infinite > loop. > > > On Sat, Jun 29, 2013 at 8:35 PM, De

Re: Read CSV parameter in control loop instead of threadGroup

2013-07-01 Thread ankush upadhyay
${__javaScript("${itemId}"!="")} condition reaching to infinite loop. On Sat, Jun 29, 2013 at 8:35 PM, Deepak Shetty wrote: > then likely you havent configured your CSV data set correctly - did you > check jmeter.log? (Also Im assuming you used the correct syntax .. > ${__javaScript("${itemId

Re: Read CSV parameter in control loop instead of threadGroup

2013-07-01 Thread ankush upadhyay
Also adding CSV Data Set Config outside the while loop for csv parameter name. Thanks Deepak for your great help. On Mon, Jul 1, 2013 at 1:12 PM, ankush upadhyay wrote: > After adding User parameter inside while loop for reading csv, its working > fine for me. > > > On Sat, Jun 29, 2013 at 8:35

Re: Read CSV parameter in control loop instead of threadGroup

2013-07-01 Thread ankush upadhyay
After adding User parameter inside while loop for reading csv, its working fine for me. On Sat, Jun 29, 2013 at 8:35 PM, Deepak Shetty wrote: > then likely you havent configured your CSV data set correctly - did you > check jmeter.log? (Also Im assuming you used the correct syntax .. > ${__java

Re: Read CSV parameter in control loop instead of threadGroup

2013-06-29 Thread Deepak Shetty
then likely you havent configured your CSV data set correctly - did you check jmeter.log? (Also Im assuming you used the correct syntax .. ${__javaScript("${itemId}"!="")} - as well as itemId is case sensitive , it must be defined the same way in the csv data set config On Sat, Jun 29, 2013 at 7

Re: Read CSV parameter in control loop instead of threadGroup

2013-06-29 Thread ankush upadhyay
Yes I have moved it to under while controller Also adding condition: ${itemId}" != "" On Sat, Jun 29, 2013 at 8:02 PM, Deepak Shetty wrote: > Hi > are you sure the CSV data set config is a child of the while controller? > > regards > deepak > > > On Sat, Jun 29, 2013 at 7:28 AM, ankush upadhyay

Re: Read CSV parameter in control loop instead of threadGroup

2013-06-29 Thread Deepak Shetty
Hi are you sure the CSV data set config is a child of the while controller? regards deepak On Sat, Jun 29, 2013 at 7:28 AM, ankush upadhyay wrote: > Thanks for the quick reply Deepak, > > I used the while controller but unfortunately it is still read first value > for each time, means not iter

Re: Read CSV parameter in control loop instead of threadGroup

2013-06-29 Thread ankush upadhyay
Thanks for the quick reply Deepak, I used the while controller but unfortunately it is still read first value for each time, means not iterate with other values. On Sat, Jun 29, 2013 at 6:08 PM, Deepak Shetty wrote: > WhileController ("${someVariableFromCSV}" != "") > +HTTP Sampler > ... > +C

Re: Read CSV parameter in control loop instead of threadGroup

2013-06-29 Thread Deepak Shetty
WhileController ("${someVariableFromCSV}" != "") +HTTP Sampler ... +CSV DataSetConfig (recycle on eof false) On Fri, Jun 28, 2013 at 11:14 PM, ankush upadhyay wrote: > Hello all, > > I am newbie in Jmeter and creating new test case. The scenario is sending > HTTP request for adding some items