CN103067214A - Method, client, server and system used for testing web site performance - Google Patents

Method, client, server and system used for testing web site performance Download PDF

Info

Publication number
CN103067214A
CN103067214A CN2011103191030A CN201110319103A CN103067214A CN 103067214 A CN103067214 A CN 103067214A CN 2011103191030 A CN2011103191030 A CN 2011103191030A CN 201110319103 A CN201110319103 A CN 201110319103A CN 103067214 A CN103067214 A CN 103067214A
Authority
CN
China
Prior art keywords
test
request
test request
server
web site
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103191030A
Other languages
Chinese (zh)
Other versions
CN103067214B (en
Inventor
毛锡凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201110319103.0A priority Critical patent/CN103067214B/en
Publication of CN103067214A publication Critical patent/CN103067214A/en
Priority to HK13107315.8A priority patent/HK1180140A1/en
Application granted granted Critical
Publication of CN103067214B publication Critical patent/CN103067214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, a client, a server and a system used for testing web site performance. The method comprises the steps of receiving test demand information, sending a plurality of web page testing requests to the server, and receiving web site testing results responding to the plurality of web page testing requests, wherein the test demand information comprises the plurality of web page test requests. By sending and processing the plurality of web page testing requests in a mass mode, the problem that in the prior art testing time is long due to the fact that manual operation is needed is solved, testing time is reduced and operation is simplified.

Description

The method, client, server and the system that are used for the test web site performance
Technical field
The application relates to internet arena, in particular to a kind of method, client, server and system for the test web site performance.
Background technology
At present, for the test of web site performance, main dependence is tested manually.The below describes the process of test web site performance in the prior art as an example of a few money web site performance testing tools commonly used in the industry example.
A few money web site performance testing tools of once commonly using are in the industry at first described:
1) Firebug: based on the plug-in unit of firefox and ie browser, can grab dom (Document Object Model, DOM Document Object Model) tree and http the transmission of data in the webpage;
2) Yslow: based on the firefox browser plug-in of firebug plug-in unit, according to the webpage principle of optimality webpage performance is marked, be only applicable to firefox;
3) Dynatrace ajax: based on the webpage Performance Evaluation instrument of windows desktop client end, by different latitude the data such as response time of webpage, timeline (time shaft), javascript (java script), hotspot (focus) are grasped; Be applicable at present IE and Firefox.
Above-mentioned three testing tool is realized with browser plug-in or desktop client end form.In the process of test web site performance, for each bar webpage test request, need manual actuation browser plug-in or client software to grasp corresponding webpage performance data.Like this, webpage of every test all needs manual operations one time, has greatly increased testing time and testing complex degree.For the performance data of obtaining the website that possesses certain scale, above-mentioned test mode is feasible hardly.
In addition, the focus of existing web site performance method of testing mainly concentrates on the handling capacity of server end, and do not pay close attention to the system environments of the concrete network environment of user and client, the web site performance data of obtaining like this (such as response time, html dom displaying, javascript analysis etc.) only possess indivedual meanings, can not be as general performance of front end data reference.
Summary of the invention
The application's main purpose is to provide a kind of method, client, server and system for the test web site performance, to solve at least in the prior art owing to long problem of the testing time that needs manual operation to cause.
According to the application's a aspect, a kind of method for the test web site performance is provided, it comprises: receive testing requirement information, wherein, testing requirement information comprises many webpage test request; Send many webpage test request to server, so that server is carried out the web site performance test that many webpage test request are asked; Reception is in response to the website test result of many webpage test request.
Further, the step to many webpage test request of server transmission comprises: the demand according to user's input arranges the speed that sends many webpage test request; Send many webpage test request according to set speed to server.
Further, the step that the demand of inputting according to the user arranges the speed that sends many webpage test request comprises: the speed that many webpage test request are set according to the maximum thread of the bandwidth in the demand of user's input and concurrent request.
Further, receive after the website test result in response to many webpage test request, also comprise: judge whether test result surpasses threshold value; If surpass, outputting alarm signal then.
Further, when sending many webpage test request to server, also comprise: send solicited message to the treatment facility that sends many webpage test request, wherein, solicited message is used for the current system resource of request treatment facility and uses state information; Receiving and processing equipment uses state information in response to the system resource of solicited message feedback.
Further, receive after the website test result in response to many webpage test request, also comprise: use between state information and the website test result in system resource and set up mapping relations; Use state information and website test result that web site performance is analyzed according to the system resource with mapping relations.
According to the application on the other hand, provide a kind of client for the test web site performance, it comprises: the first receiving element, be used for receiving testing requirement information, and wherein, testing requirement information comprises many webpage test request; The first transmitting element is used for sending many webpage test request to server, so that server is carried out the web site performance test that many webpage test request are asked; The second receiving element is used for the website test result in response to many webpage test request that reception server returns.
Further, the client that is used for the test web site performance also comprises: setting unit is used for according to the demand of user's input the speed that sends many webpage test request being set; Control unit is used for controlling according to set speed the transmission of many webpage test request when the first transmitting element sends many webpage test request to server.
Further, the client that is used for the test web site performance also comprises: the second transmitting element, be used for when the first transmitting element sends many webpage test request to server, send solicited message to the treatment facility that sends many webpage test request, wherein, solicited message is used for the current system resource use state information of request treatment facility; The 3rd receiving element is used for receiving and processing equipment and uses state information in response to the system resource of solicited message feedback.
Further, the client that is used for the test web site performance also comprises: map unit, be used for after the website test result in response to many webpage test request that reception server returns, use between state information and the website test result in system resource and set up mapping relations; Analytic unit is used for using state information and website test result that web site performance is analyzed according to the system resource with mapping relations.
According to the application's another aspect, a kind of server for the test web site performance is provided, it comprises: receiving element, be used for receiving the testing requirement information that client sends, wherein, testing requirement information comprises many webpage test request; Processing unit is used for responding in batches many webpage test request, and carries out in batches the web site performance test that many webpage test request are asked; Transmitting element is used for the website test result of batch process is sent to client.
Further, receiving element is used for receiving many webpage test request according to the speed that the user arranges.
According to the application's another aspect, a kind of system for the test web site performance is provided, it comprises: aforesaid for the client of test web site performance with for the server of testing web site performance.
By the application's technical scheme, can reach following beneficial effect:
1) by Batch sending with process many webpage test request, avoid webpage of every test is all needed the problem of manual operations one time, thereby reduced the testing time, simplified operation;
2) by the speed of control transmission webpage test request, can be implemented in the web site performance test that can simulate on the client under the different clients environment, saved like this hardware device of test;
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Description of drawings
Accompanying drawing described herein is used to provide the further understanding to the application, consists of the application's a part, and the application's illustrative examples and explanation thereof are used for explaining the application, do not consist of the improper restriction to the application.In the accompanying drawings:
Fig. 1 is a kind of preferred structure schematic diagram according to the system that is used for the test web site performance of the embodiment of the present application;
Fig. 2 is the structural representation according to the client that is used for the test web site performance of the embodiment of the present application;
Fig. 3 is a kind of preferred structure schematic diagram according to the client of the embodiment of the present application;
Fig. 4 is the another kind of preferred structure schematic diagram according to the client of the embodiment of the present application;
Fig. 5 is the structural representation according to the server that is used for the test web site performance of the embodiment of the present application;
Fig. 6 is the another kind of preferred structure schematic diagram according to the system that is used for the test web site performance of the embodiment of the present application;
Fig. 7 is a kind of preferred flow charts according to the method that is used for the test web site performance of the embodiment of the present application.
Embodiment
Hereinafter also describe in conjunction with the embodiments the application in detail with reference to accompanying drawing.Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Before the further details of each embodiment that describes the application, a suitable counting system structure of the principle that can be used for realizing the application is described with reference to Fig. 1.In the following description, except as otherwise noted, otherwise each embodiment of the application is described with reference to the symbolic representation of the action of being carried out by one or more computers and operation.Thus, be appreciated that this class action and the operation that sometimes are called as the computer execution comprise that the processing unit of computer is to representing the manipulation of the signal of telecommunication of data with structured form.This manipulation transforms data or the position in the accumulator system of computer safeguard it, the operation of computer is reshuffled or changed to this mode of all understanding with those skilled in the art.The data structure of service data is the physical location of memory with defined particular community of form of data.Yet although describe the application in above-mentioned context, it does not also mean that restrictively, and as understood by those skilled in the art, the each side of hereinafter described action and operation also available hardware realizes.
Turn to accompanying drawing, wherein identical reference number refers to identical element, and the application's principle is shown in the suitable computing environment and realizes.Below describe the embodiment based on described the application, and should not think to limit the application about the alternative embodiment clearly do not described herein.
Fig. 1 shows the schematic diagram of an example computer architecture that can be used for these equipment.For purposes of illustration, the architecture of painting only is an example of proper environment, is not that the scope of application or function to the application proposes any limitation.This computing system should be interpreted as that arbitrary assembly shown in Figure 1 or its combination are had any dependence or demand yet.
The application's principle can or dispose with other universal or special calculating or communication environment and operate.The example that is applicable to the application's well-known computing system, environment and configuration includes but not limited to, personal computer, server, multicomputer system, the system based on little processing, minicomputer, mainframe computer and the distributed computing environment (DCE) that comprises arbitrary said system or equipment.
In its most basic configuration, the system 100 that is used for the test web site performance among Fig. 1 comprises at least: server 102 and an one or more client 104 for the test web site performance that is used for the test web site performance.Server 102 can include but not limited to Micro-processor MCV or programmable logic device FPGA etc. processing unit, be used for storage data storage device and with the transmitting device of client communication; Client 104 can comprise: Micro-processor MCV, with the transmitting device of server communication, with the display unit of user interactions.In the present specification and claims, the system of web site performance " be used for test " also can be defined as can executive software, firmware or microcode come any nextport hardware component NextPort of practical function or the combination of nextport hardware component NextPort.Be used for the system 100 of test web site performance even can be distributed, to realize distributed function.
As used in this application, term " module ", " assembly " or " unit " can refer to software object or the routine in system's 100 execution that are used for the test web site performance.Different assembly described herein, module, unit, engine and service can be implemented as object or the process of carrying out (for example, as independent thread) in the system 100 that is used for the test web site performance.Although system and method described herein realizes with software that preferably the realization of the combination of hardware or software and hardware also may and be conceived.
Embodiment 1
As shown in Figure 1, the system 100 for the test web site performance comprises: server 102 and an one or more client 104 for the test web site performance that is used for the test web site performance.Preferably, the server 102 that is used for the test web site performance can be the server of website, also can be other servers different from the server of website.
In the process of test web site performance, client 104 can but be not limited to receive the testing requirement information of user's input, wherein, described testing requirement information comprises many webpage test request, certainly, client 104 can also receive above-mentioned testing requirement information from other network elements.Client 104 sends described many webpage test request to server 102 when receiving test trigger signal.Server 102 responds described many webpage test request in batches after receiving many webpage test request, and carry out in batches the web site performance test that described many webpage test request are asked, then the website test result with batch process sends to client 104.Above-described embodiment is by Batch sending and process many webpage test request, has avoided webpage of every test is all needed the problem of manual operations one time, thereby has reduced the testing time, has simplified operation.
Describe respectively for the client and server of testing web site performance below in conjunction with accompanying drawing.
Fig. 2 is the structural representation according to the client that is used for the test web site performance of the embodiment of the present application, as shown in Figure 2, the client that is used for the test web site performance comprises: the first receiving element 202, be used for receiving testing requirement information, wherein, described testing requirement information comprises many webpage test request; The first transmitting element 204, be used for when described the first receiving element receives test trigger signal, send described many webpage test request to server, so that described server is carried out the web site performance test that described many webpage test request are asked, wherein, above-mentioned server can be the server of website, also can be other servers different from the server of website, in addition, as a kind of preferred scheme, the first transmitting element 204 also can directly send described many webpage test request to server after the first receiving element receives testing requirement information, and sends after need not by the time receiving test trigger signal again; The second receiving element 206 is used for receiving the website test result in response to described many webpage test request that described server returns.Above-described embodiment is by Batch sending and process many webpage test request, has avoided webpage of every test is all needed the problem of manual operations one time, thereby has reduced the testing time, has simplified operation.
The application is also improving aspect the different client of simulation, a kind of preferred client is provided, as shown in Figure 3, it is on the basis of client shown in Figure 2, further comprise: setting unit 208 is used for according to the demand of user's input the speed that sends many webpage test request being set; Control unit 210 is used for controlling according to set speed the transmission of described many webpage test request when described the first transmitting element sends described many webpage test request to server.By the speed of control transmission webpage test request, can be implemented in the web site performance test that can simulate on the client under the different clients environment, saved like this hardware device of test.
The step that the demand that setting unit 208 is inputted according to the user arranges the speed that sends many webpage test request comprises: setting unit 208 arranges the speed of many webpage test request according to the maximum thread of the bandwidth in the demand of described user's input and concurrent request.
Preferably, can the delay that system is used for transmission be set according to the maximum thread of the bandwidth in the demand of described user's input and concurrent request, reach the purpose of the speed that many webpage test request are set, step is as follows particularly:
1) bandwidth of simulation=concurrent request maximum thread * single request peak transfer rate (r/s).
2) single request peak transfer rate simulation algorithm: the bandwidth of hypothetical simulation is r, and each makes a call to a timestamp before request is initiated and after the acting server termination receipts, obtains the transmission time (ts0 of this request, ts1, ts2...), and (the b0 of computation requests data volume, b1, b2...); When
Figure BDA0000100248850000051
And (sum (ts0+ts1+ts2+...)<1000), then system delay=1000-sum (ts0+ts1+ts2+...).
Particularly, the general bandwidth of large-scale office network is gigabit, and current demand is that to want the analog network actual bandwidth be 256k; Calculate according to above-mentioned algorithm, the a certain moment, webpage is initiated 3 requests, each makes a call to a timestamp before each request is initiated and after the acting server termination receipts, the transmission time that obtains request is 10ms, 80ms, 520ms, and the request data quantity size that calculates each transmission is 5k, 38k, 340k; According to And 10ms+80ms+520ms<1s meets the precondition that algorithm calculates, and then system need to arrange and postpone 1000-(10+80+520)=390ms.This is the Delay computing situation of current time, and along with the variation of time, instant number of request and initiation time constantly change, and then the delay of program end setting also constantly changes.
For so that the test result of web site performance can be by accurate analysis, the application sends the system resource information of the treatment facility of webpage test request when also having obtained and having recorded the test web site performance.To achieve these goals, the application also provides a kind of preferred client, as shown in Figure 4, it is on the basis of client shown in Figure 2, client also comprises: the second transmitting element 212, be used for when described the first transmitting element sends described many webpage test request to server, send solicited message to the treatment facility that sends described many webpage test request, wherein, described treatment facility can be arranged in client, also can be arranged in other network equipments, described request information is used for asking the current system resource of described treatment facility to use state information, for example, this system resource uses state information can include but not limited to following content: system CPU occupancy rate, process is used information, memory usage; The 3rd receiving element 214 is used for receiving described treatment facility and uses state information in response to the system resource of described request information feedback.
In client shown in Figure 4, client can also comprise: map unit 216, be used for receiving after the website test result in response to described many webpage test request that described server returns, use between state information and the described website test result in described system resource and set up mapping relations; Analytic unit 218 is used for using state information and described website test result that described web site performance is analyzed according to the described system resource with mapping relations.In the present embodiment, use state information by obtaining the corresponding system resource of website test result, can between website test result and current system resource use state information, carry out related so that follow-up analysis is more accurate.
For example, above-mentioned analysis can comprise:
1) under different system hardwares and network condition, the distribution of analyzing web page load time data is refined the different levels user to the experience result of webpage;
2) obtain structure of web page according to test, the analytical performance bottleneck point, too much excessive such as picture number, thus compress and delete with Optimal performance;
3) by implementing for a long time the response time monitoring of webpage, analyze the webpage performance change under the similar environment of different times, to determine that webpage is at the continuous performance bottleneck that presents gradually during upgrading.
The application also provides a kind of preferred alarm scheme, and it can notify the user when the website test result is not good.Particularly, after the website test result that receives in response to described many webpage test request, the client in above-mentioned each preferred embodiment judges whether described test result surpasses threshold value, if surpass, and outputting alarm signal then.
Fig. 5 is the structural representation according to the server that is used for the test web site performance of the embodiment of the present application, as shown in Figure 5, the server that is used for the test web site performance comprises: receiving element 502, be used for receiving the testing requirement information that client sends, wherein, described testing requirement information comprises many webpage test request; Processing unit 504, be used for responding in batches described many webpage test request, and batch is carried out the web site performance test that described many webpage test request are asked, preferably, webpage test request in the present embodiment is one and comprises webpage URL to be measured (web page address), browser type, testing time, the packet of buffer memory etc. information whether during test, wherein, carry out the web site performance test process can but be not limited to comprise following process: extract the URL in many webpage test request, utilize this URL access and download corresponding webpage, to the response time of webpage, speeds of download etc. are monitored etc.; Transmitting element 506 is used for the website test result of batch process is sent to described client.
Above-described embodiment is by many webpage test request of batch process, avoided webpage of every test is all needed the problem of manual operations one time, thereby reduced the testing time, simplified operation.
The webpage test request of the different rates of sending for the client that receives simulation, the application also provides a kind of preferred receiving element, and this receiving element is used for receiving described many webpage test request according to the speed that the user arranges.
The system that is used for the test web site performance as shown in Figure 1 can comprise above-mentioned any one client and server, and the application does not do restriction to this.
Certainly, the framework of the system that is used for the test web site performance among the application is not limited only to above description, can also be framework as shown in Figure 6, and it comprises test display platform and a plurality of execution machine.
As shown in Figure 6, the test display platform comprises: " transmission test request ", " displaying test result ", " test result early warning " three unit, wherein, " transmission test request " unit can send test request to a plurality of execution machines simultaneously.Test request is a packet of buffer memory etc. information whether when comprising webpage URL to be measured (web page address), browser type, testing time, test.
The execution machine comprises: three performance elements, i.e. " test master control " (carrying out the machine core), " network agent " and " web browser "." test master control end " receives and resolves the test request that " test display platform " sends, drive web browser according to testing requirement and open webpage, webpage is submitted the http request of resource downloading to the website service end, all these http requests all can be passed through " network agent " server, acting server is according to through wherein http request quantity and data package size, dynamically adjust network-induced delay, the network bandwidth is controlled in the fixing scope.
Simultaneously, " test master control end " can ask quantity, type, content etc. to analyze the formation of webpage according to the http that webpage sends, such as obtaining the DOM number of objects, calculate the accounting of picture, pattern, script file, extract cookie information, analyze dns resolution quantity etc.In addition, the response time that " test master control end " also can calculate webpage is such as the full page load time; And extract the relevant resource utilization ratio information of browser process by the API of system, such as CPU usage, memory usage etc.
After " test master control end " and " network agent end " is disposed and obtains data, separately these data are sent to " displaying test result " unit.This unit is illustrated in test result on " data display platform ".
" test result early warning " unit checks test result according to the threshold values of predefined Various types of data index, then provides alert to the user as surpassing threshold values.Be 2s such as pre-defined threshold values of response time, if actual test result exceeds 2s, then show warning in " displaying test result ", and send mail reminder etc.
Preferably, the process that the webpage response time obtains comprises: the target pages outside in the needs test is packed a html page page1 again, the variable v1 of a holding time stamp of this html page head (head) zone definitions, iframe of definition in the html body, its src (source, source) points to the page to be tested; At the variable v2 of another holding time stamp of the last definition of body (main body), then calculate the difference of v2 and v1, the value of v2-v1 is kept among the Hidden field input_hidden; When reality is tested, open the page1 page by the UI automatized script, get access to the fully loading response time of target pages by the value that extracts input_hidden.
Preferably, the process that web page resources obtains comprises: directly adopt the UI automation framework webdriver that increases income, obtain by the dom control on the analyzing web page.
Preferably, the process of http acquisition request comprises: the http acting server is actually a socket server, when the link information of this acting server is set in the browser, http connects by interception, the http message that parsing is intercepted, extract the content in the http head, just can get access to the url address of following content: http request; The request with domain name; The request with cookie information; Whether the http response is compressed; The cookie information that the http response is carried; The http answer code; Http resource response type etc.
Embodiment 2
Test the basis of client, server and the system of web site performance in Fig. 1-shown in Figure 6 being used for, the application also provides a kind of method for the test web site performance, and as shown in Figure 7, the method that is used for the test web site performance comprises the steps:
S702 receives testing requirement information, and wherein, described testing requirement information comprises many webpage test request; Preferably, can by the testing requirement information of client user input, perhaps, receive above-mentioned testing requirement information from other network elements;
S704 when receiving test trigger signal, sends described many webpage test request to server, so that described server is carried out the web site performance test that described many webpage test request are asked; Preferably, server is carried out the web site performance test that described many webpage test request are asked in batches; Preferably, above-mentioned server can be the server of website, also can be other servers different from the server of website, in addition, as a kind of preferred scheme, also can after receiving testing requirement information, directly send described many webpage test request to server, and send again after need not by the time receiving test trigger signal;
S706 receives the website test result in response to described many webpage test request.
Above-described embodiment is by Batch sending and process many webpage test request, has avoided webpage of every test is all needed the problem of manual operations one time, thereby has reduced the testing time, has simplified operation.
The application is also improving aspect the different client of simulation, and a kind of step that preferably sends described many webpage test request to server is provided, and it comprises: the demand according to user's input arranges the speed that sends many webpage test request; Send described many webpage test request according to set speed to server.By the speed of control transmission webpage test request, can be implemented in the web site performance test that can simulate on the client under the different clients environment, saved like this hardware device of test.
Preferably, the application provides a kind of method that transmission rate preferably is set.Particularly, the step that the demand of inputting according to the user arranges the speed that sends many webpage test request comprises: the speed that many webpage test request are set according to the maximum thread of the bandwidth in the demand of described user's input and concurrent request.
The application also provides a kind of preferred alarm method, and it can notify the user when the website test result is not good.Particularly, receive after the website test result in response to described many webpage test request, the method that is used for the test web site performance also comprises: judge whether described test result surpasses threshold value; If surpass, outputting alarm signal then.
For so that the test result of web site performance can be by accurate analysis, the system resource information of used client when the application has also obtained and recorded the test web site performance.To achieve these goals, when sending described many webpage test request to server, the method that is used for the test web site performance also comprises: send solicited message to the treatment facility that sends described many webpage test request, wherein, described request information is used for asking the current system resource of described treatment facility to use state information; Receive described treatment facility and use state information in response to the system resource of described request information feedback.
Preferably, receive after the website test result in response to described many webpage test request, the method that is used for the test web site performance also comprises: use between state information and the described website test result in described system resource and set up mapping relations; Use state information and described website test result that described web site performance is analyzed according to the described system resource with mapping relations.In the present embodiment, use state information by obtaining the corresponding system resource of website test result, can between website test result and current system resource use state information, carry out related so that follow-up analysis is more accurate.
Obviously, those skilled in the art should be understood that, each module of above-mentioned the application or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the application is not restricted to any specific hardware and software combination.
The above is the application's preferred embodiment only, is not limited to the application, and for a person skilled in the art, the application can have various modifications and variations.All within the application's spirit and principle, any modification of doing, be equal to replacement, improvement etc., all should be included within the application's the protection range.

