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