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/11/06 15:09:19 UTC

how can i loop through csv

If I declare a csv data set, how can I loop through the whole file??
What I want is

declare csv data set
while file not empty
{
   call soap service
}

or something something like that

I just want one instance running through the file

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


Re: how can i loop through csv

Posted by sebb <se...@gmail.com>.
On 06/11/2008, Jose Castro <ok...@gmail.com> wrote:
> Thanks , that works.  Now Aparently the system we are using is such a
>  piece of crap that it needs time between each request.  Is there
>  something in jmeter(a sampler or something else) that I can add so
>  that it waits for X amount of second before continuing??
>

Of course - please read the manual, for example:

http://jakarta.apache.org/jmeter/usermanual/test_plan.html#timers
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#timers

>  Thank you
>
>
>  On Thu, Nov 6, 2008 at 2:01 PM, sebb <se...@gmail.com> wrote:
>  > On 06/11/2008, Jose Castro <ok...@gmail.com> wrote:
>  >> If I declare a csv data set, how can I loop through the whole file??
>  >>  What I want is
>  >>
>  >>  declare csv data set
>  >>  while file not empty
>  >>  {
>  >>    call soap service
>  >>  }
>  >>
>  >>  or something something like that
>  >>
>  >>  I just want one instance running through the file
>  >
>  > Thread Group (forever)
>  > + CSV DataSet (stop on eof)
>  > + Sampler.
>  >
>  >>  ---------------------------------------------------------------------
>  >>  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
>
>

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


Re: how can i loop through csv

Posted by Jose Castro <ok...@gmail.com>.
Thanks , that works.  Now Aparently the system we are using is such a
piece of crap that it needs time between each request.  Is there
something in jmeter(a sampler or something else) that I can add so
that it waits for X amount of second before continuing??


Thank you

On Thu, Nov 6, 2008 at 2:01 PM, sebb <se...@gmail.com> wrote:
> On 06/11/2008, Jose Castro <ok...@gmail.com> wrote:
>> If I declare a csv data set, how can I loop through the whole file??
>>  What I want is
>>
>>  declare csv data set
>>  while file not empty
>>  {
>>    call soap service
>>  }
>>
>>  or something something like that
>>
>>  I just want one instance running through the file
>
> Thread Group (forever)
> + CSV DataSet (stop on eof)
> + Sampler.
>
>>  ---------------------------------------------------------------------
>>  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: how can i loop through csv

Posted by sebb <se...@gmail.com>.
On 06/11/2008, Jose Castro <ok...@gmail.com> wrote:
> If I declare a csv data set, how can I loop through the whole file??
>  What I want is
>
>  declare csv data set
>  while file not empty
>  {
>    call soap service
>  }
>
>  or something something like that
>
>  I just want one instance running through the file

Thread Group (forever)
+ CSV DataSet (stop on eof)
+ Sampler.

>  ---------------------------------------------------------------------
>  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