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, I am trying to run my Postman collection from Jenkins. I have created a freestyle project and in the Build > Execute Shell - I have given command as below
newman run “https://www.getpostman.com/collections/5876dd3266bdcecd7596”
The Build is failing and I see below console output:
Started by user Admin User
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/Postman
[Postman] $ /bin/sh -xe /tmp/jenkins219625084961727573.sh
+ newman run https://www.getpostman.com/collections/5876dd3266bdcecd7596
newman: required node version >=10
Build step ‘Execute shell’ marked build as failure
Finished: FAILURE
Please help me resolve this problem. OS = Ubuntu 18.04.5 LTS
NOTE: I am able to successfully able to run the collection from command line. And node version is above 10
node -v = 10.2.0 ; npm -v = 5.6.0 ; newman -v = 5.2.0