You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by shankykurella <sh...@gmail.com> on 2011/11/01 05:55:12 UTC

need help in parameterizing

hi all,

i have parameterized username,and password from a csv file. csv looks as

abc123,password
abc1234,password
i have placed csv file in bin folder... and added a csv data inside http
request

variable names are: a,b
delimier: ,
recycle on eof : true
stop thread on eof : true

and under the http request i have added under send parameters with request i
have added a,b variables as ${a},${b} with some names to those variables

now the problem is while running, jmeter is reading username and password
from the csv file but not proceeding further and stating as invalid username
and password when it suppose to navigate to home page

--
View this message in context: http://jmeter.512774.n5.nabble.com/need-help-in-parameterizing-tp4954284p4954284.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: need help in parameterizing

Posted by shankykurella <sh...@gmail.com>.
hey deepak its solved, when i mentioned the names for user name and password
as ( the input names specified in the code )

but in jmeter help manual, it was mentioned as user name and password could
be anything 

anyhow the problem is solved thanks for the response 

--
View this message in context: http://jmeter.512774.n5.nabble.com/need-help-in-parameterizing-tp4954284p4957159.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Re: need help in parameterizing

Posted by Deepak Shetty <sh...@gmail.com>.
> jmeter is reading username and password from the csv file
Did you verify this? Add a view results tree listener and check the data
being sent or add a debug sampler just before the HTTP Request. if you see
it as ${a} then in all likelihood your file isnt being picked up (and you
should see an error message in jmeter.log) - Note Relative file names are
resolved with respect to the path of the active test plan - not the bin
directory

If the above shows the data correctly and you can login to your site using
the same username / password then compare what the browser sends with with
what jmeter is sending

regards
deepak

On Mon, Oct 31, 2011 at 9:55 PM, shankykurella
<sh...@gmail.com>wrote:

> hi all,
>
> i have parameterized username,and password from a csv file. csv looks as
>
> abc123,password
> abc1234,password
> i have placed csv file in bin folder... and added a csv data inside http
> request
>
> variable names are: a,b
> delimier: ,
> recycle on eof : true
> stop thread on eof : true
>
> and under the http request i have added under send parameters with request
> i
> have added a,b variables as ${a},${b} with some names to those variables
>
> now the problem is while running, jmeter is reading username and password
> from the csv file but not proceeding further and stating as invalid
> username
> and password when it suppose to navigate to home page
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/need-help-in-parameterizing-tp4954284p4954284.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
>
>