id: api-googletimezone

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

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510&timestamp=1331161200&key={{token}}"

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