SOAP Request Assertion

Applies to ReadyAPI 3.57, last modified on December 20, 2024

The SOAP Request assertion checks whether the last received request is a valid SOAP request.

This assertion is applicable to SOAP virtual services and virtual responses only.

Availability

This assertion is available in multiple ReadyAPI applications. Depending on the application, it validates the following data:

In... Checks... To learn more...
Functional tests The request. See Working With Assertions in Functional Tests.
Virtual services The request. See Assertions in Virtual Services.

Create an assertion

Follow these steps:

Functional test: The Assertions panel

Click the image to enlarge it.

  1. Open a test step.

  2. Click Add assertion.

In the New Assertions dialog, search for the SOAP Request assertion or select it manually in the Compliance, Status and Standards category.

Follow these steps:

Virtual service: The Assertions panel

Click the image to enlarge it.

  1. Open a virtual service.

  2. Open the Assertions drop-down panel.

  3. Click in the Assertions panel

In the New Assertions dialog, search for the SOAP Request assertion or select it manually in the Compliance, Status and Standards category.

Add other assertions to validate the SOAP content:

See Also

Compliance, Status and Standards Assertions
SOAP Fault Assertion
Not SOAP Fault Assertion
SOAP Response Assertion

Highlight search results