CN103139004A - Method and system for simulating network bandwidth by using network rate-limiting tool - Google Patents

Method and system for simulating network bandwidth by using network rate-limiting tool Download PDF

Info

Publication number
CN103139004A
CN103139004A CN2011103960292A CN201110396029A CN103139004A CN 103139004 A CN103139004 A CN 103139004A CN 2011103960292 A CN2011103960292 A CN 2011103960292A CN 201110396029 A CN201110396029 A CN 201110396029A CN 103139004 A CN103139004 A CN 103139004A
Authority
CN
China
Prior art keywords
network
speed limit
network bandwidth
browser
network speed
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
CN2011103960292A
Other languages
Chinese (zh)
Other versions
CN103139004B (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 CN201110396029.2A priority Critical patent/CN103139004B/en
Publication of CN103139004A publication Critical patent/CN103139004A/en
Priority to HK13108818.8A priority patent/HK1181581A1/en
Application granted granted Critical
Publication of CN103139004B publication Critical patent/CN103139004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for simulating network bandwidth by using a network rate-limiting tool. The method and the system for simulating the network bandwidth by using the network rate-limiting tool are used for obtaining webpage basic adjustment response time of a website product in a performance test process of the website product. The method for simulating the network bandwidth by using the network rate-limiting tool includes the following steps: connecting a testing end browser with a website under test through the network rate-limiting tool and the network and the website under test is provided with the website product, connecting the testing end browser with a performance testing tool, enabling the network rate-limiting tool to conducting simulating configuration for a client network bandwidth condition, enabling the performance testing tool to simulate user behaviors to visit the website under test to execute a performance test for a server of the website under test through the testing end browser under the network bandwidth condition after configuration, and obtaining the webpage basic adjustment response time corresponding to the simulated client network bandwidth condition. According to the method and the system for simulating the network bandwidth by using the network rate-limiting tool, a website product performance test solution which is feasible and low in cost is provided, and no independent network environment or devices are needed.

Description

Utilize the method and system of the network speed limit instrument simulation network bandwidth
Technical field
The application relates to a kind of website product test technology, especially relate to a kind of network speed limit instrument simulation network bandwidth that utilizes to obtain the method and system of the performance index such as webpage keynote response time, wherein the webpage keynote response time refers to that webpage played up the needed time of all page elements.
Background technology
Performance test plays an important role in the quality assurance of software, and its testing tool simulation by automation is normal, peak value and the multiple loading condition such as abnormal are tested the property indices of system.For networking products, the webpage keynote response time is exactly one of important indicator of performance test analysis reference.Due to the network environment more complicated of China, the network in different areas exists very large difference.Therefore the service of goods business when releasing a website product, not only needs to be concerned about product in response speed and the operation conditions of good net environment, equally also more will pay close attention to product in response speed and the operation conditions of inferior net environment.And at the test phase of website product, because causing performance test, the diversity of client user's network bandwidth environment is difficult to cover comprehensive network environment one of the biggest problem of running into of tester often.
For this problem, the general solution of industry inside is to reach the purpose of network speed in the restriction local area network (LAN) by the configuration of adjusting the network equipment (such as router etc.) now.
Thisly come the method shortcoming of regulating networks speed fairly obvious by physical equipments such as routers, it has not only expended expensive hardware resource: independent network environment and the network equipment of cover need to be provided; And consumed more human cost: need input and the coordination of a plurality of departments, comprise test organization and O﹠M department etc.; And its reproduction to client user's network bandwidth environment complicated and changeable is also not fully up to expectations.
Summary of the invention
The application is intended to solve in website product test process because the abundant diversity of simulant-client user network bandwidth environment causes the performance index data such as webpage keynote response time of the test product that obtains and is difficult to cover the problem of comprehensive network environment.For this reason, the application proposes a kind of method and system of utilizing the different network bandwidth of network speed limit instrument simulation, in order to realize the abundant simulation to client user's complex network bandwidth environment of reality in website product test process.
For achieving the above object, the application provides a kind of method of utilizing the network speed limit instrument simulation network bandwidth, be used for obtaining the webpage keynote response time of this website product in the properties of product test process of website, the method comprises the following steps: with the test lead browser via network speed limit instrument and network and provide the tested website UNICOM of described website product, and this test lead browser and performance testing tool UNICOM; Carried out the analog configuration of client network bandwidth condition by this network speed limit instrument, and under the network bandwidth condition after configuration, access tested website to carry out the performance test for tested Website server by this performance testing tool modelling customer behavior by this test lead browser operation, obtain the webpage keynote response time corresponding with the client network bandwidth condition of simulating.
An embodiment according to the application, wherein, the analog configuration that this network speed limit instrument carries out the client network bandwidth condition comprises the following steps: the network bandwidth condition of being set client by this performance testing tool, produce and send corresponding band width configuration control signal to the network speed limit instrument, make this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth condition of the client of setting.
An embodiment according to the application, wherein, the method is further comprising the steps of: at first, before carrying out the configuration of network bandwidth condition simulation and performance test step, start the original analog configuration that this network speed limit instrument carries out the client network bandwidth condition, and automatically start this test lead browser by this performance testing tool.
An embodiment according to the application, wherein, the performance test that this performance testing tool is carried out for tested Website server comprises the following steps: produce the access request signal by this performance testing tool, and send this access request signal by this test lead browser; Under the network bandwidth condition after configuration, this access request signal is sent to this tested Website server via network, this tested Website server produces response signal after the request of completing is processed, and with this response signal along reverse this performance testing tool that is back to of same paths; And this performance testing tool obtains respectively the time of advent of transmitting time He this response signal of this access request signal, and the time difference between the time of advent by calculating described response signal and the transmitting time of described access request signal obtains the described webpage keynote response time.
An embodiment according to the application, wherein, this performance testing tool sends this access request signal by this test lead browser and comprises the following steps with the response signal that obtains tested website: by built-in Http acting server Intercept Interview request and the response contents of this performance testing tool, resolve network packet information, extract the content of http head, with all page resources that obtain tested webpage and the response time of asking each page resource to be spent; And by the dom control on the webpage of resolving tested website, obtain the page resource in tested website, and drive page control execution predefined operation.
According to the application's a embodiment, wherein, this tested Website server comprises the following steps this response signal along reverse this performance testing tool that is back to of same paths: produce and send this response signal to network; And under the network bandwidth condition after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, then be sent to this performance testing tool.
According to the application's a embodiment, wherein, the bandwidth of the local runtime program of the test lead browser process of this network speed limit instrument by limiting this test lead browser is carried out the analog configuration of client user's multiple different network bandwidth condition.
According to the application's a embodiment, wherein, this network speed limit instrument limits the network speed of the tested website of this test lead browser process access by the data package transmission velocity that limits this test lead browser process.
According to the application's a embodiment, wherein, this test lead browser process is general IE, FireFox or Chrome.
For achieving the above object, the application provides also a kind of system that utilizes the network speed limit instrument simulation network bandwidth, be used for obtaining the webpage keynote response time of this website product in the properties of product test process of website, this system comprises test lead browser, network speed limit instrument and performance testing tool, wherein this test lead browser is in order to via network speed limit instrument and network and provide the tested website UNICOM of described website product, and this test lead browser and performance testing tool UNICOM; This network speed limit instrument is in order to carry out the analog configuration of client network bandwidth condition; And this performance testing tool is in order under the network bandwidth condition after configuration, modelling customer behavior is accessed tested website to carry out the performance test for tested Website server by this test lead browser operation, obtains the webpage keynote response time corresponding with the client network bandwidth condition of simulating.
An embodiment according to the application, wherein, before carrying out the configuration of network bandwidth condition simulation and performance test step, at first this network speed limit instrument is activated to carry out the original analog configuration of client network bandwidth condition, and this test lead browser is started automatically by this performance testing tool.
An embodiment according to the application, wherein, this performance testing tool comprises: the band width configuration control module, in order to set the network bandwidth condition of client, produce and send corresponding band width configuration control signal to this network speed limit instrument, make this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth condition of the client of setting.
An embodiment according to the application, wherein, this performance testing tool comprises: signal sending/receiving module, produce the access request signal and send this access request signal by this test lead browser, under the network bandwidth condition after configuration, this access request signal is sent to this tested Website server via network, and receive the response signal that this tested Website server produces after completing the response processing, wherein this response signal is along the reverse signal sending/receiving module that is back to this performance testing tool of same paths; And time-obtaining module, obtain respectively the time of advent of transmitting time He this response signal of this access request signal, the time difference between the time of advent by calculating described response signal and the transmitting time of described access request signal obtains the described webpage keynote response time.
An embodiment according to the application, wherein, this performance testing tool also comprises: the http acting server, link and resolve http message by the interception Test Host with http between tested website, extract the content in the http head, obtain impact and analyze the significant data of tested Website server performance, the url, request that described significant data comprises request with cookie information, the return code of response, whether response is compressed and respond the cookie information of carrying; And the Internet resources acquisition module, the dom control by on the webpage of resolving tested website obtains the page resource in tested website, and drives page control execution predefined operation.
An embodiment according to the application, wherein, this tested Website server produces and sends this response signal to network, and under the network bandwidth condition after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, then be sent to the signal sending/receiving module of this performance testing tool.
According to the application's a embodiment, wherein, this network speed limit instrument carries out the analog configuration of client user's multiple different network bandwidth condition by the bandwidth of the local runtime program of restriction test lead browser process.
According to the application's a embodiment, wherein, this network speed limit instrument limits the network speed of the tested website of this test lead browser process access by the data package transmission velocity that limits this test lead browser process.
According to the application's a embodiment, wherein, this test lead browser process is general IE, FireFox or Chrome.
The application has proposed a kind of general feasible and solution cheaply: utilize network speed limit instrument simulation heterogeneous networks bandwidth condition to obtain the webpage keynote response time on the basis of theory research integration project practice.This scheme is not only ingenious has solved the difficult problem in the performance test, and has lowered input cost, and it no longer needs independently network environment and equipment, and the basic using method that only needs the tester to grasp the network speed limit instrument just can reach the test effect.
Description of drawings
Fig. 1 is the functional block diagram according to the method for utilizing the different network bandwidth of network speed limit instrument simulation of the application's embodiment
Fig. 2 is the flow chart according to the key step of the method for utilizing the different network bandwidth of network speed limit instrument simulation of the application's embodiment
Fig. 3 is the block diagram according to the configuration of the system that utilizes the different network bandwidth of network speed limit instrument simulation of the application's embodiment
Fig. 4 is the data flow diagram in the system that utilizes the different network bandwidth of network speed limit instrument simulation shown in Figure 3
Embodiment
The precondition of the application's scheme implementation is the use by the network speed limit instrument.Network speed limit instrument in industry is similar at present, can support local network to upload the limitation function of speed of download.The network speed limit instrument that the application uses in practice process is supported the limit bandwidth to the local runtime program, based on this function, just can simulate different subscription client network environments by the network bandwidth that different test lead browser process (such as IE, FireFox and Chrome etc.) is set.
In existing network speed limit instrument, at present the many of use is
Figure BDA0000115583740000051
A few money softwares of operating room's distribution.AppBand and BwLock come from this website.The application's network speed limit instrument also can be selected AppBand bandwidth scheduling device, and reason is the network speed that it can limit the test lead browser process, and smaller and more exquisite, takies resource less.
Fig. 1 is the functional block diagram according to the method for utilizing the different network bandwidth of network speed limit instrument simulation of the application's embodiment.
As shown in Figure 1, the application's method is by utilizing the different network bandwidth of network speed limit instrument simulation as can be known, be used for obtaining the webpage keynote response time of this website product in the properties of product test process of website, the method comprises the following steps: with the test lead browser via network speed limit instrument and network and provide the tested website UNICOM of described website product, and this test lead browser and performance testing tool UNICOM; Carried out the analog configuration of client network bandwidth condition by this network speed limit instrument, and under the network bandwidth condition after configuration, access tested website to carry out the performance test for tested Website server by this performance testing tool modelling customer behavior by this test lead browser operation, obtain the webpage keynote response time corresponding with the client network bandwidth condition of simulating.
Fig. 2 is the flow chart according to the key step of the method for utilizing the different network bandwidth of network speed limit instrument simulation of the application's embodiment.
As shown in Figure 2, the application's method mainly comprises the following steps:
S1: at first, start the network speed limit instrument, the client network bandwidth condition is carried out initial configuration;
S2: do as one likes can start the test lead browser by testing tool automatically;
S3: do as one likes can be set new client network bandwidth condition by testing tool, produces and send the band width configuration control signal corresponding with this client network bandwidth condition to the network speed limit instrument, and produces and send the access request signal to the test lead browser;
S4: the network speed limit instrument is according to this band width configuration control signal configuration network bandwidth condition (namely carrying out the analog configuration of client network bandwidth condition), with the data package transmission velocity of restriction test lead browser process, thereby reach the purpose that restriction test lead browser process is accessed the network speed of tested website;
S5: under the network bandwidth condition after configuration, this performance testing tool is sent to this tested Website server with this access request signal via network;
S6: this tested Website server produces response signal after the request of completing is processed, then with this response signal along reverse this performance testing tool that is back to of same paths; And
S7: this performance testing tool is obtained respectively the time of advent of transmitting time He this response signal of this access request signal, time difference between the time of advent by calculating described response signal and the transmitting time of described access request signal is calculated the access time that each page elements spends, to obtain the described webpage keynote response time.
S8: the network bandwidth condition whether inquiry needs to continue to test other if necessary, repeats step S3 to S7, if do not need the end of whole processing procedure.
Wherein, in step S4, the bandwidth of the local runtime program of the test lead browser process of this network speed limit instrument by limiting this test lead browser is carried out the analog configuration of client user's multiple different network bandwidth condition.Particularly, this network speed limit instrument limits the network speed of the tested website of this test lead browser process access by the data package transmission velocity that limits this test lead browser process.Wherein this test lead browser process is general IE, FireFox or Chrome.
In step S5, this performance testing tool sends this access request signal by this test lead browser and comprises the following steps with the response signal that obtains tested website: by built-in Http acting server Intercept Interview request and the response contents of this performance testing tool, resolve network packet information, extract the content of http head, with all page resources that obtain tested webpage and the response time of asking each page resource to be spent; And by the dom control on the webpage of resolving tested website, obtain the page resource in tested website, and drive page control execution predefined operation.
Wherein, resolving http message, parsing dom control and computing net page base accent these three steps of response time is all to complete by the inner function module of performance testing tool.
In step S6, this tested Website server comprises the following steps this response signal along reverse this performance testing tool that is back to of same paths: produce and send this response signal to network; And under the network bandwidth condition after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, then be sent to this performance testing tool.
Find out from Fig. 1 and Fig. 2, the application's scheme first started the network speed limit instrument before carrying out conventional performance test, and then configured the network bandwidth condition that will simulate; Restart afterwards the test lead browser, the execution performance test finally obtains the important performance indexes data such as webpage keynote response time.
Fig. 3 is the block diagram according to the configuration of the system that utilizes the different network bandwidth of network speed limit instrument simulation of the application's embodiment.
As shown in Figure 3, the application's system utilizes the network speed limit instrument simulation network bandwidth, be used for obtaining the webpage keynote response time of this website product in the properties of product test process of website, this system comprises test lead browser, network speed limit instrument and performance testing tool, wherein this test lead browser is in order to via this network speed limit instrument and network and provide the tested website UNICOM of described website product, and this test lead browser and this performance testing tool UNICOM; This network speed limit instrument is in order to carry out the analog configuration of client network bandwidth condition; And this performance testing tool is in order under the network bandwidth condition after configuration, modelling customer behavior is accessed tested website to carry out the performance test for tested Website server by this test lead browser operation, obtains the webpage keynote response time corresponding with the client network bandwidth condition of simulating.
Wherein, before carrying out the configuration of network bandwidth condition simulation and performance test step, at first this network speed limit instrument is activated to carry out the original analog configuration of client network bandwidth condition, and this test lead browser can be started automatically by this performance testing tool.
Continue to consult Fig. 3, an embodiment according to the application, this performance testing tool can comprise: the band width configuration control module, in order to set the network bandwidth condition of client, produce and send corresponding band width configuration control signal to the network speed limit instrument, configuration file by revising the network speed limit instrument makes this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth condition of the client of setting to reach specific network speed requirement; Signal sending/receiving module, produce the access request signal and send this access request signal by this test lead browser, under the network bandwidth condition after configuration, this access request signal is sent to this tested Website server via network, and receive the response signal that this tested Website server produces after the request completed is processed, wherein this response signal is along the reverse signal sending/receiving module that is back to this performance testing tool of same paths; And time-obtaining module, obtain respectively the time of advent of transmitting time He this response signal of this access request signal, time difference between the time of advent by calculating described response signal and the transmitting time of described access request signal is calculated the access time that each page elements spends, to obtain the described webpage keynote response time.
This performance testing tool also can comprise: the http acting server, link and resolve http message by the interception Test Host with http between tested website, extract the content in the http head, obtain impact and analyze the significant data of tested Website server performance, described significant data such as the url that comprises request, request with cookie information, the return code of response, whether response is compressed and respond the cookie information of carrying etc.; And the Internet resources acquisition module, by the dom control on the webpage of resolving tested website, obtain the page web page resources in tested website, and drive page space execution predefined operation.Wherein, resolving http message, parsing dom control and computing net page base accent these three steps of response time is all to complete by the inner function module of performance testing tool.
This tested Website server produces and sends this response signal to network after receiving the access request signal that sends from network and completing the request processing, and under the network bandwidth condition after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, then be sent to the signal sending/receiving module of this performance testing tool.
Wherein, this network speed limit instrument adopts non-Open-Source Tools, and the bandwidth of the local runtime program by restriction test lead browser process is carried out the analog configuration of client user's multiple different network bandwidth condition.Particularly, this network speed limit instrument limits the network speed of the tested website of this test lead browser process access by the data package transmission velocity that limits this test lead browser process.Wherein this test lead browser is supported each main flow test lead browser, and this test lead browser process is general IE, FireFox or Chrome etc.
Fig. 4 is the data flow diagram in the system that utilizes the different network bandwidth of network speed limit instrument simulation shown in Figure 3.
As shown in Figure 4, internal data flow structure in the application system is also very clear, the access request signal comes from the performance testing tool of the end of exerting pressure, between through the test lead browser, and carry out signal and process and transmit under the condition of network speed limit instrument limiting network bandwidth, and finally arrive by the Website server of pressure side; Subsequently, server with response signal along the reverse performance testing tool that returns to of same paths, performance testing tool by the calculated response signal the time of advent and the time difference between the transmitting time of access request signal obtain these important performance index data of webpage keynote response time.
The application's product test is same with the actual motion network of network and website product, need not additional configuration independently network environment and equipment.
The application's system also can comprise a test lead main frame, and wherein above-mentioned test lead browser, performance testing tool and network speed limit instrument all can be arranged on this test lead main frame, and this performance testing tool and network speed limit instrument can software form be realized.This test lead can be described as the end of exerting pressure, and this test lead main frame also can be called " the machine " or " forcing press ", and corresponding with it, this tested website can be described as by pressure side.
As embodiments of the invention, the application's network bandwidth analogue technique can be applied in one-stop performance test engine.This one-stop performance test engine is collected in order to provide performance test efficiently to carry out with monitored results easily, and generates report the test, and the pattern of its distributed operation makes the simulation of large pressure access accomplished.The performance of front end test module that wherein adopts is the functional module of the related system that utilizes the network speed limit instrument simulation network bandwidth of the application, and it can the helpdesk realization analyze the full neighborhood covering of web site performance test of user experience analysis from server performance.
Alternatively, except the technology that adopts the application, this one-stop performance test engine can also comprise following performance of front end measuring technology and scheme:
1) data gripping tool, it can be Firebug, grasps dom tree and http the transmission of data in webpage based on the plug-in unit of firefox and IE test lead browser;
2) based on the webpage Performance Score instrument of firefox, it can be Yslow, carries out this scoring based on the firefox test lead browser plug-in of firebug plug-in unit according to the webpage principle of optimality, is only applicable to firefox;
3) based on the webpage Performance Evaluation instrument of windows desktop client end, it can be Dynatrace ajax, be used for the webpage performance of windows desktop client end is assessed, grasp by response time, the data such as timeline, javascript hotspot of different latitude to webpage; Be applicable at present IE and Firefox.
Should be appreciated that, the data that focus on of above-mentioned three schemes are extracted and analysis itself, do not pay close attention to user environment; And the application's the system that utilizes the network speed limit instrument simulation network bandwidth is except paying close attention to concrete webpage performance data, also pay close attention to the user test end browser environment (as test lead browser process CPU usage and memory usage) of test, and network environment for use that can analog subscriber.
In sum, the application's technical scheme is by means of the network speed limit instrument, ingeniously solved how to obtain the difficult problem that the off line page base of different network bandwidth environment is transferred these performance index data of response time in the performance test process.It does not need to drop into extra hardware resource and human cost, need not additional configuration independently network environment and equipment, only need understand the realization approach of this programme, grasp the using method of corresponding tool and can complete test target on the actual motion network of website product.
Although the front by reference to the accompanying drawings and a plurality of exemplary embodiments of the application are specifically described, is understandable that, within the spirit and scope of the principle of present disclosure, those skilled in the art can derive many other variations and embodiment fully.Especially, can the combination that arranges to assembly and/or annex carry out multiple changes and improvements in the scope of the disclosure, accompanying drawing and claims.Except the changes and improvements of assembly and/or annex, other selectable application are also apparent to those skilled in the art.

