id: api-googlenearestroads

info:
  name: Google Nearest Roads API Test
  author: zzeitlin
  severity: info
  metadata:
    max-request: 1
  tags: token-spray,google,roads

self-contained: true

http:
  - method: GET
    path:
      - "https://roads.googleapis.com/v1/nearestRoads?points=60.170880,24.942795|60.170879,24.942796|60.170877,24.942796&key={{token}}"

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

# digest: 4a0a0047304502203127fa576151111d2c2add4445c4b6f7c5f656756d4314b179ece8e1c026e6250221009bb7a8cbcb153f12d9d5db50ce459a0339f55ba246b0189f92293ca71ab59e5f:922c64590222798bb761d5b6d8e72950
