Run the script
[DEBUG=1] [DISABLE_HEADER_CHECK=1] [DISABLE_CHATD=1] [REQUEST_TIMEOUT=300000] [SESSION_DURATION=10] [LOG_REQUESTS=1] [TOKEN_EXPIRATION=300] SERVER=xxx LOGIN=xxx PASSWORD=xxx node index.jsDEBUG when set to 1 will output the script status with timing.
TOKEN_EXPIRATION the token expiration in seconds.
SESSION_DURATION is the number in second that we should wait before unregistering and logging out.
DISABLE_HEADER_CHECK force the X-User-UUID header without check on the stack.
REQUEST_TIMEOUT API requests timeout in ms.
LOG_REQUESTS Display request API with headers.
DOCKER Log everything in /debug.log.
docker build . -t wda-load-testing
docker run --rm --name wda -e SERVER=xxx -e LOGIN=xxx -e PASSWORD=xxx [-e DOCKER=1] [-e DEBUG=1] [-e DISABLE_CHATD=1] [-e LOG_REQUESTS=1] [-e REQUEST_TIMEOUT=300000] [-e DISABLE_HEADER_CHECK=1] [-e SESSION_DURATION=10] [-e TOKEN_EXPIRATION=300] -t wda-load-testing