implemented tanstack query

This commit is contained in:
2026-05-18 18:05:05 +02:00
parent a88c141f28
commit 3832aca12c
10 changed files with 151 additions and 71 deletions
+15
View File
@@ -0,0 +1,15 @@
import http from "k6/http";
import { sleep } from "k6";
export const options = {
vus: 100, // amount of users
duration: "60s", // duration of the test
};
export default function () {
http.get(
"http://localhost:8004/default/confirm-user?username=TheisGaedigk",
);
http.get("http://localhost:8004/default/users");
sleep(1);
}
+15
View File
@@ -0,0 +1,15 @@
// Before running: Establish VPN connection first
import http from "k6/http";
import { sleep } from "k6";
export const options = {
vus: 100, // amount of users
duration: "60s", // duration of the test
};
export default function () {
http.get("http://backend:8004/default/confirm-user?username=TheisGaedigk");
http.get("http://backend:8004/default/users");
sleep(0.5);
}