JgSudhakar
JgSudhakar

Reputation: 55

How to parse Response xml in JMeter and send the result as dynamic parameters to another http request

i'm new to Jmeter . I'm getting the response as xml from the server. Now I need to pass the some of the values which i'm getting in the response to the next http request as post parameters . Please suggest me on this .

Upvotes: 1

Views: 5368

Answers (2)

Dmitri T
Dmitri T

Reputation: 168247

You don't need anything external to deal with XML data in JMeter, it provides built-in XPath Extractor

However you need to learn XPath. Following things may help a lot:

Upvotes: 1

daark
daark

Reputation: 326

If you are using the jmeter extras set this could be what you are looking for [http://jmeter-plugins.org/wiki/InterThreadCommunication/].

Your test plan could look something like this

test plan
| thread group
| | http sampler
| | | Xpath extractor - configure a variable in here then use the ${_fifoPut(x)}
| | http sampler 2 - ${
_fifoPop(x)}

Upvotes: 0

Related Questions