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.
Within my Postman collection I have a lot of variables that are set/get during execution of the requests. For example Customer ID. Each time a customer is created, the Customer ID variable is updated (to a new number) and then a GET is run to return that customers details based on that new Customer ID.
When I export the collection from Postman, it has the latest Customer ID hardcoded in the JSON. Let’s say number 355.
Is Newman “smart enough” to replace that variable with a new one during the cmd-line execution POST of a new customer (number 356), and then use the new value for the GET request that follows? Or is it literally just reading the old/hardcoded values from the JSON file and using those?