Introduce a http_load stress testing tool, http_load, there are similar tools webbench, ab, Siege.
Executing the make, will generate a http_load binary file in the current directory.
The main parameters Description: -parallel shorthand -p: meaning the number of concurrent user processes. -rate shorthand for -r: meaning per second access frequency -fetches shorthand -f: the meaning of the total number of visits -seconds shorthand -s: meaning is total access time selection parameters, -parallel and -rate choose one of them, -fetches and -seconds choose one of them. Example:
This command line is used simultaneously process 50, a random access a list of URLs urls.txt in total access to 10 seconds.
50 requests per second, a total of 5,000 requests to stop. This article is from: http: //www.centos.bz/2013/08/web-stress-test-tool-http_load/
1, download http_load
Official Website: http: //acme.com/software/http_load/cd /root
wget http://acme.com/software/http_load/http_load-12mar2006.tar.gz
tar xzf http_load-12mar2006.tar.gz
2, installation http_load
cd http_load-12mar2006
make
3, http_load use
root@www:~/http_load-12mar2006# ./http_load --help
usage: ./http_load [-checksum] [-throttle] [-proxy host:port] [-verbose] [-timeout secs] [-sip sip_file]
-parallel N | -rate N [-jitter]
-fetches N | -seconds N
url_file
One start specifier, either -parallel or -rate, is required.
One end specifier, either -fetches or -seconds, is required.
http_load -parallel 50 -s 10 urls.txt
http_load -rate 50 -f 5000 urls.txt
Reproduced in: https: //my.oschina.net/766/blog/211316