question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ssl-extra-ca-certs not recognized as an option

See original GitHub issue
  1. Newman Version (can be found via newman -v): 4.5.7
  2. OS details (type, version, and architecture): macOS 10.14.6
  3. Are you using Newman as a library, or via the CLI? CLI
  4. Did you encounter this recently, or has this bug always been there: recent
  5. Expected behaviour: Able to specify --ssl-extra-ca-certs CLI flag
  6. 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"
  7. 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": []
    }
  ]
}
  1. Screenshots (if applicable): N/A

Steps to reproduce the problem:

  1. 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"
  2. receive error error: unknown option '--ssl-extra-ca-certs'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
codenirvanacommented, Feb 24, 2020

@ZebraFlesh Added in Newman v4.6.0 🎉

0reactions
codenirvanacommented, Feb 20, 2020

@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 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found