Load testing as a service.
Before you begin, ensure you have the following installed:
- Docker
- Git
The development environment is provided by containers.
git clone git@github.com:dayvidwhy/send-traffic.git
cd send-traffic
docker-compose up --build
docker exec -it send-traffic-app bash
Copy the example env file and update the variables.
cp .env.example .env
Build and run the project.
gradle build
gradle run
Server will be available at localhost:8080
on your machine.
For an optimized development experience, attach VSCode to the running send-traffic-app container:
- Use the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and select:
>Dev Containers: Attach to Running Container...
- Choose /send-traffic-app from the list.
The Kotlin language extension is defined in ./.vscode/devcontainer.json
.
The language server will start as VSCode attaches.