I would like to verify that the response of my webservice is a valid xml. I know that it can be simply done for json responses using the following snippet:
pm.response.to.be.json;
What about XML ?
pm.test("The body of the response is a valid XML", function () {
pm.response.to.be.withBody;
pm.response.to.be.xml; // ❓
});