@haibun/load-tests
v1.40.8
Published
run load tests using Haibun tests with scalable client containers
Downloads
25
Readme
haibun-load-tests
run load tests using Haibun tests with scalable client containers
Use with docker (containers)
Please see presentation
There are two components; the dispatcher, which uses the Haibun statement dispatch load tests [with filter {fiter}] from {where}
,
and the clients, whcih use the statement start load test client
.
Example setup
Create an env-client:
HAIBUN_O_WEBPLAYWRIGHT_STORAGE=StorageFS
HAIBUN_O_WEBPLAYWRIGHT_HEADLESS=true
HAIBUN_O_HAIBUNLOADTESTSSTEPPER_TOKEN=local92
HAIBUN_O_HAIBUNLOADTESTSSTEPPER_TRACKS_STORAGE=StorageFS
HAIBUN_TRACE=true
HAIBUN_O_OUTREVIEWS_STORAGE=StorageFS
HAIBUN_O_HAIBUNLOADTESTSSTEPPER_DISPATCHER_ADDRESS=http://localhost:8123
Start the dispacher with eg npm run local-500-dispatcher
Start the clients with:
docker compose up --scale local-client=100
Publish a report with npm run publish
.