Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for testing webpage performances

A test method and performance technology, applied in the Internet field, can solve problems such as low accuracy and long test time, and achieve the effect of improving test accuracy, improving test accuracy, and improving test efficiency

Inactive Publication Date: 2017-05-17
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a webpage performance testing method and device, to at least solve the technical problems that the webpage performance testing method in the prior art mainly uses manual testing, the testing time is long and the accuracy is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for testing webpage performances
  • Method and device for testing webpage performances
  • Method and device for testing webpage performances

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] According to an embodiment of the present invention, an embodiment of a method for testing webpage performance is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0029] figure 1 is a flow chart of a method for testing webpage performance according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0030] Step S102, acquiring a test script, wherein the test script is a script generated by accessing the webpage to be tested.

[0031] Specifically, the above-mentioned webpage to be tested may be a webpage for performance testing, and the above-mentioned test script may be a script obtained by a test...

Embodiment 2

[0126] According to an embodiment of the present invention, an embodiment of a device for testing webpage performance is provided.

[0127] Figure 4 is a schematic diagram of a test device for webpage performance according to an embodiment of the present invention, such as Figure 4 As shown, the device includes: a first acquisition unit 41 , a second acquisition unit 43 and a generation unit 45 .

[0128] Wherein, the first obtaining unit 41 is used to obtain the test script, wherein, the test script is a script generated by accessing the webpage to be tested; the second obtaining unit 43 is used to obtain the test script to be tested A plurality of performance data of the webpage; the generating unit 45 is configured to generate a performance data chart of the webpage to be tested based on the plurality of performance data.

[0129] According to the above embodiment of the present invention, the above performance data includes at least one of the following: loading time o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for testing webpage performances. The method comprises the steps of obtaining a testing script which is generated by performing access control on a to-be-tested webpage; in the process of executing the testing script many times, obtaining a plurality of performance data of the to-be-tested webpage; and based on the plurality of performance data, generating a performance data graph of the to-be-tested webpage. According to the method and device for testing the webpage performances, the technical problems that manual testing is adopted mainly in a webpage performance testing method in the prior art, the testing time is long and the accuracy is low are solved.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method and device for testing webpage performance. Background technique [0002] The web page is divided into two parts, the front end and the back end. The web page is the content directly presented to the user, and its performance is crucial to the user experience. At present, web page performance testing mainly focuses on the loading time of web pages: the timing starts when the user sends a network connection request to the server through the browser, and the timing ends when all the web page data returned by the browser is loaded. There are generally two ways to test web page loading time: the first is to inject JavaScript code at the top of the web page, and record the loading start and end time, the difference between the two is the loading time of the web page; the second is to use a browser plug-in to view the web page load time. The first method needs to change the web p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3672G06F11/3692
Inventor 胡钊
Owner NETEASE (HANGZHOU) NETWORK CO LTD