Reputation: 1
Newman calls are getting failed for the postman calls which has a token in the request header. Postman request with Token in the request is giving response with warning for self signed certificates in postman. Here the postman is able to finish the test whereas Newman scripts are erroring(failing) out.
Reports Error: self signed certificate in certificate chain
Roles is full access account undefined
call newman run %CollectionFile% -e %EnvFile% -g %GolbalFile% -r cli, json --folder=Tok2
Upvotes: 0
Views: 1592
Reputation: 19979
call newman run %CollectionFile% -e %EnvFile% -g %GolbalFile% -r cli, json --folder=Tok2 -k
-k, --insecure Disables SSL verification checks and allows self-signed SSL certificates
https://www.npmjs.com/package/newman
pass -k or --insecure flag to disable SSL validation
Upvotes: 1