Http_load Benchmark Test (full-site test) and http_load Benchmark Test
Http_load (full-site test)
Http_load is an open-source tool running on the linux operating system for website stress testing.
: Http://www.acme.com/software/http_load/http_load-12mar2006.tar.gz
Http_load runs the test website server's throughput and load in Parallel Multiplexing mode. It can run in a single process, so that your client will not be killed, this is also different from most stress testing tools. It can also test https pages.
Start installation:
# Wget http://www.acme.com/software/http_load/http_load-12mar2006.tar.gz
# Tar zxvf http_load-12mar2006.tar.gz
# Cd http_load-12mar2006
# Make
Installation Process:
Create a urls.txt file first, and add the URL address to be tested to separate it with line breaks. Note that this is because we are talking about testing MYSQL, therefore, you must have MYSQL operation statements on the page, and the data volume of your standard website must be as follows:
Http://xxxx.com/bbs/index.php
Http://xxxx.com/bbs? Page = 1
Http://xxxx.com/bbs? Page = 3
Now we start to test the page views per second (throughput, transaction processing capability per unit time)
#./Http_load-parallel 5-fetches 100 urls.txt
Starting with the above command, I used 5 steps at the same time. I randomly accessed the URL in urls.txt for a total of 100 times. Is the result of the light cloud server test to extract the stars from the sky:
It can be seen that my ECs can access 11 pages at the same time every second. (11.3376 fetches/sec)
Test the expected access pressure (a large number of concurrent user environments lasting for a period of time)
#./Http_load-rate 5-seconds 10 urls.txt
The preceding command indicates that the traffic request frequency is 5 times per second and lasts for 10 seconds. The following is the running result:
The analysis result is as follows:
A, 49 fetches, 2 max parallel, 4.37906e + 06 bytes, in 10.0013 seconds
A total of 49 requests were sent, and the maximum number of concurrent processes was 2. A total of 4.37906e + 06 bytes were transmitted, and the running time was 10.0013 seconds.
B. 89368.5 mean bytes/connection
The average data volume transmitted per request is 89368.5 bytes.
C, 4.89936 fetches/sec, 437848 bytes/sec
The average request page per second is 4.89936, And the throughput is 437849 bytes.
D. The final result is the response time and return time of each request, including average, maximum, and minimum.