Webbench can simulate up to 30 thousand concurrent connections to test the load capacity of the website. I personally feel better than the AB stress testing tool that comes with Apache, and it is especially convenient to install and use.
1. applicable system: Linux
2. Compile and install:
Reference wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
Tar zxvf webbench-1.5.tar.gz
CD webbench-1.5
Make & make install
3. Usage:
Reference webbench-C 500-T 30 http: // 127.0.0.1/test.jpg
Parameter description:-C indicates the number of concurrencies, and-T indicates the time (seconds)
4. Test Result example:
Reference webbench-simple web benchmark 1.5.
Copyright (c) Radim Kolar 1997-2004, GPL open source software.
Benchmarking: Get http: // 127.0.0.1/test.jpg
500 clients, running 30 sec.
Speed = 3230 pages/min, 11614212 Bytes/sec.
Requests: 1615 susceed, 0 failed.
Problems with centos installation:
1. Make errors
When installing and compiling webshells,
The following error message ctags *. c/bin/sh: ctags: Command not foundmake: [tags] Error 127 (ignored) indicates that the ctags command is missing and I have not installed it,
Run the following command to run Yum install ctags.
2. Make install: an error is reported.
[Root @ ip-10-146-21-171] # make install
Install-s webbench/usr/local/bin
Install-M 644 webbench.1/usr/local/man/Man1
Install: cannot create regular file '/usr/local/man/man1': no such file or directory
Make: *** [install] Error 1
Run mkdir-P/usr/local/man/Man1.