Webbench is a famous website stress testing tool developed by Lionbridge.
Webshells can simulate up to 30 thousand concurrent connections to test the load capacity of the website.
Webbench can test the performance of different services on the same hardware and the running status of the same service on different hardware.
The standard webbench test shows two items of the server: the number of requests per second and the amount of data transmitted per second.
Webbench can not only test quasi-static pages, but also test dynamic Pages (ASP, PHP, JAVA, CGI. In addition, it supports static or dynamic performance tests for secure websites with SSL, such as e-commerce websites.
Http://home.tiscali.cz /~ Cz210552/webbench_cz.html
Http://home.tiscali.cz /~ Cz210552/distfiles/webbench-1.5.tar.gz
Applicable to Linux systems
Compile and install:
1. Use wget to download a remote webbench file in linux
Wget http://home.tiscali.cz /~ Cz210552/distfiles/webbench-1.5.tar.gz
2.tar decompress the file to be compiled
Tar zxvf webbench-1.5.tar.gz
3. Compile source code and installation files
Cd webbench-1.5
Vim Makefile (custom installation path, PREFIX? =/Opt/webbench /)
Make & make install
The following error is reported during CentOS installation.
Ctags *. c
/Bin/sh: ctags: command not found
Make: [tags] Error 127 (ignored)
The ctags command is missing.
Install ctags
Wget http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz
Cd ctags-5.8
./Configure & make install
PS2: the following error is reported during CentOS installation.
Ctags *. c
Install-s webbench/opt/webbench/bin
Install-m 644 webbench.1/opt/webbench/man/man1
Install: cannot create regular file '/opt/webbench/man/man1': No such file or directory
Make: *** [install] Error 1
Create/man/man1 in the/opt/webbench/installation directory.
Cd/opt/webbench/
Mkdir man
Cd man
Mkdir man1
Usage:
Webbench-c 500-t 30 http: // 127.0.0.1/index.html
Parameter description:-c indicates the number of concurrencies, and-t indicates the time (seconds)
Test results:
Webbench-Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET http: // 127.0.0.1/index.html
500 clients, running 30 sec.
Speed = 3000 pages/min, 11614212 bytes/sec.
Requests: 1615 susceed, 0 failed
Requests per second: 3000/60 = 50 pages/sec
Data volume transmitted per second: 11614212 bytes/sec