You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by waseemfa <fa...@gmail.com> on 2013/03/13 10:20:18 UTC

Re: How to handle dynamically generated values during run time via Jmeter

As far as i understand the problem, your server generates the uniqueid every
time a user registers.  So the response that generates this id, use a post
processor (either a regex extractor or a xpath extractor) and extract that
value into a variable.  You can then use the value in your subsequent
request just like how you are passing your email and name.

-Waseem



--
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-handle-dynamically-generated-values-during-run-time-via-Jmeter-tp5716340p5716362.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: How to handle dynamically generated values during run time via Jmeter

Posted by waseemfa <fa...@gmail.com>.
So once you extract the value of your id which can be the regex you have
given or you can use this
ci: ([^"]*)"

This will save your value into the variable you have defined "cid"

The place where you have to pass your dynamic value just use the following
{"assessmentId":13435,"candidateInstanceId":${cid},"clientID

-Waseem



--
View this message in context: http://jmeter.512774.n5.nabble.com/How-to-handle-dynamically-generated-values-during-run-time-via-Jmeter-tp5716340p5716394.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