Reputation: 55
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
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
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