RE: read data from file ( in loop ) and put into Variables

2009-07-20 Thread Bruce
I think you can use function CSVRead like this ${__CSVRead(random.txt,1)}${__CSVRead(random.txt,next)} -Original Message- From: jmeter-user [mailto:michal...@o2.pl] Sent: Thursday, May 28, 2009 2:40 PM To: jmeter-user@jakarta.apache.org Subject: read data from file ( in loop ) and put

read data from file ( in loop ) and put into Variables

2009-05-28 Thread jmeter-user
Hello I need read data from file user.txt ( in loop ) and put into Variables: FILE : http://www.nabble.com/file/p23756075/jmeter2.jpg USER PARAMETRES - what i should change in this section ??? I need read data in one loop from first line , next loop from next line and put into variables

RE: read data from file ( in loop ) and put into Variables

2009-05-28 Thread Suvendu_Mohapatra
I think you can use CSV Data Set Config or user Parameters to accomplish the below task. With Regards, Suvendu -Original Message- From: jmeter-user [mailto:michal...@o2.pl] Sent: Thursday, May 28, 2009 12:10 PM To: jmeter-user@jakarta.apache.org Subject: read data from file ( in loop )

RE: read data from file ( in loop ) and put into Variables

2009-05-28 Thread jmeter-user
Ok , I Set CSV Data Set Config http://www.nabble.com/file/p23756620/cvs_data.jpg FILE : http://www.nabble.com/file/p23756620/cvs_data_file.jpg and Jmeter read only first line a need in first loop read line1 , next loop line2 ... I think you can use CSV Data Set Config or user

RE: read data from file ( in loop ) and put into Variables

2009-05-28 Thread Suvendu_Mohapatra
In filename please use .csv extension Please set the options as follows: Recycle on EOF: False Stop Thread on EOF : True With Regards, Suvendu -Original Message- From: jmeter-user [mailto:michal...@o2.pl] Sent: Thursday, May 28, 2009 1:02 PM To: jmeter-user@jakarta.apache.org Subject:

RE: read data from file ( in loop ) and put into Variables

2009-05-28 Thread jmeter-user
now I have : user.csv Allow quoted data : False Recycle on EOF: False Stop Thread on EOF : True and the same problem reads only first line suvendu wrote: In filename please use .csv extension Please set the options as follows: Recycle on EOF: False Stop Thread on EOF : True

Re: read data from file ( in loop ) and put into Variables

2009-05-28 Thread sebb
Put the CSV Dataset in the loop. On 28/05/2009, jmeter-user michal...@o2.pl wrote: now I have : user.csv Allow quoted data : False Recycle on EOF: False Stop Thread on EOF : True and the same problem reads only first line suvendu wrote: In filename please use .csv

Re: read data from file ( in loop ) and put into Variables

2009-05-28 Thread jmeter-user
here is LOOP http://www.nabble.com/file/p23757403/loop2.jpg http://www.nabble.com/file/p23757403/loop.jpg loop four time , but only first line in user.csv is good sebb-2-2 wrote: Put the CSV Dataset in the loop. On 28/05/2009, jmeter-user michal...@o2.pl wrote: now I have :

Re: read data from file ( in loop ) and put into Variables

2009-05-28 Thread jmeter-user
jmeter-user wrote: here is LOOP http://www.nabble.com/file/p23757403/loop2.jpg http://www.nabble.com/file/p23757403/loop.jpg loop four time , but only first line in user.csv is good USER : http://www.nabble.com/file/p23757430/US.jpg sebb-2-2 wrote: Put the CSV

Re: read data from file ( in loop ) and put into Variables

2009-05-28 Thread jmeter-user
loop http://www.nabble.com/file/p23757480/loop.jpg http://www.nabble.com/file/p23757480/loop2.jpg http://www.nabble.com/file/p23757480/US.jpg On 28/05/2009, jmeter-user michal...@o2.pl wrote: now I have : user.csv Allow quoted data : False Recycle on EOF: False Stop Thread on

RE: read data from file ( in loop ) and put into Variables

2009-05-28 Thread Sirish_Chandra
After seeing your .csv file and the view result tree listener result I think it is reading all the data from your .csv file correctly. As you have only four set of data in your .csv file, that's why you are getting 4 samples in the listener. http://www.nabble.com/file/p23757480/US.jpg

RE: read data from file ( in loop ) and put into Variables

2009-05-28 Thread Suvendu_Mohapatra
But the same procedure is working fine for me With Regards, Suvendu -Original Message- From: jmeter-user [mailto:michal...@o2.pl] Sent: Thursday, May 28, 2009 2:01 PM To: jmeter-user@jakarta.apache.org Subject: Re: read data from file ( in loop ) and put into Variables loop

Re: read data from file ( in loop ) and put into Variables

2009-05-28 Thread Reuben A Christie
CSV Data set config is used for reading input params for each thread(user). so first user gets input param from line1 and second user gets input param from line 2... and so on. in your case i believe you want to use the entire file for one user and then preprocess those variable before doing

Re: read data from file ( in loop ) and put into Variables

2009-05-28 Thread Deepak Shetty
Use CSV Data Set Config http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config regards deepak On Wed, May 27, 2009 at 11:40 PM, jmeter-user michal...@o2.pl wrote: Hello I need read data from file user.txt ( in loop ) and put into Variables: FILE :