id: api-google-place-details

info:
  name: Google Place Details API Test
  author: zzeitlin
  severity: info
  metadata:
    max-request: 1
  tags: token-spray,google,place,details

self-contained: true

http:
  - method: GET
    path:
      - "https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJN1t_tDeuEmsRUsoyG83frY4&fields=name,rating,formatted_phone_number&key={{token}}"

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