I'm using Postman automate an API with Newman.But the response body of the API call is not showing in the newman.
var body = JSON.parse(responseBody);
tests["Response Body ", body] = true;
I have tried the above code,but even after successful API call the response is not printing in the "Test results" tab.
the output of above is showing as,
PASS [object Object]
Any suggestions to print the API response will be of great help.
Thanks in advance!