Skip to content

StatusCodesCollector

Maciej Laskowski edited this page Oct 26, 2017 · 4 revisions

Status Codes Collector

Status Codes Collector is responsible for collecting status codes returned by resources on the processed page.

Module name: status-codes

Important information

In order to use this modifier it must be declared before the open module in the definition of the test suite XML and proxy must be used.

Parameters

No parameters.

Example Usage
<?xml version="1.0" encoding="UTF-8" ?>
<suite name="test-suite" company="cognifide" project="project">
    <test name="status-codes-test" useProxy="rest">
        <collect>
            ...
            <status-codes />
            ...
        </collect>
        <compare>
            ...
        </compare>
        <urls>
            ...
        </urls>
    </test>
    ...
    <reports>
        ...
    </reports>
</suite>
Clone this wiki locally