id: api-googlecustomsearch

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

self-contained: true

http:
  - method: GET
    path:
      - "https://www.googleapis.com/customsearch/v1?cx=017576662512468239146:omuauf_lfve&q=lectures&key={{token}}"

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

# digest: 490a0046304402202faa4b015ec5d418f501970f14c0c74396d2c07128fe3c7c8de2c5f1e7d09104022022e6f7aa7b995e14e7ddef302ef8fb41ca42927d7f3e90b60a079e698b7d9e15:922c64590222798bb761d5b6d8e72950
