On 25 October 2011 11:43, Toni Menendez Lopez <tonime...@gmail.com> wrote: > 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.
So why mention file I/O as being the problem? That is a completely different matter. > 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. Where did you place the CSV Data Set? You can use the __StringFromFile() function if you don't require the data to be in memory. > Toni. > > 2011/10/25 sebb <seb...@gmail.com> > >> On 25 October 2011 10:55, Toni Menendez Lopez <tonime...@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-unsubscr...@jakarta.apache.org >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org