Home

Awesome

JsonApiDotNetCore Performance Tests

Build status

Head to the issues to see the latest test results.

What is this?

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

The App

ASP.Net Core → JsonApiDotNetCore → Entity Framework Core → Npgsql → PostgreSQL

Execution Environment

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.

Running The Test

Pre-Requisites

Running Locally

cp ./variables.env.sample ./variables.env
open ./variables.env
# edit the config, GH and DO values are not required for local testing
./run-local.sh

Running On Digital Ocean Droplet

./run-on-droplet.sh
./remove-droplet.sh

Uploading Results to GitHub