Skip to content

Load testing our stack with real WDA requests

Notifications You must be signed in to change notification settings

TinxHQ/wda-load-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load testing WDA with real requests

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.js

DEBUG 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.

Using docker

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

About

Load testing our stack with real WDA requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published