You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by jmeter-user <mi...@o2.pl> on 2009/05/28 08:40:13 UTC

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

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 

First line : 48668375729
Next line : 12312312331
....

http://www.nabble.com/file/p23756075/jmeter1.jpg 
-- 
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756075.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

Posted by Deepak Shetty <sh...@gmail.com>.
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 <mi...@o2.pl> wrote:

>
> 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
>
> First line : 48668375729
> Next line : 12312312331
> ....
>
> http://www.nabble.com/file/p23756075/jmeter1.jpg
> --
> View this message in context:
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756075.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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

Posted by jmeter-user <mi...@o2.pl>.


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 Dataset in the loop.
>> 
>> On 28/05/2009, jmeter-user <mi...@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 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:michalm24@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
>>>  >
>>>  >
>>>  > 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 Parameters" to
>>>  > accomplish
>>>  > the below task.
>>>  >
>>>  > With Regards,
>>>  > Suvendu
>>>  >
>>>  > -----Original Message-----
>>>  > From: jmeter-user [mailto:michalm24@o2.pl]
>>>  > Sent: Thursday, May 28, 2009 12:10 PM
>>>  > To: jmeter-user@jakarta.apache.org
>>>  > Subject: read data from file ( in loop ) and put into Variables
>>>  >
>>>  > --
>>>  > View this message in context:
>>>  >
>>> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
>>>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>>>  >
>>>  >
>>>  > ---------------------------------------------------------------------
>>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>  >
>>>  >
>>>  >
>>>  > DISCLAIMER:
>>>  > This email (including any attachments) is intended for the sole use
>>> of the
>>>  > intended recipient/s and may contain material that is CONFIDENTIAL
>>> AND
>>>  > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
>>> copying
>>>  > or distribution or forwarding of any or all of the contents in this
>>>  > message is STRICTLY PROHIBITED. If you are not the intended
>>> recipient,
>>>  > please contact the sender by email and delete all copies; your
>>> cooperation
>>>  > in this regard is appreciated.
>>>  >
>>>  > ---------------------------------------------------------------------
>>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>  >
>>>  >
>>>  >
>>>
>>>
>>> --
>>>  View this message in context:
>>> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
>>>
>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>
>>>  ---------------------------------------------------------------------
>>>  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
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23757430.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

Posted by jmeter-user <mi...@o2.pl>.
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 <mi...@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 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:michalm24@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
>>  >
>>  >
>>  > 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 Parameters" to
>>  > accomplish
>>  > the below task.
>>  >
>>  > With Regards,
>>  > Suvendu
>>  >
>>  > -----Original Message-----
>>  > From: jmeter-user [mailto:michalm24@o2.pl]
>>  > Sent: Thursday, May 28, 2009 12:10 PM
>>  > To: jmeter-user@jakarta.apache.org
>>  > Subject: read data from file ( in loop ) and put into Variables
>>  >
>>  > --
>>  > View this message in context:
>>  >
>> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
>>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>  > DISCLAIMER:
>>  > This email (including any attachments) is intended for the sole use of
>> the
>>  > intended recipient/s and may contain material that is CONFIDENTIAL AND
>>  > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
>> copying
>>  > or distribution or forwarding of any or all of the contents in this
>>  > message is STRICTLY PROHIBITED. If you are not the intended recipient,
>>  > please contact the sender by email and delete all copies; your
>> cooperation
>>  > in this regard is appreciated.
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23757403.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

Posted by Sirish_Chandra <Si...@satyam.com>.
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
http://www.nabble.com/file/p23757480/loop.jpg


Thanks and Regards
Sirish


