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 a Postman collection + environment variables file that gets run via Newman 4.1.0. I have a variable in the environment variables files called domain. In our pipeline, this is executed like newman run "Our Tests.postman_collection.json" "--environment="Our Environment.postman_environment.json" --global-var "domain=$DOMAIN" --global-var "glooEnv=$COOKIE" --global-var "apiKey=$API_KEY" --env-var "glooCookie=key=value" --env-var "domain=https://some-url.com" (where DOMAIN = https://some-url.com). The requests in the collection have as their URL {{domain}}/path/to/resource. However, when Newman runs the tests, I see the URL as http:///path/to/resource. Why is domain getting set to http://? In the environment file, it’s http://localhost:8080, and the value passed in from the command line is https://some-url.com.