newman adds an equals "=" character to a query parameter that has no value
See original GitHub issueConfiguring 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.
- Newman Version (can be found via
newman -v
): 3.9.3 - OS details (type, version, and architecture): OSX 10.12.6
- Are you using Newman as a library, or via the CLI? CLI
- Did you encounter this recently, or has this bug always been there: Only tested with this version
- Expected behaviour: Expect to make the call without the added “=” character
- Command / script used to run Newman:
newman run Basic-Equals-Repro.postman_collection.json -r cli,json --reporter-json-export equals-sign-report.json
- Sample collection, and auxiliary files (minus the sensitive details): EqualsTest.zip
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:14 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kunagpal sample collection already attached to the initial post
@shadone Which Newman version are you on?