Head to the issues to see the latest test results.
This repository provides tooling for running load tests against a JsonApiDotNetCore application.
It uses vegeta to run tests against a sample application (located under ./app
).
If you want to see the details of the tests, take a look at ./load-test/test.sh
ASP.Net Core → JsonApiDotNetCore → Entity Framework Core → Npgsql → PostgreSQL
The app and database run inside separate docker containers using docker-compose for orchestration. The test can be executed locally or on a Digital Ocean VM. docker-machine is used to create the VM on demand using the token specified in variables.env.
- Docker
- Docker Compose
- Docker Machine
- Set configuration in
variables.env
and source them into your shell
cp ./variables.env.sample ./variables.env
open ./variables.env
# edit the config, GH and DO values are not required for local testing
- Run the test
./run-local.sh
- The test results will be dumped to
./load-test/results
- Set configuration in
variables.env
- Run the test
./run-on-droplet.sh
- Delete the droplet when done
./remove-droplet.sh
- Ensure
UPLOAD_RESULTS
is set totrue
in variables.env file