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