Wednesday, July 22, 2020

Soap UI- Assertions

Assertion in SOAP UI

  • Assertion signify stating something or validation roles for test results
  • Used for validation request and response
  • Compares entire message with expected values
  • Can add multiple assertions
  • Provides execution log for failed entry

 Assertions related to property content

  • Contains
  • Not contains
  • Xpath match
  • Xquery match

 Assertions related to compliance, status and standards

  • http download resources
  • invalid http status codes
  • schema compliance
  • soap fault

 Script assertion feature

  • Groovy script to verify the contents
  • allows different operations before and after executing test cases
  • asserts dynamic response content
  • allows crating user defined assertion
  • consist of tear down method

 Assertion related to JMS and JDBC

  • JMS
    • JMS status- request test step to check and validate for executed or not
    • JMS timeout- contain jms endpoint
  • JDBC
    • JDBC status- work with JDBC test steps
    • JDBC timeout- work with JDBC test steps

 


No comments:

Post a Comment