You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jose Castro <ok...@gmail.com> on 2008/08/07 17:36:09 UTC

Loop through CSV

I have a csv  file
How can I make that each user loop through the whole csv file without
me having to hard code the number of lines in the file?

Thank you

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Loop through CSV

Posted by Jose Castro <ok...@gmail.com>.
Exactly. But  what if I want each thread to read the whole file?
There should a a loop logic for csv data.

On Fri, Aug 8, 2008 at 4:01 AM, Ivan Rodriguez
<iv...@cybercomgroup.com> wrote:
> I don't think I quite understand what you are asking....
>
> With a CVS file you have a set of lines and in each line you have a set of variables.
>
> Each line will be used once per thread.
>
> So making enough threads will use the whole file.
>
> The CVS Data Set Config will do all of this almost by itself.
>
> hope this helps :)
>
> -----Original Message-----
> From: Jose Castro [mailto:okycastro@gmail.com]
> Sent: den 7 augusti 2008 17:36
> To: jmeter-user@jakarta.apache.org
> Subject: Loop through CSV
>
> I have a csv  file
> How can I make that each user loop through the whole csv file without
> me having to hard code the number of lines in the file?
>
> Thank you
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Loop through CSV

Posted by Ivan Rodriguez <iv...@cybercomgroup.com>.
I don't think I quite understand what you are asking....

With a CVS file you have a set of lines and in each line you have a set of variables.

Each line will be used once per thread.

So making enough threads will use the whole file.

The CVS Data Set Config will do all of this almost by itself.

hope this helps :)

-----Original Message-----
From: Jose Castro [mailto:okycastro@gmail.com]
Sent: den 7 augusti 2008 17:36
To: jmeter-user@jakarta.apache.org
Subject: Loop through CSV

I have a csv  file
How can I make that each user loop through the whole csv file without
me having to hard code the number of lines in the file?

Thank you

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org