How I can do a test to response XML variable?

I’m testing an XML response, where they change tags based on the response data and I can’t find a way.

This isn’t a lot to go on.

Please post an example response (redacted as appropriate).

Please use the preformatted text option in this editor to ensure the XML doesn’t all get aligned to the left.

Finally, once you have provided the example, can you please go into more detail about what you want to assert.

It shouldn’t matter if the tags change. You should be crafting your requests using known test data that return the same response\tags every time. You should have multiple requests to test the various tags if the tags are important.

XML is a bit more difficult to target the elements over a JSON response. Hence the request for the example. Fingers crossed that its well defined XML.