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