Hello,
From the look of your post it looks like the URL follows a general structure, where only parts of it change. If so I would recommend using TEMPLATE parameters. To do this open the REST Resource and add a new Resource Parameter, name it for instance "searchId" and make sure the Style of it is set to TEMPLATE. Then modify the Resource Path to for example: "api/v1/pets/searchResults/{searchId}". This allows you to parameterize parts of the path. Once this is set up, you can use a Property Transfer step to transfer the correct value from the XML Response to the correct parameter.
If the structure of the URL can't be assumed, then you can either use
Property Expansions for the entire path in the Request, or possibly simpler, use a HTTP Request TestStep where the endpoint uses a Property Expansion. Good luck!
Regards,
Dain
eviware.com