id: api-iterable

info:
  name: Iterable API Test
  author: zzeitlin
  severity: info
  reference:
    - https://api.iterable.com/api/docs
  metadata:
    max-request: 1
  tags: token-spray,iterable

self-contained: true

http:
  - method: GET
    path:
      - "https://api.iterable.com/api/catalogs"

    headers:
      Api_Key: "{{token}}"
    matchers:
      - type: word
        part: body
        words:
          - '"name":'
          - '"catalogNames":'
        condition: and
# digest: 4b0a0048304602210098da68109f6193aaa56e3cb4735e48d134bd4696b9ee0731d7609a6c98970d55022100b317ca625c8c7f9275432ccfa61d2828efbac0c4e153d5af314ea34d16a5463c:922c64590222798bb761d5b6d8e72950