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.
Hello Team,
I have a PFX certificate configured for my API and when I hit it from Postman I am able to view the response but when doing the same from Newman I getting a socket hang-up error.
the script which I have used for Newman is below
newman run testSample.postman_collection.json --ssl-client-cert-list certificate.json
the following was configured as certificate.json
[
{
"name": "localhost certificates",
"matches": [
"https://xxxxxxxxxxx.yyy.xxxxxx.com"
],
"pfx": { "src": "/Users/xxxxxx/Documents/devclient.p12" },
"passphrase": "password"
}
]
Note: For matches, I have given the same values which were entered for the host in the certificate tab of the postman
I have also referred to the link below for assistance but no luck
Kindly let me know if I am missing something over here.