postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.86k stars 1.16k forks source link

Newman not processing the request when we have XML or JSON in request body #2990

Open narang3 opened 2 years ago

narang3 commented 2 years ago
  1. Newman Version - 5.3.2
  2. OS details (type, version, and architecture):
  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 if it there for long
  5. Expected behavior: When giving JSON or XML in Request body, the request is processing in postman however its not getting processed on newman
  6. Command / script used to run Newman: newman run
  7. Sample collection, and auxiliary files (minus the sensitive details): Unable to provide the collection
  8. Screenshots (if applicable):
malvikach commented 2 years ago

@narang3 how are you running this collection. Make sure your collection file is updated with the request body before you are running the same (incase you are using the exported collection.json file) If you aree using the json link of the collection, you might have to regenerate the link to see the updated collection.

Also, what is the error message and response code that you see?