Claims (18)

1. method of utilizing the network speed limit instrument simulation network bandwidth is used for obtaining webpage keynote response time of this website product in the properties of product test process of website, the method comprises the following steps:
With the test lead browser via network speed limit instrument and network and provide the tested website UNICOM of described website product, and this test lead browser and performance testing tool UNICOM;
Carried out the analog configuration of client network bandwidth condition by this network speed limit instrument, and
Under the network bandwidth condition after configuration, access tested website to carry out the performance test for tested Website server by this performance testing tool modelling customer behavior by this test lead browser operation, obtain the webpage keynote response time corresponding with the client network bandwidth condition of simulating.
2. the method for utilizing the network speed limit instrument simulation network bandwidth according to claim 1, wherein, the method is further comprising the steps of:
At first, before carrying out the configuration of network bandwidth condition simulation and performance test step, start the original analog configuration that this network speed limit instrument carries out the client network bandwidth condition, and automatically start this test lead browser by this performance testing tool.
3. the method for utilizing the network speed limit instrument simulation network bandwidth according to claim 1, wherein, the analog configuration that this network speed limit instrument carries out the client network bandwidth condition comprises the following steps:
Set the network bandwidth condition of client by this performance testing tool, produce and send corresponding band width configuration control signal to this network speed limit instrument, make this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth condition of the client of setting.
4. the method for utilizing the network speed limit instrument simulation network bandwidth according to claim 1, wherein, the performance test that this performance testing tool is carried out for tested Website server comprises the following steps:
Produce the access request signal by this performance testing tool, and send this access request signal by this test lead browser;
Under the network bandwidth condition after configuration, this access request signal is sent to this tested Website server via network, this tested Website server produces response signal after the request of completing is processed, and with this response signal along reverse this performance testing tool that is back to of same paths; And
This performance testing tool is obtained respectively the time of advent of transmitting time He this response signal of this access request signal, and the time difference between the time of advent by calculating described response signal and the transmitting time of described access request signal obtains the described webpage keynote response time.
5. the method for utilizing the network speed limit instrument simulation network bandwidth according to claim 4, wherein, this performance testing tool sends this access request signal by this test lead browser and comprises the following steps with the response signal that obtains tested website:
By built-in Http acting server Intercept Interview request and the response contents of this performance testing tool, resolve network packet information, extract the content of http head, with all page resources that obtain tested webpage and the response time of asking each page resource to be spent; And
Dom control by on the webpage of resolving tested website obtains the page resource in tested website, and drives page control execution predefined operation.
6. the method for utilizing the network speed limit instrument simulation network bandwidth according to claim 4, wherein, this tested Website server comprises the following steps this response signal along reverse this performance testing tool that is back to of same paths:
Produce and send this response signal to network; And
Under the network bandwidth condition after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, then be sent to this performance testing tool.
7. the method for utilizing the network speed limit instrument simulation network bandwidth according to claim 1, wherein, the bandwidth of the local runtime program of the test lead browser process of this network speed limit instrument by limiting this test lead browser is carried out the analog configuration of client user's multiple different network bandwidth condition.
8. the method for utilizing the network speed limit instrument simulation network bandwidth according to claim 7, wherein, this network speed limit instrument limits the network speed of the tested website of this test lead browser process access by the data package transmission velocity that limits this test lead browser process.
9. the according to claim 7 or 8 described methods of utilizing the network speed limit instrument simulation network bandwidth, wherein, this test lead browser process is general IE, FireFox or Chrome.
10. system that utilizes the network speed limit instrument simulation network bandwidth is used for obtaining webpage keynote response time of this website product in the properties of product test process of website, this system comprises test lead browser, network speed limit instrument and performance testing tool, wherein
This test lead browser is in order to via this network speed limit instrument and network and provide the tested website UNICOM of described website product, and this test lead browser and this performance testing tool UNICOM;
This network speed limit instrument is in order to carry out the analog configuration of client network bandwidth condition; And
This performance testing tool is in order under the network bandwidth condition after configuration, modelling customer behavior is accessed tested website to carry out the performance test for tested Website server by this test lead browser operation, obtains the webpage keynote response time corresponding with the client network bandwidth condition of simulating.
11. the system that utilizes the network speed limit instrument simulation network bandwidth according to claim 10, wherein, before carrying out the configuration of network bandwidth condition simulation and performance test step, at first this network speed limit instrument is activated to carry out the original analog configuration of client network bandwidth condition, and this test lead browser is started automatically by this performance testing tool.
12. the system that utilizes the network speed limit instrument simulation network bandwidth according to claim 10, wherein, this performance testing tool comprises:
The band width configuration control module, in order to set the network bandwidth condition of client, produce and send corresponding band width configuration control signal to this network speed limit instrument, make this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth condition of the client of setting.
13. the system that utilizes the network speed limit instrument simulation network bandwidth according to claim 10, wherein, this performance testing tool comprises:
Signal sending/receiving module, produce the access request signal and send this access request signal by this test lead browser, under the network bandwidth condition after configuration, this access request signal is sent to this tested Website server via network, and receive the response signal that this tested Website server produces after the request completed is processed, wherein this response signal is along the reverse signal sending/receiving module that is back to this performance testing tool of same paths; And
Time-obtaining module, obtain respectively the time of advent of transmitting time He this response signal of this access request signal, the time difference between the time of advent by calculating described response signal and the transmitting time of described access request signal obtains the described webpage keynote response time.
14. the system that utilizes the network speed limit instrument simulation network bandwidth according to claim 13, wherein, this performance testing tool also comprises:
The http acting server, link and resolve http message by the interception Test Host with http between tested website, extract the content in the http head, obtain impact and analyze the significant data of tested Website server performance, the url, request that described significant data comprises request with cookie information, the return code of response, whether response is compressed and respond the cookie information of carrying; And
The Internet resources acquisition module, the dom control by on the webpage of resolving tested website obtains the page resource in tested website, and drives page control execution predefined operation.
15. the system that utilizes the network speed limit instrument simulation network bandwidth according to claim 13, wherein, this tested Website server produces and sends this response signal to network, and under the network bandwidth condition after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, then be sent to the signal sending/receiving module of this performance testing tool.
16. the system that utilizes the network speed limit instrument simulation network bandwidth according to claim 10, wherein, this network speed limit instrument carries out the analog configuration of client user's multiple different network bandwidth condition by the bandwidth of the local runtime program of restriction test lead browser process.
17. the system that utilizes the network speed limit instrument simulation network bandwidth according to claim 16, wherein, the data package transmission velocity of this test lead browser process of this network speed limit instrument by limiting this test lead browser limits the network speed of the tested website of this test lead browser process access.
18. the according to claim 16 or 17 described systems that utilize the network speed limit instrument simulation network bandwidth, wherein, this test lead browser process is general IE, FireFox or Chrome.
CN201110396029.2A 2011-12-02 2011-12-02 Network speed limit instrument is utilized to simulate the method and system of the network bandwidth Active CN103139004B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110396029.2A CN103139004B (en) 2011-12-02 2011-12-02 Network speed limit instrument is utilized to simulate the method and system of the network bandwidth
HK13108818.8A HK1181581A1 (en) 2011-12-02 2013-07-29 Method and system for simulating network bandwidth by using network speed limiting tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110396029.2A CN103139004B (en) 2011-12-02 2011-12-02 Network speed limit instrument is utilized to simulate the method and system of the network bandwidth

