Assertions in SoapUI
We can add assertions in SoapUI as shown in below image.
There are 7 types of assertions that we can add
- Property content – In this type of assertion, we can check if the response contains specific word or specific xpath match is available in response. We can also use regular expressions.
- Compliance, Status and Standards – In this type of assertions, we can check if the response contains invalid HTTP code, SOAP fault. We can check if the response is complaint with WSDL schema definition.
- Script – This allows you to add groovy assertions