Ask a Question

REST request with 2 QUERY parameters with same name

JustinM89
Contributor

REST request with 2 QUERY parameters with same name

I have an endpoint that has two QUERY parameters that use the same name like so:

 

/service/?someId=12345678&queryParam=AA&queryParam=ZZ

However, ReadyAPI will not allow me to use the same QUERY parameter name within the same request. Is there anyway to bypass this without manually building the endpoint via Groovy script?

3 REPLIES 3
nmrao
Community Hero

Can you please show the raw request to show how the request is being truncated?


Regards,
Rao.
nmrao
Community Hero

Why is it so to have same parameter for multiple times. Is not it overwrite at server side?


Regards,
Rao.

This endpoint returns a list of fields for each queryParam I give it. So if I send queryParam=AA, my response will contain all of the fields for AA. If I send queryParam=AA&queryParam=ZZ I'll get back the fields for both AA and ZZ

cancel
Showing results for 
Search instead for 
Did you mean: