It is possible to configure Postman to Chain Multiple Requests together in order to "Pass" Values from an earlier response into the Body of another call.
- Configure your collection
- Perform any functions required to be performed on every single call as part of the collection
- Collection Configuration Script
//Demonstrate a function call to confirm that the rospnse is a 200 Response/ Successful response. pm.test("Status code is 200", function () { pm.response.to.have.status(200); }); //All responseses are required to be converted to JSON in Order to be read, and Passed through as values. //This is perfermed on an individual call level, but outputting this as a JSON Response in your developer tools will help identify the correct required variable var responseJson = xml2Json(responseBody); console.log(responseJson);
Related articles
Filter by label
There are no items with the selected labels at this time.