Test your website and find out how it reacts if Surf 100 users at the same time and load your webpage with 10 requests each.
-n
requests
Number of requests to perform for the benchmarking session. The default is to just perform a single request which usually leads to non-representative benchmarking results.
-c
concurrency
Number of multiple requests to perform at a time. Default is one request at a time.
-k
Enable the HTTP KeepAlive feature, i.e., perform multiple requests within one HTTP session. Default is no KeepAlive.
-H
custom-header
Append extra headers to the request. The argument is typically in the form of a valid header line, containing a colon-separated field-value pair (i.e., "Accept-Encoding: zip/zop;8bit").
Open console (Terminal) and type for AB test, change https://www.tnado.com/ with your Domain:
ab -n 100 -c 10 -k -H "Accept-Encoding: gzip, deflate" https://www.tnado.com/
Start:
This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking www.tnado.com (be patient)...
End:
Benchmarking www.tnado.com (be patient).....done
Server Software: Apache
Server Hostname: www.tnado.com
Server Port: 443
SSL/TLS Protocol: TLSv1.2,DHE-RSA-AES256-GCM-SHA384,2048,256
TLS Server Name: www.tnado.com
Document Path: /
Document Length: 11597 bytes
Concurrency Level: 10
Time taken for tests: 27.769 seconds
Complete requests: 100
Failed requests: 0
Keep-Alive requests: 0
Total transferred: 1194500 bytes
HTML transferred: 1159700 bytes
Requests per second: 3.60 [#/sec] (mean)
Time per request: 2776.906 [ms] (mean)
Time per request: 277.691 [ms] (mean, across all concurrent requests)
Transfer rate: 42.01 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 305 2141 645.6 2336 2672
Processing: 115 583 658.3 305 2393
Waiting: 115 579 658.8 301 2392
Total: 421 2724 530.3 2647 4125
Percentage of the requests served within a certain time (ms)
50% 2647
66% 2653
75% 2686
80% 2723
90% 2984
95% 4125
98% 4125
99% 4125
100% 4125 (longest request)