1.1 KiB
1.1 KiB
AdNova Loadtest
Prerequisites
Ensure you have the following installed on your system:
Basic setup
Installation
Clone the project
Go to the project directory
cd AdNova/services/loadtest
Customize environment
cp .env.template .env
And setup env vars according to your needs.
Install dependencies
go mod download
Running
go run main.go
Containerized setup
Clone the project
Go to the project directory
cd AdNova/services/loadtest
Build docker image
docker build -t adnova-loadtest .
Customize environment
Customize environment with docker run command, for all environment vars and default values see .env.template.
Run docker image
docker run -p 5001:5001 --name adnova-loadtest adnova-loadtest
Loadtest will be available on 127.0.0.1:5001.