Linux under Web website stress test tool Webbench use tutorial
- 2020-05-13 03:56:15
- OfStack
Webbench is a very simple stress testing tool. Webbench can simulate up to 30,000 concurrent connections to test the load capacity of a website.
(1) installation of Webbench
wget //www.ofstack.com/soft/linux/webbench-1.5.tar.gz
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make
make install
(2) use of Webbench
webbench -c 1000 -t 60 //www.ofstack.com/
webbench -c concurrency -t Run test time URL
(3) test results
root@phpddt:~/webbench-1.5# webbench -c 1000 -t 60 //www.ofstack.com/
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET //www.ofstack.com/
1000 clients, running 60 sec.
Speed=217591 pages/min, 5544152 bytes/sec.
Requests: 217591 susceed, 0 failed.
Note: when testing, the concurrency should be small to large, and use TOP to check the load of the site, or open the page to see the speed.
So that's the Webbench tutorial, pretty simple.