Mason
15 years agoFrequent Contributor
Parameterizing REST URI
Does soapUI support REST URIs that are generated after an HTTP Post via XML?
The system I am working with requires an authenticated POST of XML type where XML is passed in with certain parameters. If there is a result set from the search parameters, the system generates a URI and passes this back in the response.
For example:
This URI has a limited lifetime and only lasts for 8 hours and then is removed from the system's database.
Is it possible to transfer this URI from the HTTP response into a REST request? Can the Resource/Method be parameterized?
The system I am working with requires an authenticated POST of XML type where XML is passed in with certain parameters. If there is a result set from the search parameters, the system generates a URI and passes this back in the response.
For example:
<ns2:PetsResults xmlns:ns2="http://pets-search.com/api/1.0">
<Uri>http://pets-search.com/api/v1/pets/searchResults/8a5ec8142b356e5a012b360e81a903eb</Uri>
</ns2:PetsResults>
This URI has a limited lifetime and only lasts for 8 hours and then is removed from the system's database.
Is it possible to transfer this URI from the HTTP response into a REST request? Can the Resource/Method be parameterized?