An assertion in SOAPUI is used to validate the responses and whether the data meets the desired expectation. After you received the response to a request, follow these steps-

  • Create a project and add the Web Services Description Language.
  • Add Test Suite followed by a Test case and a set of Test Steps.
  • Do the request execution.

Once the steps are done, the user can add the assertions-

  • Navigate to the top of log tabs and Click>Add Assertions.
  • Configure them according to the data and type needed.
BY Best Interview Question ON 24 Dec 2021