Assertion means act of affirming or stating something. It can also be interpreted as check point or a validation point.
Once a request is sent to a web server a response is received. We need to validate if the response contains the data that we expect. In order to validate the response, we need to use assertions.
Types of Assertion
There are various ways of asserting a response; however, we will focus on the commonly used Assertions types while validating a response. Below are the ones that are available in Open Source version of SoapUI.
- Property Content
- Compliance Status Standard