Is there a configuration that I need to set to get the response data as a json object instead?
The server I’m making the request to is returning the “Content Type” header to “application/json; charset=utf-8”. Is there anything that could change on the server side that would help me get the desired output from the json reporter?
Thanks Danny. The idea in this thread to use a post request script to write the response data out to a file is something I could probably do, although correlating the correct file to a test failure in the newman output would take some thinking about.
Before going down that path, I just wanted to close the loop on the original question. Can anyone confirm that there IS NOT a way to get the response body in JSON format as part of the output from the JSON reporter?
I’m very curious why the JSON reporter output provides a long list of numbers for the “data” element in the response. Is this valuable to anyone? I’d love to hear how this could be interpreted or translated back to a usable format.