matchResponseCode


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"]}}