id: api-googleelevation

info:
  name: Google Elevation API Test
  author: zzeitlin
  severity: info
  metadata:
    max-request: 1
  tags: token-spray,google,elevation

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536,-104.9847034&key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - 'error_message'
        negative: true

# digest: 4a0a004730450221009f5396a00261b675ed343b4cd744f184fcc812c9b69220caf3fe21ca66682df602200ac925f2202cd7816cc209f5b81c2bbb7ea34341699c8d1fbfe53a06922a4e07:922c64590222798bb761d5b6d8e72950
