JSON-reporter does not register pm.sendRequest with Postman CLI, while Newman CLI does

Hi there,

I have been trying to switch to the Postman CLI recently, because of the outdated packages etc. etc. Now I do really need to keep the JSON-reporter from Newman for my own dashboarding purposes. Previously with the report from Newman I got responses from both the original request and the request from the post-response script (pm.sendRequest method). It would be really nice to have both responses in the JSON for debugging purposes, is that still something that will be added?

  • Newman report via Newman CLI: newman run my-collection.json -r json --reporter-json-path my-output.json
  • Newman report via Postman CLI: postman collection run -r json --reporter-json-export my-output.json --reporter-json-structure newman
1 Like

Hey @twoafas :waving_hand:

Thanks for flagging those differences.

I’ve raised this issue with the Postman CLI team to investigate further - I will come back and share any new information once I have it. :folded_hands:

1 Like