Reputation: 71
I have 2 http requests that return different json responses. Used the JSON Path PostProcessor to retrieve the values (Value A and Value B) from the 2 json responses. When i tried to pass the values A and B in the request body of another http request, only value B is passed. http://screencast.com/t/Y3e9pZe2om5 http://screencast.com/t/TfUwM2kKqE
Upvotes: 0
Views: 441
Reputation: 71
Thank you ppl. Moving the Json Path PostProcessor inside the http sampler request solved the issue.
Upvotes: 0
Reputation: 168002
If you're trying to build a composite variable like:
${A}
variable with the value of foo
${B}
variable with the value of bar
${AB}
variableThis can be done using __V() function like:
${__V(A${B})}
See Here’s What to Do to Combine Multiple JMeter Variables article for more detailed information
Upvotes: 1