Better.
First of all, stop using such huge regexps, there's no need! Secondly, you
can get each PID individually either by adjusting your regexps to be unique
in each case or by simply using
"id":\s"([^"]+)"
and referring to this regexp's groups (ie. ${myVarName_g1}, ${myVarName_g2},
etc.). This one regexp will match multiple times and, as long as the count
of PIDs is predictable, can be used to do what you want.
-----
http://www.http503.com/
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Regural-expression-is-not-returning-the-values-correctly-tp4997802p4997905.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]