matchers updated
parent
a229a2e822
commit
6d2214d670
|
@ -19,5 +19,6 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "error"
|
||||
negative: true
|
||||
- '"username":'
|
||||
- '"id":'
|
||||
condition: and
|
|
@ -3,8 +3,8 @@ id: api-apigee-edge
|
|||
info:
|
||||
name: Apigee Edge API Test
|
||||
author: dwisiswant0
|
||||
reference: https://apidocs.apigee.com/apis
|
||||
severity: info
|
||||
reference: https://apidocs.apigee.com/apis
|
||||
tags: token-spray,apigee
|
||||
|
||||
self-contained: true
|
||||
|
@ -24,5 +24,6 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "fault"
|
||||
negative: true
|
||||
- '"uuid":'
|
||||
- '"name":'
|
||||
condition: and
|
|
@ -20,5 +20,6 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "Authorization required"
|
||||
negative: true
|
||||
- '"roleId":'
|
||||
- '"created":'
|
||||
condition: and
|
|
@ -16,7 +16,10 @@ requests:
|
|||
Authorization: Bearer {{token}}
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
negative: true
|
||||
status:
|
||||
- 401
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'data:'
|
||||
- 'email'
|
||||
- 'name'
|
||||
condition: and
|
|
@ -19,7 +19,7 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "Invalid API-key"
|
||||
- "key format invalid"
|
||||
condition: or
|
||||
negative: true
|
||||
- '"id":'
|
||||
- '"price":'
|
||||
- '"quoteQty":'
|
||||
condition: and
|
|
@ -16,6 +16,7 @@ requests:
|
|||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
negative: true
|
||||
words:
|
||||
- 'INVALID_ARG_ACCESS_TOKEN'
|
||||
- '"long_url":'
|
||||
- '"created_at":'
|
||||
condition: and
|
|
@ -16,7 +16,10 @@ requests:
|
|||
Authorization: Bearer {{token}}
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 401
|
||||
negative: true
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"id":'
|
||||
- '"graphql_id":'
|
||||
- '"email":'
|
||||
condition: and
|
|
@ -14,7 +14,10 @@ requests:
|
|||
- "https://api.buttercms.com/v2/posts/?auth_token={{token}}"
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 401
|
||||
negative: true
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"meta":'
|
||||
- '"data":'
|
||||
- '"url":'
|
||||
condition: and
|
|
@ -16,6 +16,10 @@ requests:
|
|||
X-Token: "{{token}}"
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"data":'
|
||||
- '"id":'
|
||||
- '"email":'
|
||||
condition: and
|
|
@ -14,6 +14,9 @@ requests:
|
|||
- "https://circleci.com/api/v1.1/me?circle-token={{token}}"
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"admin"'
|
||||
- '"login"'
|
||||
condition: and
|
|
@ -14,6 +14,10 @@ requests:
|
|||
- "https://api.collection.cooperhewitt.org/rest/?method=api.spec.formats&access_token={{token}}"
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"stat":'
|
||||
- '"formats":'
|
||||
- '"default_format":'
|
||||
condition: and
|
||||
|
|
|
@ -3,8 +3,8 @@ id: api-deviantart
|
|||
info:
|
||||
name: DeviantArt API Test
|
||||
author: zzeitlin
|
||||
reference: https://www.deviantart.com/developers/authentication
|
||||
severity: info
|
||||
reference: https://www.deviantart.com/developers/authentication
|
||||
tags: token-spray,deviantart
|
||||
|
||||
self-contained: true
|
||||
|
@ -18,5 +18,4 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"status":"error"'
|
||||
negative: true
|
||||
- '"status" : "success"'
|
|
@ -14,6 +14,10 @@ requests:
|
|||
- "https://api.europeana.eu/record/v2/search.json?wskey={{token}}&query=*&rows=0&profile=facets"
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'success'
|
||||
- 'apikey'
|
||||
- 'action'
|
||||
condition: and
|
|
@ -21,5 +21,6 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "Credentials are required"
|
||||
negative: true
|
||||
- '"input":'
|
||||
- '"connectorType":'
|
||||
condition: and
|
|
@ -19,5 +19,6 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "Authorization Error"
|
||||
negative: true
|
||||
- '"id"'
|
||||
- '"username"'
|
||||
condition: and
|
||||
|
|
|
@ -19,5 +19,6 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "token_not_valid"
|
||||
negative: true
|
||||
- '"auth_code":'
|
||||
- '"state":'
|
||||
condition: and
|
||||
|
|
|
@ -16,7 +16,9 @@ requests:
|
|||
x-api-key: "{{token}}"
|
||||
|
||||
matchers:
|
||||
- type: status
|
||||
negative: true
|
||||
status:
|
||||
- 401
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"country_code":'
|
||||
- '"created_at":'
|
||||
condition: and
|
||||
|
|
|
@ -19,5 +19,7 @@ requests:
|
|||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "errors"
|
||||
negative: true
|
||||
- 'id'
|
||||
- 'title'
|
||||
- 'type'
|
||||
condition: and
|
||||
|
|
Loading…
Reference in New Issue