Publications (2)

Publication Number Publication Date
CN103139004A true CN103139004A (en) 2013-06-05
CN103139004B CN103139004B (en) 2015-11-25

Family

ID=48498343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110396029.2A Active CN103139004B (en) 2011-12-02 2011-12-02 Network speed limit instrument is utilized to simulate the method and system of the network bandwidth

Country Status (2)

Country Link
CN (1) CN103139004B (en)
HK (1) HK1181581A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681926A (en) * 2017-01-05 2017-05-17 网易(杭州)网络有限公司 Method and device for testing webpage performances
CN108112058A (en) * 2018-01-08 2018-06-01 北京城乡建设集团有限责任公司 A kind of access control method and wireless access device
CN108259266A (en) * 2017-12-19 2018-07-06 广州供电局有限公司 Web site performance monitoring method and system
CN112929914A (en) * 2021-02-03 2021-06-08 叮当快药科技集团有限公司 System and method for network link simulation auxiliary test
CN113141283A (en) * 2021-06-22 2021-07-20 中国电子信息产业集团有限公司第六研究所 Network flow simulation test method, system and environment construction method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561036A (en) * 2004-02-24 2005-01-05 华中科技大学 Network station server performance test system based on TPC-W benchmark
CN101282247A (en) * 2007-04-27 2008-10-08 清华大学 Method for measuring network application performance supporting internet high bandwidth real time video application
CN102244594A (en) * 2010-05-15 2011-11-16 微软公司 Network emulation in manual and automated testing tools

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561036A (en) * 2004-02-24 2005-01-05 华中科技大学 Network station server performance test system based on TPC-W benchmark
CN101282247A (en) * 2007-04-27 2008-10-08 清华大学 Method for measuring network application performance supporting internet high bandwidth real time video application
CN102244594A (en) * 2010-05-15 2011-11-16 微软公司 Network emulation in manual and automated testing tools

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
熊军军: "B/S架构应用软件性能测试问题研究", 《电脑开发与应用》, vol. 23, no. 2, 28 February 2010 (2010-02-28), pages 58 - 60 *
袁冰,操云甫: "Web客户端应用程序性能测试自动化研究", 《计算机测量与控制》, vol. 8, no. 12, 31 December 2004 (2004-12-31) *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681926A (en) * 2017-01-05 2017-05-17 网易(杭州)网络有限公司 Method and device for testing webpage performances
CN108259266A (en) * 2017-12-19 2018-07-06 广州供电局有限公司 Web site performance monitoring method and system
CN108112058A (en) * 2018-01-08 2018-06-01 北京城乡建设集团有限责任公司 A kind of access control method and wireless access device
CN108112058B (en) * 2018-01-08 2020-09-15 北京城乡建设集团有限责任公司 Network access control method and wireless access device
CN112929914A (en) * 2021-02-03 2021-06-08 叮当快药科技集团有限公司 System and method for network link simulation auxiliary test
CN113141283A (en) * 2021-06-22 2021-07-20 中国电子信息产业集团有限公司第六研究所 Network flow simulation test method, system and environment construction method
CN113141283B (en) * 2021-06-22 2021-08-17 中国电子信息产业集团有限公司第六研究所 Network flow simulation test method, system and environment construction method

