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 am trying to run postman/newman docker container in one of my CI pipeline’s shell script-task so that I can send request to a destination.server. I am using a proxy with authentication. I have set proxy in shell environment variable as below:
export HTTPS_PROXY=http://user:password@server:port
Then,
docker run --env HTTPS_PROXY=${HTTPS_PROXY} -v dic:/etc/newman postman/newman run CollectionFile.json
When I run the pipeline i get the following error:
tunneling socket could not be established, statusCode=407
Can anyone give me some idea, am I missing anything while calling container? Or its not possible to user proxy (with authentication) with postman/newman container. Or the configuration is correct but something has to be done in proxy server.
It would be great if I get any suggestion, comments or feedback
.
