GuideReference
TrainingSupportCommunity

match_​response_​code

  • Property Manager name: Response Status Code
  • Criteria version: The v2023-01-05 rule format supports the match_​response_​code criteria v1.2.
  • Rule format status: GA, stable
  • Access: Read-write
  • Allowed in includes: Yes

Match a set or range of HTTP response codes.

OptionTypeDescriptionRequires
match_​operatorenum

Matches numeric range or a specified set of values.

{"displayType":"enum","options":["IS_ONE_OF","IS_NOT_ONE_OF","IS_BETWEEN","IS_NOT_BETWEEN"],"tag":"select"}
IS_​ONE_​OF

Matches the contents of values.

IS_​NOT_​ONE_​OF

Does not match the contents of values.

IS_​BETWEEN

Matches the numeric range between lower_​bound and upper_​bound.

IS_​NOT_​BETWEEN

Does not match the numeric range between lower_​bound and upper_​bound.

valuesstring array

A set of response codes to match, for example ["404","500"].

match_​operator is either: IS_​ONE_​OF, IS_​NOT_​ONE_​OF
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_ONE_OF","IS_NOT_ONE_OF"]}}
lower_​boundnumber

Specifies the start of a range of responses. For example, 400 to match anything from 400 to 500.

match_​operator is either: IS_​BETWEEN, IS_​NOT_​BETWEEN
{"displayType":"number","tag":"input","type":"number"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_BETWEEN","IS_NOT_BETWEEN"]}}
upper_​boundnumber

Specifies the end of a range of responses. For example, 500 to match anything from 400 to 500.

match_​operator is either: IS_​BETWEEN, IS_​NOT_​BETWEEN
{"displayType":"number","tag":"input","type":"number"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_BETWEEN","IS_NOT_BETWEEN"]}}