Hi Johanna,
On closer examination I suggest you use a Counter. Slot it in at the start of your thread
group and use the Reference Name as your userid variable in your requests.
Regards,
David Schulberg
Object Consulting | Senior Consultant
email: david.schulberg@objectconsulting.com.au
----------------------------------------------------------------
consulting | development | training | support
our experience makes the difference
________________________________
From: Johanna Briseno [mailto:briseno.johanna@gmail.com]
Sent: Wed 8/08/2007 12:08 AM
To: JMeter Users List
Subject: Re: How to increase a parameter of request HTTP?
Thanks,
So,
In Test Plan I must create a variable in "User Defined Variable"
Name value
count 1
user_aux count++
and soon in "HTTP Request" I must in my variable change the parameter by
which I defined in the "Test Plan"?
HTTP Request:
Name value
user_id user_aux
That is correct??
thank you very much.
Jo.
2007/8/7, David Schulberg <David.Schulberg@objectconsulting.com.au>:
>
> Hi,
>
> Define a user variable and every time you issue a request you could run
> some JavaScript that increments your user variable. Refer section 19.5.7of User manual.
>
>
> David Schulberg
>
> Object Consulting | Senior Consultant
> email: david.schulberg@objectconsulting.com.au
> ----------------------------------------------------------------
> consulting | development | training | support
> our experience makes the difference
>
> ________________________________
>
> From: Johanna Briseno [mailto:briseno.johanna@gmail.com]
> Sent: Tue 7/08/2007 1:59 AM
> To: jmeter-user@jakarta.apache.org
> Subject: How to increase a parameter of request HTTP?
>
>
>
> hello to all,
>
> I need to know how a parameter can be increased within request HTTP
> (method
> POST).
> Example:
> Name of the parameter: id_user
> value: 1111
>
>
> and the following one must be id_user: 1112
>
> but this I want it to make within request HTTP, Can? How?
>
> I need to send, minimum, data of 500 users the data are in a file xml
> but "id_user" must be "auto-increaseable"
>
>
> Please, help me.
>
> Thanks,
>
>
> Jo
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
|