-----Original Message-----
From: jmeter-user [mailto:michalm24@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

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 <mi...@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 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:michalm24@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
>  >
>  >
>  > 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 Parameters" to
>  > accomplish
>  > the below task.
>  >
>  > With Regards,
>  > Suvendu
>  >
>  > -----Original Message-----
>  > From: jmeter-user [mailto:michalm24@o2.pl]
>  > Sent: Thursday, May 28, 2009 12:10 PM
>  > To: jmeter-user@jakarta.apache.org
>  > Subject: read data from file ( in loop ) and put into Variables
>  >
>  > --
>  > View this message in context:
>  >
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>  > DISCLAIMER:
>  > This email (including any attachments) is intended for the sole use of
> the
>  > intended recipient/s and may contain material that is CONFIDENTIAL AND
>  > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
> copying
>  > or distribution or forwarding of any or all of the contents in this
>  > message is STRICTLY PROHIBITED. If you are not the intended recipient,
>  > please contact the sender by email and delete all copies; your
> cooperation
>  > in this regard is appreciated.
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context:
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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



http://www.nabble.com/file/p23757480/US.jpg
--
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23757480.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

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


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

Posted by Suvendu_Mohapatra <Su...@satyam.com>.
But the same procedure is working fine for me....

With Regards,
Suvendu


-----Original Message-----
From: jmeter-user [mailto:michalm24@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

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 <mi...@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 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:michalm24@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
>  >
>  >
>  > 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 Parameters" to
>  > accomplish
>  > the below task.
>  >
>  > With Regards,
>  > Suvendu
>  >
>  > -----Original Message-----
>  > From: jmeter-user [mailto:michalm24@o2.pl]
>  > Sent: Thursday, May 28, 2009 12:10 PM
>  > To: jmeter-user@jakarta.apache.org
>  > Subject: read data from file ( in loop ) and put into Variables
>  >
>  > --
>  > View this message in context:
>  >
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>  > DISCLAIMER:
>  > This email (including any attachments) is intended for the sole use of
> the
>  > intended recipient/s and may contain material that is CONFIDENTIAL AND
>  > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
> copying
>  > or distribution or forwarding of any or all of the contents in this
>  > message is STRICTLY PROHIBITED. If you are not the intended recipient,
>  > please contact the sender by email and delete all copies; your
> cooperation
>  > in this regard is appreciated.
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context:
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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



http://www.nabble.com/file/p23757480/US.jpg
--
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23757480.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

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


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

Posted by Reuben A Christie <ch...@knewco.com>.
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 any tests.
I suggest, you can still use CSV Data set config if you move all your 
lines (i believe there is only one column in your data file) into one 
line with comma separated values. then all your params for each user 
will get all the input values from each line.
hope this helps


jmeter-user wrote:
> 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 <mi...@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 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:michalm24@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
>>  >
>>  >
>>  > 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 Parameters" to
>>  > accomplish
>>  > the below task.
>>  >
>>  > With Regards,
>>  > Suvendu
>>  >
>>  > -----Original Message-----
>>  > From: jmeter-user [mailto:michalm24@o2.pl]
>>  > Sent: Thursday, May 28, 2009 12:10 PM
>>  > To: jmeter-user@jakarta.apache.org
>>  > Subject: read data from file ( in loop ) and put into Variables
>>  >
>>  > --
>>  > View this message in context:
>>  >
>> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
>>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>  > DISCLAIMER:
>>  > This email (including any attachments) is intended for the sole use of
>> the
>>  > intended recipient/s and may contain material that is CONFIDENTIAL AND
>>  > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
>> copying
>>  > or distribution or forwarding of any or all of the contents in this
>>  > message is STRICTLY PROHIBITED. If you are not the intended recipient,
>>  > please contact the sender by email and delete all copies; your
>> cooperation
>>  > in this regard is appreciated.
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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
>
>
>
> http://www.nabble.com/file/p23757480/US.jpg 
>   

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

Posted by jmeter-user <mi...@o2.pl>.
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 <mi...@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 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:michalm24@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
>  >
>  >
>  > 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 Parameters" to
>  > accomplish
>  > the below task.
>  >
>  > With Regards,
>  > Suvendu
>  >
>  > -----Original Message-----
>  > From: jmeter-user [mailto:michalm24@o2.pl]
>  > Sent: Thursday, May 28, 2009 12:10 PM
>  > To: jmeter-user@jakarta.apache.org
>  > Subject: read data from file ( in loop ) and put into Variables
>  >
>  > --
>  > View this message in context:
>  >
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>  > DISCLAIMER:
>  > This email (including any attachments) is intended for the sole use of
> the
>  > intended recipient/s and may contain material that is CONFIDENTIAL AND
>  > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
> copying
>  > or distribution or forwarding of any or all of the contents in this
>  > message is STRICTLY PROHIBITED. If you are not the intended recipient,
>  > please contact the sender by email and delete all copies; your
> cooperation
>  > in this regard is appreciated.
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context:
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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



http://www.nabble.com/file/p23757480/US.jpg 
-- 
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23757480.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

Posted by sebb <se...@gmail.com>.
Put the CSV Dataset in the loop.

On 28/05/2009, jmeter-user <mi...@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 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:michalm24@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
>  >
>  >
>  > 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 Parameters" to
>  > accomplish
>  > the below task.
>  >
>  > With Regards,
>  > Suvendu
>  >
>  > -----Original Message-----
>  > From: jmeter-user [mailto:michalm24@o2.pl]
>  > Sent: Thursday, May 28, 2009 12:10 PM
>  > To: jmeter-user@jakarta.apache.org
>  > Subject: read data from file ( in loop ) and put into Variables
>  >
>  > --
>  > View this message in context:
>  > http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>  > DISCLAIMER:
>  > This email (including any attachments) is intended for the sole use of the
>  > intended recipient/s and may contain material that is CONFIDENTIAL AND
>  > PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
>  > or distribution or forwarding of any or all of the contents in this
>  > message is STRICTLY PROHIBITED. If you are not the intended recipient,
>  > please contact the sender by email and delete all copies; your cooperation
>  > in this regard is appreciated.
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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: read data from file ( in loop ) and put into Variables

Posted by jmeter-user <mi...@o2.pl>.
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
> 
> With Regards,
> Suvendu
> 
> 
> -----Original Message-----
> From: jmeter-user [mailto:michalm24@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
> 
> 
> 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 Parameters" to
> accomplish
> the below task.
> 
> With Regards,
> Suvendu
> 
> -----Original Message-----
> From: jmeter-user [mailto:michalm24@o2.pl]
> Sent: Thursday, May 28, 2009 12:10 PM
> To: jmeter-user@jakarta.apache.org
> Subject: read data from file ( in loop ) and put into Variables
> 
> --
> View this message in context:
> http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
> or distribution or forwarding of any or all of the contents in this
> message is STRICTLY PROHIBITED. If you are not the intended recipient,
> please contact the sender by email and delete all copies; your cooperation
> in this regard is appreciated.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756922.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

Posted by Suvendu_Mohapatra <Su...@satyam.com>.
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:michalm24@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


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 Parameters" to accomplish
the below task.

With Regards,
Suvendu

-----Original Message-----
From: jmeter-user [mailto:michalm24@o2.pl]
Sent: Thursday, May 28, 2009 12:10 PM
To: jmeter-user@jakarta.apache.org
Subject: read data from file ( in loop ) and put into Variables

--
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

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


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

Posted by jmeter-user <mi...@o2.pl>.
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 Parameters" to accomplish
the below task.

With Regards,
Suvendu

-----Original Message-----
From: jmeter-user [mailto:michalm24@o2.pl]
Sent: Thursday, May 28, 2009 12:10 PM
To: jmeter-user@jakarta.apache.org
Subject: read data from file ( in loop ) and put into Variables

-- 
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756620.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


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

Posted by Suvendu_Mohapatra <Su...@satyam.com>.
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:michalm24@o2.pl]
Sent: Thursday, May 28, 2009 12:10 PM
To: jmeter-user@jakarta.apache.org
Subject: read data from file ( in loop ) and put into Variables


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

First line : 48668375729
Next line : 12312312331
....

http://www.nabble.com/file/p23756075/jmeter1.jpg
--
View this message in context: http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Variables-tp23756075p23756075.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

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


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

Posted by Bruce <ch...@symbio-group.com>.
I think you can use function "CSVRead" like this
${__CSVRead(random.txt,1)}${__CSVRead(random.txt,next)}

-----Original Message-----
From: jmeter-user [mailto:michalm24@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 into Variables


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 

First line : 48668375729
Next line : 12312312331
....

http://www.nabble.com/file/p23756075/jmeter1.jpg 
-- 
View this message in context:
http://www.nabble.com/read-data-from-file-%28-in-loop-%29-and-put-into-Varia
bles-tp23756075p23756075.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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