### Create Account (Official Stockholm endpoint) POST {{host}}/streaming/account Content-Type: application/vnd.bose.customer-v1.0+xml John Doe john.doe@example.com password123 US en > {% client.test("Account created via XML successfully", function() { client.assert(response.status === 201, "Response status is not 201"); const doc = response.body; const account = doc.getElementsByTagName("account")[0]; client.assert(account !== undefined, "Response body should contain account XML"); var accountId = account.getAttribute("id"); if (client.variables.environment.get("accountId")) { client.assert(accountId === client.variables.environment.get("accountId"), "Account ID "+accountId+" should match environment variable if provided"); } }); %} ### Login (Official Stockholm endpoint) POST {{host}}/streaming/account/login Content-Type: application/vnd.bose.streaming-v1.2+xml john.doe@example.com password123 > {% client.test("Login successful", function() { client.assert(response.status === 200, "Response status is not 200"); client.assert(response.headers.valueOf("Credentials") !== null, "Credentials header missing"); }); %}