jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zinedine <aspat...@avaya.com>
Subject regex to mach a json
Date Wed, 08 Jun 2011 13:58:54 GMT
Hello,
I need to make a test that needs to get a JSON and then send it in a put
request.
I need to use the regex extractor to get the entire  JSON, but I don't know
what regular expresion to use, because I need to extract only the response
inside the  [] brackets.
example:
retrieved JSON : [{"name":"customer", "id":3, "phone":"555"}]
what I have to send is only {"name":"customer", "id":3, "phone":"555"}.
What regular expresion should I use?


--
View this message in context: http://jmeter.512774.n5.nabble.com/regex-to-mach-a-json-tp4469591p4469591.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Mime
View raw message