Loadrunner--analysis Page Subdivision Map

Source: Internet
Author: User

The Discuz Open Source Forum project, which has been the creation of virtual user scripts (Generator) and scenes (controllers), has now finally reached the LoadRunner Performance test results Analysis section.

LoadRunner one of the most important charts in the analysis chart function, is the Web Diagnosis Subdivision diagram, before the controller scene design run, you need to set the Enable Web Diagnostic function in the menu bar (Diagnostics-Web Diagnostics-start),

A Web page subdivision is a display of the relevant download time and size for each page and its components, primarily to assess whether the page content affects transaction response time (only related to transaction response time). By associating with different transaction graphs, you can analyze the causes of slow or interrupted Web site downloads to determine if system performance issues are occurring on the network or the server, and then further analyze which web page or factors are causing the problem?

The following are the features of each chart of the page breakdown chart:

Page Breakdown chart, a total of 8 charts, respectively, the total page decomposition Diagram (Web page diagnostics), the Page Component Subdivision graph (page comporment breakdown), page component subdivision (change over time) (page comportment Breakdown over time), page download time breakdown chart (page download-breakdown), Page download time breakdown (with the Change) (page download- The first buffer time breakdown graph (Time to first buffer breakdown), the initial buffer time breakdown graph (times to primary buffer breaddown over), Downloaded component size chart (downloaded Component size) [KB].

1. Page Component Breakdown Chart: Displays the average download time (in seconds) of each page and its components, viewing which element in the selected page takes up the longest average download time.

2, the Page Component subdivision chart (change over time): This figure is suitable for page analysis when the client downloads more components, and by analyzing the download time to find out which components are unstable or time-consuming, it changes with the whole scene.

3, page download time breakdown chart: Page download time breakdown by DNS resolution time, connection time, first buffer time, SSL handshake time, receive time, FTP authentication time, client time and error time each component is analyzed. It can confirm that the slow response time is caused by a network error or by a server error during the Web page download period.

4, page download time breakdown chart (change over time): Displays the selected page download time breakdown, from which you can see each element of the page in the stress test process download. If a page is slow to open, by analyzing this graph, you can clearly see where the time to open the page is primarily, optimized for this issue.

5, the first buffer time subdivision diagram: refers to the period of time before the first buffer returned from the Web server, the relevant server and network time of each page component (in seconds), which is important to analyze the time of the page, where The network time is the average elapsed time from the moment the first HTTP request is sent until confirmation is received. Server time is the average elapsed time from receipt of the initial HTTP request acknowledgement until the first buffer from the Web server is received successfully.

6, the first Buffer time subdivision chart (change over time): The first buffer time is after the client and the server to establish a connection, send the first packet from the server to start the time, the data after the network to the client, and then the browser to receive the first buffer data spent. (in the figure, it is useful to distinguish between the time spent by the server and the network in two colors to confirm that it is a server problem or a network problem!) )

By understanding the above diagram, you can follow your own ideas to further analyze the length of time in the Web page, where the problem occurs

Let's share the following: I use these web-based subdivision charts to analyze test results.

Can you think, LoadRunner chart analysis so much, analysis of ideas, steps from where to start ah? Don't worry!

My personal habits, the entire LR results analysis steps:

Results Summary--"Concurrency number analysis-" Response time-"hits per second-" business success rate-"system resources-" Web page subdivision--"Web server resources--" database server

Here only the page subdivision of the idea of further analysis to comb, some figures are only for reference, do not need further analysis.

1, first open the page Decomposition General diagram (Web page diagnostics), in the left breakdown tree, lists all the transaction names added in the script, generally speaking, we mainly focus on the need for concurrent system business parts, to see the login section, Download times (Download time) are mainly caused by two pages, where the receive section takes the longest time. (component part is not seen here, because it is not intuitive here)

2, then open the Page Component Subdivision (page Component breakdown), to find out which element in the selected page of the average download time is more, in fact, the above two, but here is a pie chart to show more intuitive.

3. Then open the page download time Breakdown chart (page Download times breakdown), based on DNS resolution time, connection time, first buffer time, SSL handshake time, receive time, FTP authentication time, Client time and error time of the composition on the selected page distribution, to determine whether the page download time longer response time is caused by network errors, or server errors caused by the 1,receive time is the longest, the initial judgment is caused by network problems, but also may be a browser request problem, See page Download subdivision over time distribution Figure 2, in the entire login scene, the page element has been downloaded? This is most likely a network problem. Another point, if the page cache is done well, it will not always download it.

Figure 1

Figure 2

4, finally open a very important diagram, that is, the first Buffer time subdivision (breakdown), the first Buffer time subdivision chart to compare the results are consistent, because the first Buffer time subdivision chart can also determine that the page response time is caused by a network error , or a server error. From this graph, you can see that most of the time is in the network.

Loadrunner--analysis Page Subdivision Map

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.