id: api-googlegeolocation

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

self-contained: true

http:
  - method: GET
    path:
      - "https://www.googleapis.com/geolocation/v1/geolocate?key={{token}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        negative: true
        words:
          - 'error'

      - type: status
        negative: true
        status:
          - 404
# digest: 4a0a004730450221008f010e08d26861a4a2bc17e6da420528271c73c4f91756074db15d51c89b1acf0220792eee53682dca4202f461d3dd132b207dbdc3af03755dddbdc0c3bfad5f1f11:922c64590222798bb761d5b6d8e72950