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.
Hi all,
Please, I am running into an issue running Newman in Jenkins. I am able to execute my API test on Linux box itself but not on Jenkins. I am getting this error when I try to execute via shell newman: command not found. I also set my environment variables on Jenkins using PATH = /usr/local/bin:$PATH newman -v
I am also getting same error but my Jenkin is in AWS EC2(Linux) , Please help me to resolve this.
In AWS CLI, I have installed node js and newman and could able to run newman commands but when i run same command from Jenkin UI which is present in same AWS EC2, I am getting below error
[Collection_run] $ /bin/sh -xe /tmp/jenkins7542658729538318661.sh + newman -version /tmp/jenkins7542658729538318661.sh: line 2: newman: command not found Build step ‘Execute shell’ marked build as failure Finished: FAILURE