A Load Tester is a tool to test a website performance when a batch of concurrent users tries to access it.
- add target url using
-u
option. - customize total number of requests through
-n
option. - customize concurrent users using
-c
option.
- first run
make build
orgo build -o gload main.go
- next
./gload -u [URL] -n [REQUEST_COUNT] -c [CONCURRENT_USERS]
- to fetch help flags, use
./gload -h
- Display requests/second
- Display Total request time, time for first byte, time for last byte