Skip to content

Response header related primitives


  • Description: Judge if key in Header of response matches configured key_list

  • Parameters

Parameter Description
key_list String
a list of header keys which are concatenated using |
  • Example

res_header_value_in(key, value_list, case_insensitive)

  • Description: Judge if value of key in response header matches configured patterns

  • Parameters

Parameter Description
key String
header name
value_list String
a list of header values which are concatenated using |
case_insensitive Boolean
case insensitive
  • Example
res_header_value_in("X-Bfe-Debug", "1", true)