Website stress testing
Website stress testing tools
Use the siege tool for stress testing, which can be used for both http and https stress testing. Compilation Method
wget http://download.joedog.org/siege/siege-latest.tar.gz tar -zxvf siege-latest.tar.gz
Usage
sudo apt-get install openssl openssh-server openssh-client libssl-dev sudo apt-get install gcc g++
Compilation Method
Cd siege-3.1.0/su root password input. /configure-with-ssl = Your opensslv. use the which command which openssl or use the find command find/usr-name openssl * make install
Usage
You can modify the configuration file vim ~ /. Siegerc: Modify the log configuration path sudo siege-c 500-r 200000-u "https: // domain name/interface/parameter "--- GET request sudo siege-c 500-r 200000-u" https: // domain name/interface POST parameter "the specific usage parameter is man siege
Result
Lifting the server siege.. done.Transactions: 1921 hitsAvailability: 65.38 %Elapsed time: 167.65 secsData transferred: 302.45 MBResponse time: 36.38 secsTransaction rate: 11.46 trans/secThroughput: 1.80 MB/secConcurrency: 416.80Successful transactions: 1921Failed transactions: 1017Longest transaction: 69.42Shortest transaction: 1.58