Ask a Question

URL with ? not being parsed correctly by soapUI

SOLVED
codehausss
Contributor

URL with ? not being parsed correctly by soapUI

I have problem when setting end point with ? and add method

 

i.e

 

endpoint: https://mydomain.test/index.asp?/api/v1
resource: get_condition
template: 1

 

when i run, SoapUI convert to wrong url

GET https://mydomain.test/index.asp/get_condition/1?/api/v1 HTTP/1.1

 

I don't understand why soapUI put ?/api/v1 after resource and template?

 

 

I need soapUI to use

GET https://mydomain.test/index.asp?/api/v1/get_condition/1 HTTP/1.1
1 REPLY 1
PaulMS
Super Contributor

The ? mark is normally used for a query parameter which is appended to the path of the URL,

 https://www.soapui.org/rest-testing/understanding-rest-parameters.html#1-3-QUERY-Parameters

 

Adding index.asp?/api/v1 as a resource path (and delete query parameter if automatically created) could be a workaround.

 

endpoint: https://mydomain.test
resource: index.asp?/api/v1 child resource: get_condition template: 1

 

cancel
Showing results for 
Search instead for 
Did you mean: