0
votes

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

2
Can you double check your request - Vikas Madhusudana
Where is you request? Where are you passing the group id? Check this video tutorial to check passing parameters between requests. - rahul.tripathi

2 Answers

1
votes

If you're trying to build a composite variable like:

  • you have ${A} variable with the value of foo
  • you have ${B} variable with the value of bar
  • you need to build ${AB} variable

This 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

0
votes

Thank you ppl. Moving the Json Path PostProcessor inside the http sampler request solved the issue.