Archived topic — this may be out of date.
Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.
Working with an AI coding agent? The Postman plugin lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.
I have created postman collection locally used Test 200 assertion. it’s working as expected. While generating the newman report same request response message error shows
expected object (id _details …) to have property ‘code’
note: I have checked in console and the response value is displaying in console ( came from server). Response details is not captured/displayed in newman report so this following error is displaying " expected { Object (id, _details, …) } to have property ‘code’ "
@danny-dainton - Could you please provide your insight on the above error?
What’s the output from the CLI reporter for the request?
newman run collection.json -r cli
The report is generated based on the same information coming from Newman, there isn’t any manipulation of the data presented in the report. It just happens to be displayed it a more visual way.
Also, in isolation, it’s difficult to know what’s going on as we cannot see the actual request you’re making, the version of Node or the version of Newman that you’re using.
@danny-dainton - Thank you for your response! I could see this error ’ self signed certificate in certificate chain ’ while running the collection from command prompt. so I ran the connection with --insecure command. it is working fine now.