Qasvat
14 years agoOccasional Contributor
[Resolved]Assertion for checking entire XML-response message
Hello,
I am currently struggling with automatically checking response messages in soapUI pro 4.0.
What I want to do is check, whether the XML-response caused by a request matches exactly(!) the response message specified. So basically it’s just about comparing 2 XML-messages with each other.
Unfortunately I could not find out yet, how to do this in soapUI.
XPath Match doesn’t work for me, because I don’t want to just compare single nodes, but the entire response message.
So I tried my luck using the “contains”-assertion and just paste the specified content of the message into the content-field.
However, the assertion fails with the error message “missing token...”. I also removed all blanks and tabs from the message, but the problem remains.
Does anyone have an idea how to solve this issue?
I am currently struggling with automatically checking response messages in soapUI pro 4.0.
What I want to do is check, whether the XML-response caused by a request matches exactly(!) the response message specified. So basically it’s just about comparing 2 XML-messages with each other.
Unfortunately I could not find out yet, how to do this in soapUI.
XPath Match doesn’t work for me, because I don’t want to just compare single nodes, but the entire response message.
So I tried my luck using the “contains”-assertion and just paste the specified content of the message into the content-field.
However, the assertion fails with the error message “missing token...”. I also removed all blanks and tabs from the message, but the problem remains.
Does anyone have an idea how to solve this issue?