Applies to ReadyAPI 2.7, last modified on May 14, 2019

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

This assertion works with the HTTP Request test steps.

Availability

In SoapUI: Use this assertion to verify the response HTML content.

Create an assertion

Follow these steps:

SoapUI: 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 HTTP Download Resources assertion or select it manually in the Compliance, Status and Standards category.

Setting up properties

  1. In the HTTP Request editor, select the Download Resources option.

  2. Add the HTTP Download Resources assertion. You do not need to configure the assertion.

    ReadyAPI: The HTTP Download Resources assertion

    Click the image to enlarge it.

  3. Run the request to see if it works. The assertion automatically downloads all resources for the URL you have requested, and fails if any of them are not available.

Add more assertions for HTTP status codes:

See Also

Compliance, Status and Standards Assertions
HTTP Invalid Status Codes Assertion
HTTP Valid Status Codes Assertion

Highlight search results