jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Stress testing with JMeter - HTTP User Parameter Modifier
Date Thu, 04 Sep 2008 12:35:40 GMT
On 04/09/2008, ashish261080 <ash.abrol@yahoo.com> wrote:
>
>  Thanks Ajay...That did help but for each thread that is run it is picking
>  only the first line of the CSV file. I want that for each new request, new
>  values from CSV should be picked.
>
>
>  My csvdata.txt under the bin folder has the following contents-
>
>
> username1,password1
>  username2,password2
>  username3,password3
>
>  But For each request usernam1 and password1 are being passed as parameters
>

When in doubt, please check the manual:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config

Try changing the sharing mode to all threads (which is the default):

>  Thanks....
>
>
>
>
>
>
>  Mishra, Ajay wrote:
>  >
>  > Hi,
>  >
>  > I think you missed out to define the "Value" field in the HTTP Request
>  > page.
>  > If you have defined the text files with user name and password then in
>  > the value field you have to mention "${username}" and "${password}".
>  >
>  > Ajay
>  >
>  > -----Original Message-----
>  > From: ashish261080 [mailto:ash.abrol@yahoo.com]
>  > Sent: Thursday, September 04, 2008 4:25 PM
>  > To: jmeter-user@jakarta.apache.org
>  > Subject: Re: Stress testing with JMeter - HTTP User Parameter Modifier
>  >
>  >
>  > I tried with the CSV also but of no use.
>  >
>  > I am attaching the screenshots if you could help me figure out the
>  > reason.
>  >
>  > http://www.nabble.com/file/p19307965/CSV%2BData%2Bset%2Bconfig.jpeg
>  > http://www.nabble.com/file/p19307965/ThreadGroup.jpeg
>  > http://www.nabble.com/file/p19307965/results.jpeg
>  >
>  >
>  > Also my csvdata.txt under the bin folder has the following contents-
>  > username,password
>  > username1,password1
>  > username2,password2
>  >
>  > If you see the Results tree screenshot you would find that the request
>  > parameters being passed to the login servlet are empty in the query
>  > string.
>  > I would appreciate if you could let me know where am I going wrong. I
>  > have
>  > researched a lot on the net but all in futile.
>  >
>  > Thanks in advance,
>  > Ashish Abrol
>  >
>  > --
>  > View this message in context:
>  > http://www.nabble.com/Stress-testing-with-JMeter---HTTP-User-Parameter-M
>  > odifier-tp19284107p19307965.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/Stress-testing-with-JMeter---HTTP-User-Parameter-Modifier-tp19284107p19308788.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


Mime
View raw message