Run:
Chaperon.run_load_test(LoadTester.Runner); nil
- Specify a different output folder
- Output folder resides in the sub-app, not at the umbrella app
- Easier way to inspect the latest session state
- More readable way to process the result rather than
:with_result
option
- Spin up a pair of machines with the eWallet app installed
- Migrate and seed the target machine, e.g.
ewallet-loadtest-server
, with:
$ mix ecto.create
$ mix ecto.migrate
$ E2E_ENABLED=true \
[email protected] \
E2E_TEST_ADMIN_PASSWORD=loadtesting \
mix seed --test --yes
- Run the load test from another server with:
$ LOADTEST_TOTAL_REQUESTS=180000 \
LOADTEST_DURATION_SECONDS=6000 \
LOADTEST_PROTOCOL=http \
LOADTEST_HOST=localhost \
LOADTEST_PORT=4000 \
[email protected] \
LOADTEST_PASSWORD=loadtesting \
mix run -e 'Chaperon.run_load_test(LoadTester.Runner)'