17 lines
407 B
JavaScript
17 lines
407 B
JavaScript
import { chessUserJourney } from '../scenarios/chessUserScenario.js';
|
|
import { thresholds } from '../config.js';
|
|
|
|
const MAX_USERS = parseInt(__ENV.MAX_USERS || '5', 10);
|
|
const RAMP_DURATION = parseInt(__ENV.RAMP_DURATION || '60', 10);
|
|
|
|
export const options = {
|
|
stages: [
|
|
{ duration: `${RAMP_DURATION}s`, target: MAX_USERS },
|
|
],
|
|
thresholds,
|
|
};
|
|
|
|
export default function () {
|
|
chessUserJourney();
|
|
}
|