From d188c71e975771107913def084c2dddec6ce6d45 Mon Sep 17 00:00:00 2001 From: sandeep Date: Fri, 1 Oct 2021 21:01:12 +0530 Subject: [PATCH] error fixes --- apis/googledirections.yaml | 3 +-- apis/npm.yaml | 6 ++++-- apis/pendo.yaml | 3 +-- apis/twitter.yaml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apis/googledirections.yaml b/apis/googledirections.yaml index fbc7a2be93..bafca31ab4 100644 --- a/apis/googledirections.yaml +++ b/apis/googledirections.yaml @@ -20,5 +20,4 @@ requests: part: body words: - 'error_message' - negative: true - + negative: true \ No newline at end of file diff --git a/apis/npm.yaml b/apis/npm.yaml index f9637b9c5d..24796b2f09 100644 --- a/apis/npm.yaml +++ b/apis/npm.yaml @@ -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 diff --git a/apis/pendo.yaml b/apis/pendo.yaml index 7bea14f9a6..a5383d35f8 100644 --- a/apis/pendo.yaml +++ b/apis/pendo.yaml @@ -23,5 +23,4 @@ requests: - type: status status: - 403 - negative: true - + negative: true \ No newline at end of file diff --git a/apis/twitter.yaml b/apis/twitter.yaml index 093ada5a49..eaac88b705 100644 --- a/apis/twitter.yaml +++ b/apis/twitter.yaml @@ -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