id: api-googledirections

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

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood4&key={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - 'error_message'
        negative: true
# digest: 4a0a0047304502202e475824413f655e498ec0b320dd62002b36cca3dbb3bd3243ca61da3d1f9cc1022100a2df92c76f5916916e10c88383920f035194c6a3ce6eacfdb7f38b0ce3c28c4b:922c64590222798bb761d5b6d8e72950