WS-Addressing Request Assertion

Applies to ReadyAPI 3.52, last modified on April 18, 2024

The WS-Addressing Request assertion checks whether the last request you have received contains valid WS-Addressing headers.

This assertion is applicable to SOAP virtual services and virtual responses only. The asserted item must be able to receive requests.

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 WS-Addressing 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 WS-Addressing Request assertion or select it manually in the Compliance, Status and Standards category.

Setting up properties

Select the WS-Addressing properties to validate:

ReadyAPI: Configuring the WS-Addresing Request assertion
Component Description
wsa:Action The required action.
wsa:To The destination.
wsa:ReplyTo The reply endpoint.
wsa:MessageID The unique ID of the message.

Add other assertions to validate the WS-Addressing headers and WS-Security:

See Also

Compliance, Status and Standards Assertions
WS-Addressing Response Assertion
WS-Security Assertion

Highlight search results