webbench是nginx的压力测试工具
使用多线程模拟多个用户在一个时间段内测试一个网页
Only run on Linux
1. wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
2. tar xzvf webbench-1.5.tar.gz
3. cd webbench-1.5
4. make && make install
5、Example,
~/tools/webbench-1.5# webbench -c 300 -t 20 http://192.27.92.31/login/
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET http://192.27.92.31/login/
300 clients, running 20 sec.
Speed=84 pages/min, 13668 bytes/sec.
Requests: 28 susceed, 0 failed.