id: api-googletextsearchplaces

info:
  name: Google Places Text Search API Test
  author: zzeitlin
  severity: info
  metadata:
    max-request: 1
  tags: token-spray,google,search,places,text

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/place/textsearch/json?query=restaurants+in+Sydney&key={{token}}"

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