Assertions are validations which are used to validate whether the system is working as expected or not.

SoapUI provides you with a variety of assertions, let's have a look at each one of them by category:

  • Property Content: This assertion type is used to validate the parameter data returned in response by the service
    • XPath Match: This assertion is used to match a particular node value in the response with the expected values
    • XQuery Match: When you want to validate multiple sets of values from the response, XQuery Match is used to validate multiple parameters of data in the response in a single assertion

In the preceding example there is an ...

Get Mastering SoapUI now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.