Adding self contained template identifier

patch-1
sandeep 2021-10-14 23:56:45 +05:30
parent 42cc6d9507
commit 5b8e87ac0c
64 changed files with 63 additions and 5 deletions

View File

@ -14,8 +14,3 @@ tags:
# files is a list of files to ignore template execution
# unless asked for by the user.
files:
- "token-spray/"

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://dev.virtualearth.net/REST/v1/Locations?CountryRegion=US&adminDistrict=WA&locality=Somewhere&postalCode=98001&addressLine=100%20Main%20St.&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://api-ssl.bitly.com/v3/shorten?access_token={{token}}&longUrl=https://www.google.com"
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://api.buttercms.com/v2/posts/?auth_token={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -14,6 +14,7 @@ requests:
headers:
X-Token: "{{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://circleci.com/api/v1.1/me?circle-token={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -13,6 +13,7 @@ requests:
- "https://www.deviantart.com/api/v1/oauth2/placebo"
body: "access_token={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Basic {{base64('user:' + token)}}
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/place/autocomplete/json?input=Bingh&types=%28cities%29&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://www.googleapis.com/customsearch/v1?cx=017576662512468239146:omuauf_lfve&q=lectures&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood4&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536,-104.9847034&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -15,6 +15,7 @@ requests:
Authorization: key={{token}}
Content-Type: application/json
self-contained: true
matchers:
- type: status
status:

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=Museum%20of%20Contemporary%20Art%20Australia&inputtype=textquery&fields=photos,formatted_address,name,rating,opening_hours,geometry&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins=40.6655101,-73.89188969999998&destinations=40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.659569%2C-73.933783%7C40.729029%2C-73.851524%7C40.6860072%2C-73.6334271%7C40.598566%2C-73.7527626%7C40.659569%2C-73.933783%7C40.729029%2C-73.851524%7C40.6860072%2C-73.6334271%7C40.598566%2C-73.7527626&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/geocode/json?latlng=40,30&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -12,6 +12,7 @@ requests:
- "https://www.googleapis.com/geolocation/v1/geolocate?key={{token}}"
matchers-condition: and
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://www.google.com/maps/embed/v1/place?q=Seattle&key={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://www.google.com/maps/embed/v1/search?q=record+stores+in+Seattle&key={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=100&types=food&name=harbour&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://roads.googleapis.com/v1/nearestRoads?points=60.170880,24.942795|60.170879,24.942796|60.170877,24.942796&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJN1t_tDeuEmsRUsoyG83frY4&fields=name,rating,formatted_phone_number&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference=CnRtAAAATLZNl354RwP_9UKbQ_5Psy40texXePv4oAlgP4qNEkdIrkyse7rPXYGd9D_Uj1rVsQdWT4oRz4QrYAJNpFX7rzqqMlZw2h2E2y5IKMUZ7ouD_SlcHxYq1yL4KbKUv3qtWgTK0A6QbGh87GB3sscrHRIQiG2RrmU_jF4tENr9wGS_YxoUSSDrYjWmrNfeEHSGSc3FyhNLlBU&key={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://playablelocations.googleapis.com/v3:samplePlayableLocations?key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://roads.googleapis.com/v1/snapToRoads?path=-35.27801,149.12958|-35.28032,149.12907&interpolate=true&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://roads.googleapis.com/v1/speedLimits?path=38.75807927603043,-9.03741754643809&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/staticmap?center=45%2C10&zoom=7&size=400x400&key={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/streetview?size=400x400&location=40.720032,-73.988354&fov=90&heading=235&pitch=10&key={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510&timestamp=1331161200&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -11,6 +11,7 @@ requests:
path:
- "https://maps.googleapis.com/maps/api/place/textsearch/json?query=restaurants+in+Sydney&key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -15,6 +15,7 @@ requests:
Accept: application/vnd.heroku+json; version=3
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -13,6 +13,7 @@ requests:
- "https://api.hubapi.com/owners/v2/owners?hapikey={{token}}"
- "https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://graph.facebook.com/v8.0/me/accounts?access_token={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://api.ipstack.com/8.8.8.8?access_key={{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
Api_Key: "{{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
X-Api-Key: "{{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
X-Api-Token: "{{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -12,6 +12,7 @@ requests:
path:
- "api.addressy.com/Capture/Interactive/Find/v1.00/json3.ws?Key={{token}}&Countries=US,CA&Language=en&Limit=5&Text=BHAR"
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ network:
host:
- "tls://smtp.mandrillapp.com:465"
self-contained: true
matchers:
- type: word
words:

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Basic {{base64('api:' + token)}}
self-contained: true
matchers:
- type: status
status:

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://api.mapbox.com/geocoding/v5/mapbox.places/Los%20Angeles.json?access_token={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -16,6 +16,7 @@ requests:
API-Key: "{{token}}"
body: "{ \"query\": \"{ requestContext { userId apiKey }}\" }"
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://api.openweathermap.org/data/2.5/weather?q=Chicago&appid={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -15,6 +15,7 @@ requests:
Accept: application/vnd.pagerduty+json;version=2
Authorization: Token token={{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -16,6 +16,7 @@ requests:
Content-Type: application/json
X-Pendo-Integration-Key: "{{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -14,6 +14,7 @@ requests:
headers:
X-TrackerToken: "{{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -15,6 +15,7 @@ requests:
Accept: application/json
X-Postmark-Server-Token: "{{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -16,6 +16,7 @@ network:
host:
- "tls://smtp.sendgrid.net:465"
self-contained: true
matchers:
- type: word
words:

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Basic {{base64(token + ':')}}
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -16,6 +16,7 @@ requests:
Content-Type: application/json
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: word
part: body

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Basic {{base64(token + ':')}}
self-contained: true
matchers:
- type: status
status:

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Basic {{base64('api:' + token)}}
self-contained: true
matchers:
- type: word
part: header

View File

@ -15,6 +15,7 @@ requests:
Travis-API-Version: 3
Authorization: token {{token}}
self-contained: true
matchers:
- type: status
status:

View File

@ -14,6 +14,7 @@ requests:
headers:
Authorization: Bearer {{token}}
self-contained: true
matchers:
- type: word
part: body

View File

@ -15,6 +15,7 @@ requests:
Content-Type: application/json
X-Api-Token: "{{token}}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -12,6 +12,7 @@ requests:
path:
- "https://wakatime.com/api/v1/users/current/projects/?api_key={{token}}"
self-contained: true
matchers:
- type: status
status:

View File

@ -15,6 +15,7 @@ requests:
Content-Type: application/json
body: "{\"l_from\":\"en\",\"l_to\":\"fr\",\"request_url\":\"https://www.website.com/\",\"words\":[{\"w\":\"This is a blue car\",\"t\":1},{\"w\":\"This is a black car\",\"t\":1}]}"
self-contained: true
matchers:
- type: word
part: body

View File

@ -13,6 +13,7 @@ requests:
- "https://www.googleapis.com/youtube/v3/activities?part=contentDetails&maxResults=25&channelId=UC-lHJZR3Gqxm24_Vd_AJ5Yw&key={{token}}"
matchers-condition: or
self-contained: true
matchers:
- type: word
part: body