Also Published As

Publication number Publication date
CN103139004B (en) 2015-11-25
HK1181581A1 (en) 2013-11-08

Similar Documents

Publication Publication Date Title
US8365188B2 (en) Content management
CN102244594B (en) At the networks simulation technology manually and in automatic testing instrument
US8775603B2 (en) Method and system for testing variations of website content
KR102076862B1 (en) Network performance indicator visualization method and apparatus, and system
CN103067214B (en) For testing the method for web site performance, client, server and system
US9075914B2 (en) Analytics driven development
WO2017144432A1 (en) Cloud verification and test automation
US20120221407A1 (en) Systems, Methods, and Media for Executing and Optimizing Online Marketing Initiatives
CN104750471A (en) WEB page performance detection and analysis plug-in and method based on browser
CN103139004B (en) Network speed limit instrument is utilized to simulate the method and system of the network bandwidth
CN102684934A (en) Method and system for monitoring property of web application program and web server
CN103377077A (en) Method and system for evaluating the resiliency of a distributed computing service by inducing a latency
CN103139006A (en) Web service based automated testing device and method
CN104301148A (en) User behavior recording method based on website access
CN116781563A (en) Evaluation device, evaluation method and evaluation system for webpage service fine granularity
CN102684925B (en) Method and device for acquiring internet access source information
US20080162687A1 (en) Data acquisition system and method
CN114285760A (en) Webpage access quality evaluation method and device
CN103902441A (en) Method and device for carrying out testing processing on mobile web application
US11611497B1 (en) Synthetic web application monitoring based on user navigation patterns
CN107317723B (en) Data processing method and server
CN108268370B (en) Website quality analysis method, device and system based on Referer and template library matching
CN105701175B (en) A kind of data capture method and device
CN112559278B (en) Method and device for acquiring operation data
CN109960552A (en) A kind of web interface differentiation rendering method and device

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: 1181581

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: 1181581

Country of ref document: HK