This commit is contained in:
2026-01-31 13:49:56 +01:00
parent 7074c85672
commit ecfa2d3985
203 changed files with 11592 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
meta {
name: Login
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/login
body: formUrlEncoded
auth: inherit
}
body:form-urlencoded {
grant_type:
username: {{username}}
password: {{password}}
scope:
client_id:
client_secret:
}
script:post-response {
function onResponse(res) {
let data = res.getBody();
bru.setEnvVar("access_token", data.access_token);
bru.setEnvVar("refresh_token", data.refresh_token);
}
onResponse(res);
}