Compliance Assertions

Compliance assertions deal with validating the service definition and message structure. Use them to check various aspects of SOAP operations, HTTP methods, WSDL and WADL definitions, and Web Service standards.

HTTP Assertions

go.gifHTTP Download Resources

The HTTP Download Resources assertion checks whether all resources (images, scripts, CSS, and so on) the HTML document refers to are available and downloadable.

go.gifHTTP Valid Status Codes (Deprecated)

The Valid HTTP Status Codes assertion checks whether the target test step received the HTTP result with a status which is on the list of defined codes.

Important

This assertion is deprecated. Use the Smart Assertion instead.

go.gifHTTP Invalid Status Codes (Deprecated)

The Invalid HTTP Status Codes assertion checks whether the target test step received the HTTP result with a status code not on the list of defined codes.

Important

This assertion is deprecated. Use the Smart Assertion instead.

Header Assertions

go.gifHeader Equals Assertion (Deprecated)

The HTTP Header Equals assertion checks whether the header exists in the request or response and has the value you need.

Important

This assertion is deprecated. Use the Smart Assertion instead.

go.gifHeader Exists Assertion (Deprecated)

The HTTP Header Exists assertion checks whether the header with the name you have specified exists in the request or response.

Important

This assertion is deprecated. Use the Smart Assertion instead.

Schema Compliance Assertions

go.gifSchema Compliance Assertion

The Schema Compliance assertion checks whether the last request or response is compliant with the associated WSDL or WADL schema definition.

go.gifJSON Schema Compliance Assertion

The JSON Schema Compliance assertion checks whether the last response is compliant with the associated JSON schema definition.

go.gifSwagger Compliance Assertion

The Swagger Compliance assertion checks whether the last response is compatible with the specified OpenAPI or Swagger specification.

SOAP Assertions

go.gifSOAP Fault Assertion

The SOAP Fault assertion checks whether the last response you have received is a SOAP Fault.

go.gifNot SOAP Fault Assertion

The Not SOAP Fault assertion checks whether the last response you have received is not a SOAP Fault.

go.gifSOAP Request Assertion

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

go.gifSOAP Response Assertion

The SOAP Response assertion checks whether the last response you have received is a valid SOAP response.

WS Assertions

go.gifWS-Addressing Request Assertion

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

go.gifWS-Addressing Response Assertion

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

go.gifWS-Security Status Assertion

The WS-Security Status assertion checks whether the last request or response you have received contains valid WS-Security headers.

See Also

Publication date: