meta { name: Create third session (Basic) type: http seq: 6 } post { url: {{baseUrl}}/api/v1/auth/sessions body: none auth: basic } auth:basic { username: {{thirdUsername}} password: {{password}} } docs { Сессия постороннего пользователя: используется только в негативных проверках доступа к чужому чату. Сохраняет thirdToken. } tests { test("201 created", function() { expect(res.status).to.equal(201); }); } script:post-response { bru.setVar("thirdToken", res.body.token); }