meta { name: Login type: http seq: 1 } post { url: {{urlv2}}/api/auth/login body: json auth: inherit } headers { Content-Type: application/json } body:json { { "username": "matthes01", "password": "{{v2Password}}" } } script:post-response { bru.setEnvVar("jwtV2",res.body.token) } settings { encodeUrl: true }