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.
Team
I have postman newman tests scheduled through jenkins. This collection has many end points and tests. If one of the services is failing due to timeout, I would like to fail the test as functional failure. For example, currently if there is a latency issue with one of the end points it fails with the following error. I want this to fail gracefully. Meaning the build can be marked as functional failure after it reaches certain time limit. Where should I specify the timeout in milliseconds?
I was reading the below documentation. If I specify timeout in milli seconds will it be used for all tests in this collection? Is there a way to specify different timeout value for different services?
TypeError: Cannot read property ‘_destroySSL’ of undefined 06:01:41 at Timeout.destroySSL [as _onTimeout] (_tls_wrap.js:546:8) 06:01:41 at listOnTimeout (internal/timers.js:531:17) 06:01:41 at processTimers (internal/timers.js:475:7) 06:01:41 npm ERR! code ELIFECYCLE 06:01:41 npm ERR! errno 1
Thanks, Rjayaram