jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Different parameter values in request name and the actual request
Date Mon, 07 Sep 2015 10:42:28 GMT
Rather than saving the value in a property (global), save it in a
variable (local to the thread)

On 7 September 2015 at 11:35, Pratapi Hemant Patel
<hemantsonu20@gmail.com> wrote:
> For your second question  *Why is token number used in name of http request
> for **ThreadGroup_VerifyTokenInfo and actual token used in get request are
> not **same.*
>
> Property variables are shared among all threads. So when jmeter reads the
> http request name via __P(accesstoken), before reading the same variable in
> path, some other threads change its value. So u r geeting different value.
>
> U can use parameterized controller with a variable (access-token,
> __P(accesstoken)) and put your http request in it. In the name and path use
> variable ${access-token}
>
> For your first question, I didn't understand :)

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


Mime
View raw message