feat: Added k6 performance tests

This commit is contained in:
2026-05-10 22:00:24 +02:00
commit 5f7dd2e281
9 changed files with 290 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { chessUserJourney } from '../scenarios/chessUserScenario.js';
import { thresholds } from '../config.js';
const CONCURRENT_USERS = parseInt(__ENV.CONCURRENT_USERS || '3', 10);
const DURATION = parseInt(__ENV.DURATION || '300', 10);
export const options = {
vus: CONCURRENT_USERS,
duration: `${DURATION}s`,
thresholds,
};
export default function () {
chessUserJourney();
}