Status code matches
Matches when the HTTP response status code matches provided codes or classes.
This condition inspects the HTTP status code returned in the response to determine if it matches a specified value or category. It returns true if the status code matches the codes or shorthand classes defined in the configuration.
Note:
This web control condition is only available on Response web controls.
Configuration
- Enter status code(s): The values used to evaluate the response status code. This field supports specific codes, shorthand classes, and comma-separated lists.
- Specific codes: Enter the exact three-digit number (e.g.,
200). - Code classes: Use shorthand notation to match an entire range of codes (e.g.,
2xxmatches any 200-level success code). - Multiple entries: Separate multiple values with a comma (e.g.,
200,404,5xx).
- Specific codes: Enter the exact three-digit number (e.g.,
Measurement
The condition extracts the numerical HTTP status code from the response and converts it into a string representation (e.g., 200 becomes "200"). It then evaluates this string against a regular expression pattern generated from your input. The condition returns true only if the status code string matches the pattern.
If the response context is unavailable or missing during evaluation, the condition returns false.
Have questions not answered here?
Contact Support
to get more help.
Last modified on June 3, 2026