mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:27:42 +00:00
chore(load-test): disable userinfo after JWT profile (#8927)
# Which Problems Are Solved Load-test requires single endpoint to be used for each test type. # How the Problems Are Solved Remove userinfo call from machine tests. # Additional Changes - Add load-test/.env to gitignore. # Additional Context - Related to #4424
This commit is contained in:
2
load-test/.gitignore
vendored
Normal file
2
load-test/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
|
@@ -46,9 +46,6 @@ export async function setup() {
|
|||||||
|
|
||||||
export default function (data: any) {
|
export default function (data: any) {
|
||||||
token(new JWTProfileRequest(data.machines[__VU - 1].userId, data.machines[__VU - 1].keyId))
|
token(new JWTProfileRequest(data.machines[__VU - 1].userId, data.machines[__VU - 1].keyId))
|
||||||
.then((token) => {
|
|
||||||
userinfo(token.accessToken!)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function teardown(data: any) {
|
export function teardown(data: any) {
|
||||||
|
@@ -24,9 +24,6 @@ export async function setup() {
|
|||||||
|
|
||||||
export default function (data: any) {
|
export default function (data: any) {
|
||||||
token(new JWTProfileRequest(data.machine.userId, data.machine.keyId))
|
token(new JWTProfileRequest(data.machine.userId, data.machine.keyId))
|
||||||
.then((token) => {
|
|
||||||
userinfo(token.accessToken!)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function teardown(data: any) {
|
export function teardown(data: any) {
|
||||||
|
Reference in New Issue
Block a user