web bench is a web server benchmarking tool for debug purpose
To download the latest source do this:
git clone https://github.com/mrabine/wb.git
To configure wb do this:
cd wb
mkdir build && cd build
cmake ..
To install wb do this:
make && sudo make install
sudo ldconfig
wb [options] http[s]://hostname[:port]/path
-c level
concurrency level (default: 1)
-h
show available options
-H
send HEAD request
-K
enable keep alive
-n requests
number of requests to perform (default: 1)
-P file
file to POST (mime type is deduced from file extension)
-t
request timeout in seconds
-U file
file to PUT (mime type is deduced from file extension)
-v
verbose
-V
print version
wb -v https://joinframework.net/
benchmarking "joinframework.net" on port 443 ...
GET / HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
Connection: close
Host: joinframework.net
If-Modified-Since: Sat, 1 Jan 2000 00:00:00 GMT
User-Agent: wb/1.0.0
HTTP/1.1 200 OK
Accept-Ranges: bytes
Connection: close
Content-Length: 1474
Content-Type: text/html
Date: Thu, 21 Sep 2023 10:03:59 GMT
ETag: "5c2-5c8786d2d515c"
Last-Modified: Sun, 01 Aug 2021 05:07:16 GMT
Vary: Accept-Encoding
Server Hostname: joinframework.net
Server Port: 443
Scheme: https
Document Path: /
Concurrency Level: 1
Time taken for tests: 0.0178217 seconds
Completed requests: 1
Failed requests: 0
Requests per second: 56.1113 [#/sec]