Skip to main content
Module

x/black_box_testing/test-data/spotify.json

Black box testing with bug locator assistant
Latest
File
{ "replace": { "url": "https://api.spotify.com/v1" }, "interactions": { "auth": { "request": { "path": "https://accounts.spotify.com/api/token", "method": "POST", "headers": { "Authorization": "Basic {basicAuth}", "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded" }, "form": { "grant_type": "client_credentials" }, "output": "auth" }, "response": { "body": { "access_token": "string", "token_type": "Bearer", "expires_in": "integer" }, "statusCode": 200 } }, "getNewReleases": { "numOfInteractions": 10, "request": { "path": "{url}/browse/new-releases", "headers": { "Accept": "application/json", "Content-Type": "application/json", "Authorization": "{auth.body.token_type} {auth.body.access_token}" }, "input": [ "auth" ] } }, "getNewRoundOfReleases": { "numOfInteractions": 10, "request": { "path": "{url}/browse/new-releases", "headers": { "Accept": "application/json", "Content-Type": "application/json", "Authorization": "{auth.body.token_type} {auth.body.access_token}" }, "input": [ "auth" ] } } }}