Claims (13)

1. a method that is used for the test web site performance is characterized in that, comprising:
Receive testing requirement information, wherein, described testing requirement information comprises many webpage test request;
Send described many webpage test request to server, so that described server is carried out the web site performance test that described many webpage test request are asked;
Reception is in response to the website test result of described many webpage test request.
2. method according to claim 1 is characterized in that, the step that sends described many webpage test request to server comprises:
Demand according to user's input arranges the speed that sends many webpage test request;
Send described many webpage test request according to set speed to described server.
3. method according to claim 2 is characterized in that, the step that the speed that sends many webpage test request is set according to the demand of user input comprises:
The speed of many webpage test request is set according to the maximum thread of the bandwidth in the demand of described user's input and concurrent request.
4. method according to claim 1 is characterized in that, receives after the website test result in response to described many webpage test request, also comprises:
Judge whether described test result surpasses threshold value;
If surpass, outputting alarm signal then.
5. method according to claim 1 is characterized in that, when sending described many webpage test request to described server, also comprises:
Send solicited message to the treatment facility that sends described many webpage test request, wherein, described request information is used for asking the current system resource of described treatment facility to use state information;
Receive described treatment facility and use state information in response to the system resource of described request information feedback.
6. method according to claim 5 is characterized in that, receives after the website test result in response to described many webpage test request, also comprises:
Between described system resource use state information and described website test result, set up mapping relations;
Use state information and described website test result that described web site performance is analyzed according to the described system resource with mapping relations.
7. a client that is used for the test web site performance is characterized in that, comprising:
The first receiving element is used for receiving testing requirement information, and wherein, described testing requirement information comprises many webpage test request;
The first transmitting element is used for sending described many webpage test request to server, so that described server is carried out the web site performance test that described many webpage test request are asked;
The second receiving element is used for receiving the website test result in response to described many webpage test request that described server returns.
8. client according to claim 7 is characterized in that, also comprises:
Setting unit is used for according to the demand of user's input the speed that sends many webpage test request being set;
Control unit is used for controlling according to set speed the transmission of described many webpage test request when described the first transmitting element sends described many webpage test request to described server.
9. client according to claim 7 is characterized in that, also comprises:
The second transmitting element, be used for when described the first transmitting element sends described many webpage test request to described server, send solicited message to the treatment facility that sends described many webpage test request, wherein, described request information is used for asking the current system resource of described treatment facility to use state information;
The 3rd receiving element is used for receiving described treatment facility and uses state information in response to the system resource of described request information feedback.
10. client according to claim 9 is characterized in that, also comprises:
Map unit is used for receiving after the website test result in response to described many webpage test request that described server returns, and uses between state information and the described website test result in described system resource and sets up mapping relations;
Analytic unit is used for using state information and described website test result that described web site performance is analyzed according to the described system resource with mapping relations.
11. a server that is used for the test web site performance is characterized in that, comprising:
Receiving element is used for receiving the testing requirement information that client sends, and wherein, described testing requirement information comprises many webpage test request;
Processing unit is used for responding in batches described many webpage test request, and carries out in batches the web site performance test that described many webpage test request are asked;
Transmitting element is used for the website test result of batch process is sent to described client.
12. server according to claim 11 is characterized in that, described receiving element is used for receiving described many webpage test request according to the speed that the user arranges.
13. system that is used for the test web site performance, it is characterized in that, comprise: each described client for the test web site performance in one or more claims 7 to 10, and, one or more claims 11 or 12 described servers for the test web site performance.
CN201110319103.0A 2011-10-19 2011-10-19 For testing the method for web site performance, client, server and system Active CN103067214B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110319103.0A CN103067214B (en) 2011-10-19 2011-10-19 For testing the method for web site performance, client, server and system
HK13107315.8A HK1180140A1 (en) 2011-10-19 2013-06-24 Method, client, server and system for testing website performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110319103.0A CN103067214B (en) 2011-10-19 2011-10-19 For testing the method for web site performance, client, server and system

