id: api-accuweather

info:
  name: AccuWeather API Test
  author: zzeitlin
  severity: info
  reference:
    - https://developer.accuweather.com/apis
  metadata:
    max-request: 1
  tags: token-spray,accuweather

self-contained: true

http:
  - method: GET
    path:
      - "http://api.accuweather.com/locations/v1/search?language=en-US&apikey={{token}}&q=Athens,%20Greece"

    matchers:
      - type: word
        part: body
        words:
          - '"Version"'
          - '"LocalizedName"'
          - '"DataSets"'
        condition: and
# digest: 4a0a00473045022100f6103a8b79fc6b6d5607516f63e55cfcb00b1842b6709dc948ceb7b397fef93f022053f46572c2b10469990522930a16892497b25d6a75448989ed3ae086df248250:922c64590222798bb761d5b6d8e72950