I have a test in Postman where I do a post request and need to parse the json response
The response looks like this:
\"aPIProxy\" : [ { \"name\"
You should first parse the response using JSON.parse, then you can iterate on the parsed object like:
JSON.parse
var resObj = JSON.parse(pm.response.text()) for(var i=0; i< resObj.length; i++) { console.log("name: "+ resObj[i].name); }