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:
Tim Möhlmann 2024-11-19 10:53:07 +02:00 committed by GitHub
parent 522c82876f
commit 65e24b67da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

2
load-test/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env

View File

@ -46,9 +46,6 @@ export async function setup() {
export default function (data: any) {
token(new JWTProfileRequest(data.machines[__VU - 1].userId, data.machines[__VU - 1].keyId))
.then((token) => {
userinfo(token.accessToken!)
})
}
export function teardown(data: any) {

View File

@ -24,9 +24,6 @@ export async function setup() {
export default function (data: any) {
token(new JWTProfileRequest(data.machine.userId, data.machine.keyId))
.then((token) => {
userinfo(token.accessToken!)
})
}
export function teardown(data: any) {