Use ab stress test
ab is the abbreviation of Apache Benchmark, which is a web stress testing tool developed by Apache organization. The advantage is that it is easy to use and powerful in statistics.
centos installed
yum install apr-util
Ubuntu installation
sudo apt-get install apache2-utils
Pressure test interface
ab -n 100 http:10.0.12.111:9080/menu/tree
Common parameter description
-n Number of requests
- tRequest time in seconds
-c Number of concurrency