You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by mourya <dn...@gmail.com> on 2010/04/12 11:00:23 UTC
problem using CSV file
Hi
I created a JMeter script. its a simple login and logout script. i want to
run it for multiple users.
i caretae dthe follwing steps
---->thread group(1,1,1)
--->htt reuest default(servername and port number i gave)
----->user parameters(variables(EMAIL.PWD))
------>csv fle cnfig(file name,variable names[EMAIL,PWD])
remaining http steps.
cs file looks like this
email PWD
dd@g*com xxxxx
dag*com xxxxx
can some body pls tell me how i cna do this for 3 or more users using csv
file.
--
View this message in context: http://old.nabble.com/problem-using-CSV-file-tp28215310p28215310.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: problem using CSV file
Posted by mourya <dn...@gmail.com>.
Hi Carl,
I did all the things u said but no use.can u send me an example how to use
csv file. with JMeter script.it will be very helpful to me.
Thanks,
Naga
Carl Shaulis wrote:
>
> Try using a debug sampler. You will be able to clearly see what data are
> being passed into your login form.
>
> In my experience many times JMeter is not finding the path to your CSV
> file,
> so double check the path. Sometimes I just place the CSV in the bin
> directory to keep the path simple.
>
> Make sure you use ${EMAIL} and ${PWD} in the correct form fields.
>
> Make sure in the CSV file you have the settings Recycle on end of file =
> True and stop thread at the end of file = false.
>
> Good luck
>
>
> On 4/12/10 5:28 AM, "mourya" <dn...@gmail.com> wrote:
>
>>
>> i careated csv file and if i give wrong username and password also login
>> and
>> logout i am able to see on resulte tree..
>>
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/customer/account/loginPost/
>> http://xxxxxx.xxxone.com/customer/account/loginPost/
>> http://xxxxxx.xxxone.com/customer/account/loginPost/
>> http://xxxxxx.xxxone.com/customer/account/logout
>> http://xxxxxx.xxxone.com/customer/account/logout
>> http://xxxxxx.xxxone.com/customer/account/logout
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>>
>>
>> mourya wrote:
>>>
>>> Hi
>>>
>>> I created a JMeter script. its a simple login and logout script. i want
>>> to
>>> run it for multiple users.
>>>
>>> i caretae dthe follwing steps
>>> ---->thread group(1,1,1)
>>> --->htt reuest default(servername and port number i gave)
>>> ----->user parameters(variables(EMAIL.PWD))
>>> ------>csv fle cnfig(file name,variable names[EMAIL,PWD])
>>> remaining http steps.
>>>
>>> cs file looks like this
>>> email PWD
>>> dd@g*com xxxxx
>>> dag*com xxxxx
>>>
>>> can some body pls tell me how i cna do this for 3 or more users using
>>> csv
>>> file.
>>>
>
>
> ---------------------------------------------------------------------
> 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://old.nabble.com/problem-using-CSV-file-tp28215310p28219223.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: problem using CSV file
Posted by mourya <dn...@gmail.com>.
Thanks Carl,
can ou send me any sample program to veryify login and password with or
more users using csv file. it will be more helpful to me.
Plz send me the JMX file.
Thanks,
Naga
Carl Shaulis wrote:
>
> Try using a debug sampler. You will be able to clearly see what data are
> being passed into your login form.
>
> In my experience many times JMeter is not finding the path to your CSV
> file,
> so double check the path. Sometimes I just place the CSV in the bin
> directory to keep the path simple.
>
> Make sure you use ${EMAIL} and ${PWD} in the correct form fields.
>
> Make sure in the CSV file you have the settings Recycle on end of file =
> True and stop thread at the end of file = false.
>
> Good luck
>
>
> On 4/12/10 5:28 AM, "mourya" <dn...@gmail.com> wrote:
>
>>
>> i careated csv file and if i give wrong username and password also login
>> and
>> logout i am able to see on resulte tree..
>>
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/customer/account/loginPost/
>> http://xxxxxx.xxxone.com/customer/account/loginPost/
>> http://xxxxxx.xxxone.com/customer/account/loginPost/
>> http://xxxxxx.xxxone.com/customer/account/logout
>> http://xxxxxx.xxxone.com/customer/account/logout
>> http://xxxxxx.xxxone.com/customer/account/logout
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>> http://xxxxxx.xxxone.com/
>>
>>
>> mourya wrote:
>>>
>>> Hi
>>>
>>> I created a JMeter script. its a simple login and logout script. i want
>>> to
>>> run it for multiple users.
>>>
>>> i caretae dthe follwing steps
>>> ---->thread group(1,1,1)
>>> --->htt reuest default(servername and port number i gave)
>>> ----->user parameters(variables(EMAIL.PWD))
>>> ------>csv fle cnfig(file name,variable names[EMAIL,PWD])
>>> remaining http steps.
>>>
>>> cs file looks like this
>>> email PWD
>>> dd@g*com xxxxx
>>> dag*com xxxxx
>>>
>>> can some body pls tell me how i cna do this for 3 or more users using
>>> csv
>>> file.
>>>
>
>
> ---------------------------------------------------------------------
> 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://old.nabble.com/problem-using-CSV-file-tp28215310p28217057.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: problem using CSV file
Posted by Carl Shaulis <cs...@homeaway.com>.
Try using a debug sampler. You will be able to clearly see what data are
being passed into your login form.
In my experience many times JMeter is not finding the path to your CSV file,
so double check the path. Sometimes I just place the CSV in the bin
directory to keep the path simple.
Make sure you use ${EMAIL} and ${PWD} in the correct form fields.
Make sure in the CSV file you have the settings Recycle on end of file =
True and stop thread at the end of file = false.
Good luck
On 4/12/10 5:28 AM, "mourya" <dn...@gmail.com> wrote:
>
> i careated csv file and if i give wrong username and password also login and
> logout i am able to see on resulte tree..
>
> http://xxxxxx.xxxone.com/
> http://xxxxxx.xxxone.com/
> http://xxxxxx.xxxone.com/
> http://xxxxxx.xxxone.com/customer/account/loginPost/
> http://xxxxxx.xxxone.com/customer/account/loginPost/
> http://xxxxxx.xxxone.com/customer/account/loginPost/
> http://xxxxxx.xxxone.com/customer/account/logout
> http://xxxxxx.xxxone.com/customer/account/logout
> http://xxxxxx.xxxone.com/customer/account/logout
> http://xxxxxx.xxxone.com/
> http://xxxxxx.xxxone.com/
> http://xxxxxx.xxxone.com/
>
>
> mourya wrote:
>>
>> Hi
>>
>> I created a JMeter script. its a simple login and logout script. i want to
>> run it for multiple users.
>>
>> i caretae dthe follwing steps
>> ---->thread group(1,1,1)
>> --->htt reuest default(servername and port number i gave)
>> ----->user parameters(variables(EMAIL.PWD))
>> ------>csv fle cnfig(file name,variable names[EMAIL,PWD])
>> remaining http steps.
>>
>> cs file looks like this
>> email PWD
>> dd@g*com xxxxx
>> dag*com xxxxx
>>
>> can some body pls tell me how i cna do this for 3 or more users using csv
>> file.
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: problem using CSV file
Posted by mourya <dn...@gmail.com>.
i careated csv file and if i give wrong username and password also login and
logout i am able to see on resulte tree..
http://xxxxxx.xxxone.com/
http://xxxxxx.xxxone.com/
http://xxxxxx.xxxone.com/
http://xxxxxx.xxxone.com/customer/account/loginPost/
http://xxxxxx.xxxone.com/customer/account/loginPost/
http://xxxxxx.xxxone.com/customer/account/loginPost/
http://xxxxxx.xxxone.com/customer/account/logout
http://xxxxxx.xxxone.com/customer/account/logout
http://xxxxxx.xxxone.com/customer/account/logout
http://xxxxxx.xxxone.com/
http://xxxxxx.xxxone.com/
http://xxxxxx.xxxone.com/
mourya wrote:
>
> Hi
>
> I created a JMeter script. its a simple login and logout script. i want to
> run it for multiple users.
>
> i caretae dthe follwing steps
> ---->thread group(1,1,1)
> --->htt reuest default(servername and port number i gave)
> ----->user parameters(variables(EMAIL.PWD))
> ------>csv fle cnfig(file name,variable names[EMAIL,PWD])
> remaining http steps.
>
> cs file looks like this
> email PWD
> dd@g*com xxxxx
> dag*com xxxxx
>
> can some body pls tell me how i cna do this for 3 or more users using csv
> file.
>
--
View this message in context: http://old.nabble.com/problem-using-CSV-file-tp28215310p28215975.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