Author: Forestpro
1, Webbench Installation:
wget http://www.ha97.com/code/webbench-1.5.tar.gztar zxvf webbench-1.5.tar.gzcd webbench-1.5makemake Install
2, Webbench use:
Webbench-c 1000-t http://192.168.80.157/phpinfo.php#webbench-c concurrency number-t run test time URL
3. Example
Webbench-c 300-t http://192.168.80.157/phpinfo.phpWebbench-Simple Web Benchmark 1.5Copyright (c) Radim Kolar 1997-2 004, GPL Open Source Software.Benchmarking:GET http://192.168.80.157/phpinfo.php300 clients, running Sec. speed=24525 pages/min, 20794612 bytes/sec. requests:24525 susceed, 0 failed.
Response Requests per second: 24525 Pages/min, the amount of data transferred 20794612 bytes/sec per second.
When concurrency is 1000, there are 87 connections failed that indicate overload.
Permanent link to this article: http://itboren.com/226.html
Web Performance Stress test tool (Webbench)