Web Stress Test Tool -http_load

Introduce a http_load stress testing tool, http_load, there are similar tools webbench, ab, Siege.

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
Executing the make, will generate a http_load binary file in the current directory.

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.
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:
http_load -parallel 50 -s 10 urls.txt
This command line is used simultaneously process 50, a random access a list of URLs urls.txt in total access to 10 seconds.
http_load -rate 50 -f 5000 urls.txt
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/

Reproduced in: https: //my.oschina.net/766/blog/211316

Guess you like

Origin blog.csdn.net/weixin_33877092/article/details/91548439