question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

newman adds an equals "=" character to a query parameter that has no value

See original GitHub issue

Configuring a URL of the following form in a postman collection (tested with 5.5.0 and 5.6.0-canary01): https://www.google.com?equals will result in newman making the request with an added equals “=” character: GET https://www.google.com?equals=

In my use case, we have several endpoints which will fail with this added equals character.

  1. Newman Version (can be found via newman -v): 3.9.3
  2. OS details (type, version, and architecture): OSX 10.12.6
  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: Only tested with this version
  5. Expected behaviour: Expect to make the call without the added “=” character
  6. Command / script used to run Newman: newman run Basic-Equals-Repro.postman_collection.json -r cli,json --reporter-json-export equals-sign-report.json
  7. Sample collection, and auxiliary files (minus the sensitive details): EqualsTest.zip

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
betson-nuovocommented, Jan 29, 2018

@kunagpal sample collection already attached to the initial post

0reactions
kunagpalcommented, Jun 21, 2018

@shadone Which Newman version are you on?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to handle URL with special characters present in ...
Right click a piece of selected text, and select “EncodeURIComponent” to manually encode the parameter value.”.
Read more >
Query string parameters with "=" in the value
I'm trying to track the value of a query string parameter (in Adobe Analytics). It should be pretty simple, but the variable I've...
Read more >
Request Parameters in Postman - Tools QA
Request parameters follow "Key=Value" data format. In our example "q" is the Key and "ToolsQA" is the value. The server reads the Request...
Read more >
Query parameter targeting - Optimize Resource Hub
Equals / does not equal. Every character in your query parameter, from beginning to end, must be an exact match of the entered...
Read more >
RFC 7519: JSON Web Token (JWT)
The claims in a JWT are encoded as a JSON object that is used as the ... after any JSON values or structural...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found