error fixes

patch-1
sandeep 2021-10-01 21:01:12 +05:30
parent 0eec0ff2b4
commit d188c71e97
4 changed files with 7 additions and 7 deletions

View File

@ -20,5 +20,4 @@ requests:
part: body
words:
- 'error_message'
negative: true
negative: true

View File

@ -9,17 +9,19 @@ info:
requests:
- method: GET
payloads:
token: token.txt
path:
- "https://registry.npmjs.org/-/whoami"
redirects: false
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
Authorization: Bearer {{token}}
matchers:
- type: status
status:
status:
- 401
- 403
negative: true

View File

@ -23,5 +23,4 @@ requests:
- type: status
status:
- 403
negative: true
negative: true

View File

@ -3,7 +3,7 @@ id: api-twitter
info:
name: Twitter API Test
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
tags: api,twitter