Forum Discussion
Is your query parameter name is "$metadata"? Does it contain any value or is it a variable? why do you want to send just parameter without any value?
Yes it is. It does not contain a value, but appending it will return me structure information about whatever API I am calling on this web site I am testing.
- nmrao10 years ago
Champion Level 1
Not sure if parameter name can contain special character, in this case $.- segreat10 years agoOccasional Contributor
It can. I've used other query parameters starting with that character, but those ones had values.
So why is my desired test not possible?
- kondasamy10 years agoRegular Contributor
For framing the below URL,
GET http://example.com?api=testAPI&$metadata
Solution 1:
I guess you should keep 'api' as query parameter and should hit the request as "GET http://example.com?api=testAPI" and later using 'RequestFilter.filterRequest' option, you should append the later part '&$metadata' to the endpoint using Groovy script.
Solution 2:
Pass the value of 'api' query parameter as "testAPI&$metadata"
Main reason is - SoapUI doesn't send a quary parameter which is not having any value set to it. I expect this to be correct behavior. We are just modding the request to satisfy our needs.
Thanks,
Samy