Post request macro ingesting parameters from current request's JSON response?
I have a scenario where I am trying to take the output from an initial request's response and feed it into a second request. This can be done with traditional PARAM_BODY and PARAM_URL parameters using a macro (pre or post) but how would I go about this when the initial request's response returns JSON (or XML)?
Been working on this and the only way to pull this off seems to be an extension that builds a request and takes the place of one of the two requests.
I'm assuming that the only way to pull the values from any resulting JSON or XML is to use bytesToString and perform a regex search. Is this an incorrect line of thinking? Is there an easier way?
Thanks for this request. We’ve added a ticket to our development backlog to consider adding this feature.