Analysis and discussion of LoadRunner pressure test results

Source: Internet
Author: User

Analysis principle:

1. Specific analysis of specific problems (this is due to different application systems, different testing purposes, different performance concerns)

2. Find bottlenecks in the following order, from easy to difficult.

Server hardware bottleneck network bottleneck (for LAN, can not be considered) server operating system bottleneck (parameter configuration) middleware bottleneck (parameter configuration, database, Web server, etc.) application bottlenecks (SQL statements, database design, business logic, algorithms, etc.)

Sources of information analysis:

1. According to the error message during the operation of the scene

2. Monitoring metrics data collected based on test results

A Error prompt Analysis

Analysis Example:

1. error:failed to connect to server "172.17.7.230″: [10060] Connection

Error:timed out Error:server ' 172.17.7.230″has shut down the connection prematurely

Analysis:

A, Application services die.

(Small User: a procedural problem.) The problem of processing database on the program, most of the actual test is the configuration problem of the server link.

B, application services Not dead

(Apply service parameter setup issues)

The corresponding Apache and Tomcat maximum number of links need to be modified, if the connection received connection refused message, you should increase the corresponding server maximum connection settings, increase the amplitude to be based on the actual situation and server hardware, the proposed increase of 25% each time!

C, the connection to the database

(The maximum number of connections that the database starts (related to hardware memory))

D, the maximum number of links our application spring controls is too low

2. Error:page download timeout (seconds) has expired

Analysis:

A, the application service parameter setting is too big to cause the server bottleneck

B, too many pictures on the page

C, check the field too much when the program is working on the table

D, the actual test some resources need to request extranet, and our test environment is the LAN environment

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.