This is a very simple project intended to serve as an example on how to test an endpoint using vegeta as a lib in golang.
There are some constants you can change inside main file:
Specifies the number of requests per n
times.
Specifies the request frequency n
time-box.
Specifies the amount of time the test will be executing.
The URL used to make the test calls
The HTTP verb used to make the test calls
To execute simply run:
go run .main.go