error fixes
parent
0eec0ff2b4
commit
d188c71e97
|
@ -20,5 +20,4 @@ requests:
|
||||||
part: body
|
part: body
|
||||||
words:
|
words:
|
||||||
- 'error_message'
|
- 'error_message'
|
||||||
negative: true
|
negative: true
|
||||||
|
|
|
@ -9,17 +9,19 @@ info:
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
- method: GET
|
- method: GET
|
||||||
|
|
||||||
payloads:
|
payloads:
|
||||||
token: token.txt
|
token: token.txt
|
||||||
|
|
||||||
path:
|
path:
|
||||||
- "https://registry.npmjs.org/-/whoami"
|
- "https://registry.npmjs.org/-/whoami"
|
||||||
redirects: false
|
|
||||||
headers:
|
headers:
|
||||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
|
||||||
Authorization: Bearer {{token}}
|
Authorization: Bearer {{token}}
|
||||||
|
|
||||||
matchers:
|
matchers:
|
||||||
- type: status
|
- type: status
|
||||||
status:
|
status:
|
||||||
- 401
|
- 401
|
||||||
- 403
|
- 403
|
||||||
negative: true
|
negative: true
|
||||||
|
|
|
@ -23,5 +23,4 @@ requests:
|
||||||
- type: status
|
- type: status
|
||||||
status:
|
status:
|
||||||
- 403
|
- 403
|
||||||
negative: true
|
negative: true
|
||||||
|
|
|
@ -3,7 +3,7 @@ id: api-twitter
|
||||||
info:
|
info:
|
||||||
name: Twitter API Test
|
name: Twitter API Test
|
||||||
author: zzeitlin
|
author: zzeitlin
|
||||||
refernce: https://developer.twitter.com/en/docs/twitter-api/api-reference-index
|
reference: https://developer.twitter.com/en/docs/twitter-api/api-reference-index
|
||||||
severity: info
|
severity: info
|
||||||
tags: api,twitter
|
tags: api,twitter
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue