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: 4a0a00473045022100e41b2a7dc2381e4f82eeb89a1a1ea7d6f3ab1f1551dd1741f918b43e275f82ca02207832d323da346a71f2ce96120d320c8fa03d15192119e0e0465982b3373e9daf:922c64590222798bb761d5b6d8e72950