You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Newman Version (can be found via newman -v): 5.3.1
OS details (type, version, and architecture): Windows 10
Are you using Newman as a library, or via the CLI? : CLI
Did you encounter this recently, or has this bug always been there: Started testing now
Expected behaviour: Should work as same when We run through Postman
Command / script used to run Newman: newman run [File].json -e [Environment].json
Sample collection, and auxiliary files (minus the sensitive details):
Screenshots (if applicable): attached
Steps to reproduce the problem:
I already have proxy created in environment variable but when I use those proxy in Postman I get same error 403 forbidden
So unchecking those proxy in postman, makes my API scripts work in postman
trying to run the same scripts via newman but it is failing with 403 error, not sure how to run this API test as I can't remove those proxy (needed for other projects)
The text was updated successfully, but these errors were encountered:
I have a request ok in Postman(code 201) with user-agent = PostmanRuntime/7.43.0.
I export it to used with cURL. cURL request is ok to0(code 201) with user-agent = PostmanRuntime/7.43.0.
I remove user-agent in my request and my result now is http 403 error.
Then I want to use newman. So I export collection from Postman.
The user-agent is in json export only if I had manually in Postman Request.
So, I try to use my request with newman and the result is : http 403 error.
So I think that newman not use
{
"key": "User-Agent",
"value": "PostmanRuntime/7.43.0"
} in header json collection
Steps to reproduce the problem:
The text was updated successfully, but these errors were encountered: