open-index/open-npm huggingface dataset:
npm package: @haibun/load-tests
Description: run load tests using Haibun tests with scalable client containers
Latest version: 1.40.8

# haibun-load-tests
run load tests using Haibun tests with scalable client containers

# Use with docker (containers)

Please see [presentation](https://docs.google.com/presentation/d/1EE8VvFDLil6hy7EZeBH2hm18OWBdVEhFlwnc7_yMZUQ/edit?usp=sharing)

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