Http_load Test First Order

Source: Internet
Author: User

The two examples of the standard of Http_load are: 1.         Http_load-parallel 5-fetches urls.txt2. Http_load-rate 2-seconds Urls.txt example is only a reference, the parameters can be freely combined, the choice between the parameters is not limited. For example, you write Http_load-parallel 5-seconds urls.txt is also possible. Let's give you a brief explanation of the parameters. -parallel Shorthand-P: means the number of concurrent user processes. -fetches-F: Meaning is the total number of accesses-rate shorthand-P: meaning is the frequency of access per second-seconds-s: meaning that the total access time URL is the name of the URL you want to access, the parameter can be a single URL can also make a file containing the URL. The file format is as follows
Http://cns.3721.com/cns.dll?name= magnetic polarization blood biological balance therapeutic instrument http://cns.3721.com/cns.dll?name= laser quantum irradiation blood therapy instrument http://cns.3721.com/ Cns.dll?name= double wave magnetized quantum blood treatment machine http://cns.3721.com/cns.dll?name= Portable methane detection alarm http://cns.3721.com/cns.dll?name= Nitrogen lead-free reflow soldering wave soldering http://cns.3721.com/cns.dll?name= two-dimethyl-allyl ammonium chloride
Parameter understanding, let's look at running a command to see its return result
Command:% ./http_load -rate 5 -seconds 10 urls
说明执行了一个持续时间10秒的测试,每秒的频率为5。
49 fetches, 2 max parallel, 289884 bytes, in 10.0148 seconds
5916 mean bytes/connection
4.89274 fetches/sec, 28945.5 bytes/sec
msecs/connect: 28.8932 mean, 44.243 max, 24.488 min
msecs/first-response: 63.5362 mean, 81.624 max, 57.803 min
HTTP response codes:
 code 200 -- 49
Results analysis: 1, 49 fetches, 2 max parallel, 289884 bytes, in 10.0148 seconds 说明在上面的测试中运行了49个请求,最大的并发进程数是2,总计传输的数据是289884bytes,运行的时间是10.0148秒
2.5916 mean bytes/connection
Indicates the average amount of data transferred per connection 289884/49=5916  3 、4.89274 fetches/sec, 28945.5 bytes/secIndicates that the response request per second is 4.89274 The data passed per second is 28945.5 bytes/sec
4、msecs/connect: 28.8932 mean, 44.243 max, 24.488 min
Indicates that the average response time per connection is 28.8932 msecs ,最大的Response time 44.243 msecs ,最小的Response time 24.488 msecs
5、msecs/first-response: 63.5362 mean, 81.624 max, 57.803 min
6, HTTP response codes: code 200 -- 49

explain the type of open response page, if the type of 403 too many, it may be noted whether the system encountered a bottleneck.
Special Note: Here, we will generally focus on the indicator is fetches/sec 、msecs/connect 分别对应的常用性能指标参数: Qpt- 每秒响应用户数和response time,每连接响应用户时间。

The result of the test is mainly to look at these two values. Of course, only these two indicators do not complete the performance analysis, we also need to the server CPU, men analysis, in order to come to the conclusion

Http_load Test First Order

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.