jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toni Menendez Lopez <tonime...@gmail.com>
Subject Re: generate variable from file
Date Tue, 25 Oct 2011 10:43:10 GMT
The thing is that I want to execute a loop in the same thread with all
values inside this file ( same as if I have done a regex ), with "CSV Data
Set Config" the varaible it is not modified until I restart a new thread.

This is my scenario

-ThreadGroup
-While not end of file
-- request with url inside the file

I tried "CSV Data Set Config" and all requests inside the WHILE are the
same, and only modifyied when the next thread is restarted.

Toni.

2011/10/25 sebb <sebbaz@gmail.com>

> On 25 October 2011 10:55, Toni Menendez Lopez <tonimenen@gmail.com> wrote:
> > Hello all,
> >
> > I send this just to know if someone has done something similar to the
> next,
> >
> > I have 3  files with 20 inputs, and these inputs are used in my jmeter
> > Scenario, and in order to avoid I/O with high Load I want to save all
> input
> > in a variable in memory to use later in a foreach.
>
> Are you sure you need to load the files into memory?
> Have you tried using CSV Data Set Config?
>
> > Do you know how to generate a on memory variable based in a File (
> similar
> > to variables generated with regex extractors ? )
>
> The function
>
> http://jakarta.apache.org/jmeter/usermanual/functions.html#__CSVRead
>
> reads the file into memory.
> > Thanks,
> >
> > Toni.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message