Skip to content

Instantly share code, notes, and snippets.

@infomaven
Last active May 21, 2024 15:32
Show Gist options
  • Select an option

  • Save infomaven/7cadddd75f8986c22017fcbe14db0191 to your computer and use it in GitHub Desktop.

Select an option

Save infomaven/7cadddd75f8986c22017fcbe14db0191 to your computer and use it in GitHub Desktop.
SoapUI OSS - Using Assertions

Using Assertions in SoapUI

Predefined, Canned Assertions

Functional & Security Tests

Location

Both test types use the same assertion editor, but you navigate there different ways.

  • Functional > TestStep Editor > assertion editor
  • Security > TestStep Editor > Add Security Scan > Select TestStep > Configure Parameters > assertion editor

Security and function

Use

  • any regular server response
  • response headers (must be scripted)
  • security scan
  • SLA
  • http status codes
  • SOAP extension, fault status, etc

Load Test

Location

TestCase > Load Test > Load Test Editor > assertion editor

Usage

  • number of errors
  • TPS
  • avg response time

Script Assertions

Please see this file

Tutorials

  • [YouTube Automation Step By Step] , Raghav Pal Assertions using xquery, xpath, jsonpath, compliance & contains assertion types

https://youtu.be/S01IWefBu8o?list=PLhW3qG5bs-L-Bt9T_bnyflQ0Te4VgFhKF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment