Category Archives: Web Services Testing

Assertions in SoapUI

We can add assertions in SoapUI as shown in below image.

Adding assertions in SoapUI
Adding assertions in SoapUI

There are 7 types of assertions that we can add

  1. 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.
  2. 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.
  3. Script – This allows you to add groovy assertions
  4. SLA
  5. JMS
  6. JDBC
  7. Security