Publications (2)

Publication Number Publication Date
CN103067214A true CN103067214A (en) 2013-04-24
CN103067214B CN103067214B (en) 2016-08-03

Family

ID=48109683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110319103.0A Active CN103067214B (en) 2011-10-19 2011-10-19 For testing the method for web site performance, client, server and system

Country Status (2)

Country Link
CN (1) CN103067214B (en)
HK (1) HK1180140A1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544103A (en) * 2013-09-02 2014-01-29 烟台中科网络技术研究所 Method and system for test, simulation and concurrence of software performance
CN104268266A (en) * 2014-10-11 2015-01-07 北京国双科技有限公司 Webpage access request sending method and device
CN104320285A (en) * 2014-11-06 2015-01-28 中国建设银行股份有限公司 Website running status monitoring method and device
CN104750471A (en) * 2013-12-30 2015-07-01 上海格尔软件股份有限公司 WEB page performance detection and analysis plug-in and method based on browser
CN105095070A (en) * 2015-04-03 2015-11-25 中国科学院信息工程研究所 Method and system for obtaining QQ group data base on test assembly of browser
WO2016033765A1 (en) * 2014-09-03 2016-03-10 华为技术有限公司 Webpage automatic test method and apparatus
CN105450465A (en) * 2014-09-04 2016-03-30 上海福网信息科技有限公司 Website pressure and performance testing method and tool
CN105471674A (en) * 2015-11-20 2016-04-06 珠海多玩信息技术有限公司 Method and system for testing performance of server
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN106681926A (en) * 2017-01-05 2017-05-17 网易(杭州)网络有限公司 Method and device for testing webpage performances
CN107643978A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 The method and apparatus of function of application test
CN108183837A (en) * 2017-12-19 2018-06-19 广州供电局有限公司 Web site performance monitoring method and system
CN108259266A (en) * 2017-12-19 2018-07-06 广州供电局有限公司 Web site performance monitoring method and system
CN109586988A (en) * 2017-09-28 2019-04-05 中国移动通信有限公司研究院 A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
CN113994274A (en) * 2019-04-10 2022-01-28 豪倍公司 Network pressure testing
CN115333920A (en) * 2022-08-12 2022-11-11 北京天融信网络安全技术有限公司 Alarm testing method and device, electronic equipment and computer readable storage medium
CN115333920B (en) * 2022-08-12 2024-04-23 北京天融信网络安全技术有限公司 Alarm test method, alarm test device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070118640A1 (en) * 2005-11-21 2007-05-24 Ebay Inc. Techniques for measuring above-the-fold page rendering
CN101056212A (en) * 2006-04-10 2007-10-17 上海欣泰通信技术有限公司 Method for Web page ADSL test via push technology
CN101217419A (en) * 2007-12-28 2008-07-09 西安西电捷通无线网络通信有限公司 A distributed IP network performance test method
CN101635655A (en) * 2008-07-25 2010-01-27 阿里巴巴集团控股有限公司 Method, device and system for page performance test
CN101848116A (en) * 2010-04-21 2010-09-29 中国海洋大学 Simple and quick automatic pressure test method of Web server
CN101882107A (en) * 2010-06-28 2010-11-10 山东中创软件商用中间件股份有限公司 Method and device for automatically testing WEB (World Wide Web) application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070118640A1 (en) * 2005-11-21 2007-05-24 Ebay Inc. Techniques for measuring above-the-fold page rendering
CN101056212A (en) * 2006-04-10 2007-10-17 上海欣泰通信技术有限公司 Method for Web page ADSL test via push technology
CN101217419A (en) * 2007-12-28 2008-07-09 西安西电捷通无线网络通信有限公司 A distributed IP network performance test method
CN101635655A (en) * 2008-07-25 2010-01-27 阿里巴巴集团控股有限公司 Method, device and system for page performance test
CN101848116A (en) * 2010-04-21 2010-09-29 中国海洋大学 Simple and quick automatic pressure test method of Web server
CN101882107A (en) * 2010-06-28 2010-11-10 山东中创软件商用中间件股份有限公司 Method and device for automatically testing WEB (World Wide Web) application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
万陆: "《小议电子商务网站的系统性能和测试》", 《计算机与网络》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544103A (en) * 2013-09-02 2014-01-29 烟台中科网络技术研究所 Method and system for test, simulation and concurrence of software performance
CN104750471A (en) * 2013-12-30 2015-07-01 上海格尔软件股份有限公司 WEB page performance detection and analysis plug-in and method based on browser
CN104750471B (en) * 2013-12-30 2020-05-05 格尔软件股份有限公司 WEB page performance detection, acquisition and analysis plug-in and method based on browser
WO2016033765A1 (en) * 2014-09-03 2016-03-10 华为技术有限公司 Webpage automatic test method and apparatus
CN105450465A (en) * 2014-09-04 2016-03-30 上海福网信息科技有限公司 Website pressure and performance testing method and tool
CN104268266A (en) * 2014-10-11 2015-01-07 北京国双科技有限公司 Webpage access request sending method and device
CN104268266B (en) * 2014-10-11 2017-12-19 北京国双科技有限公司 The method and apparatus for sending web access requests
CN104320285A (en) * 2014-11-06 2015-01-28 中国建设银行股份有限公司 Website running status monitoring method and device
CN105095070B (en) * 2015-04-03 2017-12-19 中国科学院信息工程研究所 QQ group's data capture method and system based on browser testing component
CN105095070A (en) * 2015-04-03 2015-11-25 中国科学院信息工程研究所 Method and system for obtaining QQ group data base on test assembly of browser
CN105897497A (en) * 2015-07-20 2016-08-24 广州华多网络科技有限公司 Interface test method, application device and service device
CN105471674A (en) * 2015-11-20 2016-04-06 珠海多玩信息技术有限公司 Method and system for testing performance of server
CN105471674B (en) * 2015-11-20 2019-04-23 珠海多玩信息技术有限公司 The method and system of testing server performance
CN107643978A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 The method and apparatus of function of application test
CN106681926A (en) * 2017-01-05 2017-05-17 网易(杭州)网络有限公司 Method and device for testing webpage performances
CN109586988A (en) * 2017-09-28 2019-04-05 中国移动通信有限公司研究院 A kind of webpage opens time delay measuring method, the network equipment and intelligent gateway
CN108259266A (en) * 2017-12-19 2018-07-06 广州供电局有限公司 Web site performance monitoring method and system
CN108183837A (en) * 2017-12-19 2018-06-19 广州供电局有限公司 Web site performance monitoring method and system
CN108183837B (en) * 2017-12-19 2020-08-14 广州供电局有限公司 Website performance monitoring method and system
CN113994274A (en) * 2019-04-10 2022-01-28 豪倍公司 Network pressure testing
CN113994274B (en) * 2019-04-10 2024-03-29 豪倍公司 Network pressure testing
CN115333920A (en) * 2022-08-12 2022-11-11 北京天融信网络安全技术有限公司 Alarm testing method and device, electronic equipment and computer readable storage medium
CN115333920B (en) * 2022-08-12 2024-04-23 北京天融信网络安全技术有限公司 Alarm test method, alarm test device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
HK1180140A1 (en) 2013-10-11
CN103067214B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN103067214A (en) Method, client, server and system used for testing web site performance
CN100524279C (en) Method, system and device for interferring server state in a stateless communication protocol
CN102244594B (en) At the networks simulation technology manually and in automatic testing instrument
US9112808B2 (en) Devices, systems, and methods for providing data
US8335838B2 (en) Web page load time prediction and simulation
CN108574604B (en) Test method and device
CN102480392B (en) Performance test device and working method thereof
US20090064173A1 (en) Content management
CN104750471A (en) WEB page performance detection and analysis plug-in and method based on browser
CN103825783A (en) Test method and device
CN103873293B (en) A kind of healthprobe device and method
US20180316743A1 (en) Intelligent data transmission by network device agent
CN105516261A (en) Web page loading control method and load balancer
WO2017074471A1 (en) Tracking contention in a distributed business transaction
CN102868938B (en) A kind of method and apparatus for being used to obtain segmented video files in network
US20170220218A1 (en) Automatic Generation of Regular Expression Based on Log Line Data
CN111147330A (en) Network quality evaluation method and device, storage medium and processor
EP3329407A1 (en) Application centric network experience monitoring
CN103139004B (en) Network speed limit instrument is utilized to simulate the method and system of the network bandwidth
US8745245B1 (en) System and method for offline detection
EP1265398A1 (en) Proces for personalizing a transaction through an internet or intranet network
CN116776030A (en) Gray release method, device, computer equipment and storage medium
CN108965386B (en) Identification method and device for shared access terminal
CN106209435A (en) The monitor method of request queue and device
CN107104997A (en) A kind of reorientation method, terminal and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1180140

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1180140

Country of ref document: HK