id: api-googlegeocode

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

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/geocode/json?latlng=40,30&key={{token}}"

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

# digest: 4b0a00483046022100922afca94fc44826bacdb5ce9fec7d5e5aec69082b79b613ee9f6c5e0da5c4b9022100c3a54d95a4561e1aaf5715044d5ad88ea8b73e067a5fc77131555d049e52552a:922c64590222798bb761d5b6d8e72950
