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

newman CLI return response context-type as text/html instead of JSOn when used with Basic auth, however when changed to bearer token issued fixed #2953

Open
rvatsastro opened this issue Apr 7, 2022 · 0 comments

Comments

@rvatsastro
Copy link

  1. Newman Version (can be found via newman -v): 5.32
  2. OS details (type, version, and architecture): Mac M1 and CircleCI Linux medium machine
  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: Not sure
  5. Expected behaviour: Should get response context type as JSON with basic auth as well as its working fine with bearer token
  6. Command / script used to run Newman:newman run AIRFLOW_RESTAPI_DEPLOYMENT.postman_collection.json -e environment.json -g globals.json > /Users/rahul/projects/qa-regression/postman_rest/output-report.log
  7. Sample collection, and auxiliary files (minus the sensitive details):
  8. Screenshots (if applicable):

image

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

No branches or pull requests

2 participants