Forum Discussion
Hi!
for this specific case you can set the query parameter to be required in the corresponding REST Method definition - which should result it being sent with an empty value
/Ole
- MFagerlind9 years ago
Staff
Nice! I didn't think about that!
Based on the comments. This is what I did. (For future reference):
But when I did this, the parameter still had the "=" at the end of the GET request:
Hi!
yes - you're right - that's "expected" behaviour :-(
Another alternative to try is to create a HTTP Request TestStep instead of a REST TestStep in your TestCase and simply hardcode the endpoint to contain your query-argument - does that work?
/Ole