That's by design - CSVRead will always start a new line for each new
thread, but will only start a new line within a thread if the thread
uses next.

Otherwise how would JMeter know if the thread had finished reading
columns from the row?

On 18/10/2007, neetu kulshrestha <[EMAIL PROTECTED]> wrote:
> as per my experience with jmeter. if I use loop then it always takes first
> row but if I use threads then it takes the next value. Don't know if its by
> design or a bug
>
> On 10/4/07, Fulvio Guglielmelli <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >   i have a JAVA REQUEST  class with parameter
> >      a |  ${__CSVRead(try.csv,0)}
> >   whei i run the test, into the java class it always read the first ROW of
> > try.csv file.
> >
> > Into the log i saw jmeter read the next value i don't know how take it to
> > be use.
> >   I tried to use
> >        a |  ${__CSVRead(try.csv,next)}
> >      a |  ${__CSVRead(try.csv,next())}
> >   or into the java class class
> >        params.addArgument("a", "${__CSVRead(try.csv.csv,next())}");
> >
> >   but Jmeter return null value
> >   I can make in  way
> > 1) Using a loop Controller
> > 2) Using a ${__counter(,)}
> >   My problem is: HOW CAN  I PASS THE counter VALUE TO THE JAVA CLASS and
> > use it in CSVRead?
> >
> >   Could you help me?
> > FULVIO
> >
> >
> >
> > ---------------------------------
> >
> > ---------------------------------
> > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
>

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

Reply via email to