My postman tests runs well and passes when i run the collection in postman. I've exported and saved my Postman collection.json into a folder, but when running the json file using Newman, all tests fails. some of the errors are:-
- getaddrinfo ENOTFOUND {{baseurl}} at request
- expected { Object (id, _details, ...) } to have property 'code' at assertion:0 in test-script
- Unexpected token u in JSON at position 0 at test-script