postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.82k stars 1.15k forks source link

Fix: Convert response entries to JSON in junit reporter #3184

Open p21nc3 opened 8 months ago

p21nc3 commented 8 months ago

Fix #3182

Description:

This PR addresses an issue where the response entries in the junit reporter were being stored as binary data arrays, causing problems when the data was exported as JSON or XML.

Changes:

Issue:

The issue was that the response entries were being stored as binary data arrays in the junit reporter. This caused problems when the data was exported as JSON or XML, as these formats could not correctly represent the binary data.

This fix ensures that the response entries are correctly converted to JSON format before they are exported, preventing any issues with the exported data format.