with a code sample
http://theworkaholic.blogspot.com/2012/05/json-in-jmeter.html
regards
deepak
On Fri, May 25, 2012 at 9:50 AM, Deepak Shetty wrote:
> Hi
> An alternative to consider is to download a JSON library (json.org) and
> parse the response string using the library and then iterate ove
Hi
An alternative to consider is to download a JSON library (json.org) and
parse the response string using the library and then iterate over it to add
the parameters to the request instead of regex.
regards
deepak
On Fri, May 25, 2012 at 12:43 AM, Felix Frank wrote:
> On 05/25/2012 09:10 AM, ve
the dot character in a regex will produce a hunger expression, try to avoid
it.
use, instead, \d for numbers only pattern -> equipmentPartId":"(\d+?)"
using a negation pattern is a better way to avoid the dot ->
productPartName":"([^"]+?)"
2012/5/25 Felix Frank
> On 05/25/2012 09:10 AM, venkat
On 05/25/2012 09:10 AM, venkatakurathi wrote:
> add debug sampler to the transaction & run the script.
> look into the response of debug sampler ,u can find the multiple values
> extracted by your expression in name value format.
> it gives you a better undertsanding to how to proceed further.
Rig
sage in context:
http://jmeter.512774.n5.nabble.com/Require-help-in-Regular-Expression-tp5713320p5713342.html
Sent from the JMeter - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache
ble to do with regular expression or is there any other way out??
Thanks
On Thu, May 24, 2012 at 10:15 PM, venkatakurathi <
venkat.akura...@hotmail.com> wrote:
>
> equipmentPartId":(.+?),"
> will give you 542024
>
> productPartName":"(.+?)",
> will gi
equipmentPartId":(.+?),"
will give you 542024
productPartName":"(.+?)",
will give you UC560-T1E1-K9
-
Venkat Akurathi
91-9703186688
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Require-help-in-Regular-Expression-tp5713320p5713321.html
Se