ssl-extra-ca-certs not recognized as an option
See original GitHub issue- Newman Version (can be found via
newman -v
): 4.5.7 - OS details (type, version, and architecture): macOS 10.14.6
- Are you using Newman as a library, or via the CLI? CLI
- Did you encounter this recently, or has this bug always been there: recent
- Expected behaviour: Able to specify
--ssl-extra-ca-certs
CLI flag - Command / script used to run Newman:
npx newman run ./test/e2e/newman/postman_collection.json --global-var "baseUrl=https://localhost:3000" --ssl-extra-ca-certs "./config/dev-certs/rootCA.pem"
- Sample collection, and auxiliary files (minus the sensitive details):
{
"info": {
"name": "My Project",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Smoke Test",
"event": [
{
"listen": "test",
"script": {
"id": "993811a6-169b-4d7a-b97b-896aa4f2fbb5",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{baseUrl}}",
"host": [
"{{baseUrl}}"
]
}
},
"response": []
}
]
}
- Screenshots (if applicable): N/A
Steps to reproduce the problem:
- execute command
npx newman run ./test/e2e/newman/postman_collection.json --global-var "baseUrl=https://localhost:3000" --ssl-extra-ca-certs "./config/dev-certs/rootCA.pem"
- receive error
error: unknown option '--ssl-extra-ca-certs'
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
newman/README.md at develop - GitHub
Here, the newman-reporter prefix is not required while specifying the reporter name in the options. $ newman run /path/to/collection.json -r cli ...
Read more >The newman from postmanlabs - GithubHelp
Set the path of the working directory to use while reading files with ... Specify whether or not to force the unicode disable...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ZebraFlesh Added in Newman v4.6.0 🎉
@ZebraFlesh This is getting delayed because of the other items which are scheduled in Newman v4.6.0 release. 😞 For sure this will be released before 25th Feb either as part of Newman v4.6.0 or v4.5.8.
Thanks for sharing the semantic-release link, I will have a look 👍