Skip to Content
Thunder Client is now available for JetBrains IDEs.Install now
TestingArray Testing

Array Testing

Array filter assertions in the Tests tab

Array Filters

  • Arrays can be tested using array filters.
  • The following filter operations are supported: *, =, !=, <=, <, >=, >, *=, ^=, $=.
  • *= filters using contains operation
  • ^= filters using startsWith operation
  • $= filters using endsWith operation
  • To access array items from the end, use a negative index: json.items[-2].id.
Last updated on