Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error 403 Using Newman #3215

Open
raag95 opened this issue Mar 27, 2024 · 0 comments
Open

Getting Error 403 Using Newman #3215

raag95 opened this issue Mar 27, 2024 · 0 comments

Comments

@raag95
Copy link

raag95 commented Mar 27, 2024

Hello

Having issue i found this error many times in many forums, but never found and answer my issue looks pretty similar to this issue #430

I have a collection that uses and basic auth, everything works as expected in postman always getting 200 OK, but as I'm using newman, i'm getting error 403, when i'm try tu run the same collection on newman, i got error 403, My team mate already automate with newman but the difference it's that their collections doesn't need a basic auth, but analyzing my .json exported from postman, they said that evething looks correct, on my command and files, So in the issue #430 the author describe the same behaviour as me, but I'm pretty new on postman, so I don't understan what he did with interceptor and what kind of test added to his collection to make it work. I'm not sure is there is another walk around to solve my issue.

Version and environment information:
-->

  1. Newman Version (can be found via newman -v): 6.1.1
  2. OS details (type, version, and architecture): Windows
  3. Are you using Newman as a library, or via the CLI? Newman
  4. Did you encounter this recently, or has this bug always been there: always
  5. Expected behaviour: 200 Ok
  6. Command / script used to run Newman: newman run Provisioning_collection.json -e Provisioning_environment.json -k --verbose
  7. Sample collection, and auxiliary files (minus the sensitive details):
  8. Screenshots (if applicable):

image

Hope somebody can help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant