commit
7ec99b94cd
|
@ -2,7 +2,7 @@ id: api-screenshotapi
|
|||
|
||||
info:
|
||||
name: ScreenshotAPI API Test
|
||||
author: daffainfo
|
||||
author: daffainfo,geeknik
|
||||
severity: info
|
||||
description: Create pixel-perfect website screenshots
|
||||
reference:
|
||||
|
@ -16,6 +16,7 @@ requests:
|
|||
path:
|
||||
- "https://shot.screenshotapi.net/screenshot?token={{token}}&url=https://example.com"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
|
@ -23,3 +24,10 @@ requests:
|
|||
- 'screenshot'
|
||||
- 'url'
|
||||
condition: and
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 403
|
||||
- 401
|
||||
- 400
|
||||
negative: true
|
||||
|
|
Loading…
Reference in New Issue