- stress test API endpoints or websites
- get the precise response time for each request
- install
go
- run
go mod tidy
for installing dependencies - build it
go build
or directly run itgo run .
-f string
list of urls
-n int
number of requests
-u string
url to load test
- provide a file containing multiple urls using
-f
(each url in a newline) - specify a single url using
-u
- number of requests to process with
-r
(mandatory flag)