In the Web Performance test tool, Siege is the more popular and common, it has the features of simple installation, easy to use, and detailed test reports.
And you can pre-define a series of URL simulations to be tested in the text, and you can set a constant time or test for a certain amount of concurrency.
It is more suitable to determine the system performance benchmarks in real-world environments.
1. Download the installation package
Skip Over
2. Unzip the installation package
Skip Over
3. Compiling
# View installation options./configure--help# Set installation options./configure--prefix=/your/installation/directory # compile make# install make install
4. Detailed parameters
-V,--version Display Siege version number- h,--help display siege help information -C,--config Show current configuration options -V,--verbose Show detailed test process- Q,--quiet quiet mode, does not show detailed procedures, also does not display output results- g,--get get mode, display HTTP header information- C,--concurrent=num concurrency number, default ten-I ,--internet analog user number, random click URL- B,--benchmark test mode, no delay between each request- T,--time= Numm test Duration, S, M, H. For example 1H one hour -R,--reps=num test rounds (not total requests)- F,--file=file URL file location- R,--rc=file configuration file location - L,--log[=file] log file output location- m,--mark= "text" log file marked -D,--delay=num delay, random delay between requests 1~ Set Value Ms -H,--header= "text" custom additional request header -A,--user-agent= "text" Custom request Header user-agent Information- T,-- Content-type= "text" Custom Request header Content-type information
5. Common commands
# Quiet mode, test mode, 1000 concurrent, 5 rounds (total 1000 * 5 requests) test address http://127.0.0.1/test.php and output logs to./siege.log/usr/local/siege-3.0.7/bin/siege -q-b-c1000-r5--log=./siege.log "http://127.0.0.1/test.php"
Web Performance test Tool: Siege Installation & Usage Introduction