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 upadhyay
<ankush.upadh...@gmail.com>wrote:

> 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}"!="<EOF>")}
> Recycle on EOF: true
> Stop thread on EOF: true
>
> -- http request sampler
>
>            I need the new item value each time from csv and also end after
> last item.
>
>
>
> On Mon, Jul 1, 2013 at 10:29 PM, Deepak Shetty <shet...@gmail.com> wrote:
>
> > 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
> > <ankush.upadh...@gmail.com>wrote:
> >
> > > ${__javaScript("${itemId}"!="<EOF>")}  condition  reaching to infinite
> > > loop.
> > >
> > >
> > > On Sat, Jun 29, 2013 at 8:35 PM, Deepak Shetty <shet...@gmail.com>
> > 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}"!="<EOF>")} - 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:51 AM, ankush upadhyay
> > > > <ankush.upadh...@gmail.com>wrote:
> > > >
> > > > > Yes I have moved it to under while controller
> > > > > Also adding condition: ${itemId}" != "<EOF>"
> > > > >
> > > > >
> > > > > On Sat, Jun 29, 2013 at 8:02 PM, Deepak Shetty <shet...@gmail.com>
> > > > 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
> > > > > > <ankush.upadh...@gmail.com>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 iterate with other values.
> > > > > > >
> > > > > > >
> > > > > > > On Sat, Jun 29, 2013 at 6:08 PM, Deepak Shetty <
> > shet...@gmail.com>
> > > > > > wrote:
> > > > > > >
> > > > > > > > WhileController ("${someVariableFromCSV}" != "<EOF>")
> > > > > > > > +HTTP Sampler
> > > > > > > > ...
> > > > > > > > +CSV DataSetConfig (recycle on eof false)
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Fri, Jun 28, 2013 at 11:14 PM, ankush upadhyay <
> > > > > > > > ankush.upadh...@gmail.com
> > > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Hello all,
> > > > > > > > >
> > > > > > > > > I am newbie in Jmeter and creating new test case. The
> > scenario
> > > is
> > > > > > > sending
> > > > > > > > > HTTP request for adding some items in cart. Here I want to
> > > > > > > > > read items from CSV so that user can easily change or
> modify
> > > > items
> > > > > > from
> > > > > > > > > file instead of from jmeter script. It is working in
> > > ThreadGroup
> > > > > > level
> > > > > > > > but
> > > > > > > > > not inside loop.
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > Regards
> > > > > > > > > @Ankush Upadhyay@
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ------
> > > > > > > Regards
> > > > > > > @Ankush Upadhyay@
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ------
> > > > > Regards
> > > > > @Ankush Upadhyay@
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > ------
> > > Regards
> > > @Ankush Upadhyay@
> > >
> >
>
>
>
> --
> ------
> Regards
> @Ankush Upadhyay@
>

Reply via email to