CN103139004B - Network speed limit instrument is utilized to simulate the method and system of the network bandwidth - Google Patents

Network speed limit instrument is utilized to simulate the method and system of the network bandwidth Download PDF

Info

Publication number
CN103139004B
CN103139004B CN201110396029.2A CN201110396029A CN103139004B CN 103139004 B CN103139004 B CN 103139004B CN 201110396029 A CN201110396029 A CN 201110396029A CN 103139004 B CN103139004 B CN 103139004B
Authority
CN
China
Prior art keywords
network
speed limit
network bandwidth
browser
test lead
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.)
Active
Application number
CN201110396029.2A
Other languages
Chinese (zh)
Other versions
CN103139004A (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

Abstract

A kind of method and system utilizing network speed limit instrument to simulate the 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: by test lead browser via network speed limit instrument and network and the tested website UNICOM providing described website product, and this test lead browser and performance testing tool UNICOM; The analog configuration of client network bandwidth condition is carried out by this network speed limit instrument, and under network bandwidth conditions upon configuration, access tested website to perform 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 simulated client network bandwidth condition.Present applicant proposes a kind of general feasible and website properties of product test Solution of low cost, no longer need independently network environment and equipment.

Description

Network speed limit instrument is utilized to simulate the method and system of the 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 that utilizes and simulate the network bandwidth 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 has played up the time required for all page elements.
Background technology
Performance test plays an important role in the quality assurance of software, and it is normal by the simulation of the testing tool of automation, peak value and the property indices of multiple loading condition to system such as abnormal are tested.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 also exists very large difference.Therefore service of goods business is when release website product, not only needs to be concerned about the response speed of product under excellent network environment and operation conditions, equally also more will pay close attention to the response speed of product under inferior network environment and operation conditions.And at the test phase of website product, cause performance test to be difficult to cover comprehensive network environment one of the biggest problem of running into of tester often due to the diversity of client user network bandwidth environment.
For this problem, the general solution of industry inside is the object being reached network speed in restriction local area network (LAN) by the configuration of the adjustment network equipment (such as router etc.) now.
This to carry out the method shortcoming of regulating networks speed by physical equipments such as routers fairly obvious, and it not only consumes expensive hardware resource: need to provide a set of independent network environment and the network equipment; And consuming more human cost: the input and the coordination that need multiple department, comprise test organization and O&M department etc.; And it is also not fully up to expectations to the reproduction of client user network bandwidth environment complicated and changeable.
Summary of the invention
The application be intended to solve in website product test process due to cannot fully simulant-client user network bandwidth environment diversity and cause the performance index data such as the webpage keynote response time of obtained test product to be difficult to cover the problem of comprehensive network environment.For this reason, the application proposes a kind of method and system utilizing network speed limit instrument to simulate the different network bandwidths, in order to realize the abundant simulation of the client user's complex network bandwidth environment to reality in website product test process.
For achieving the above object, the application provides a kind of method utilizing network speed limit instrument to simulate the 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: by test lead browser via network speed limit instrument and network and the tested website UNICOM providing described website product, and this test lead browser and performance testing tool UNICOM; The analog configuration of client network bandwidth condition is carried out by this network speed limit instrument, and under network bandwidth conditions upon configuration, access tested website to perform 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 simulated client network bandwidth condition.
According to an embodiment of the application, wherein, the analog configuration that this network speed limit instrument carries out client network bandwidth condition comprises the following steps: the network bandwidth conditions being set client by this performance testing tool, produce and send corresponding band width configuration control signal to network speed limit instrument, making this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth conditions of the client of setting.
According to an embodiment of the application, wherein, the method is further comprising the steps of: first, before carrying out network bandwidth conditions analog configuration and performance test step, start the original analog configuration that this network speed limit instrument carries out client network bandwidth condition, and automatically start this test lead browser by this performance testing tool.
According to an embodiment of the application, wherein, the performance test that this performance testing tool performs for tested Website server comprises the following steps: produce access request signal by this performance testing tool, and send this access request signal by this test lead browser; Under network bandwidth conditions upon configuration, this access request signal is sent to this tested Website server via network, this tested Website server produces response signal after completing request process, and this response signal is back to this performance testing tool along same paths is reverse; And this performance testing tool obtains the transmitting time of this access request signal and the time of advent of this response signal respectively, obtains the described webpage keynote response time by the time difference calculated between the time of advent of described response signal and the transmitting time of described access request signal.
According to an embodiment of 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 obtaining tested website: by built-in Http proxy 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 obtaining tested webpage and the response time of asking each page resource to spend; And by the dom control on the webpage of the tested website of parsing, obtain the page resource in tested website, and page control is driven to perform predefined operation.
According to an embodiment of the application, wherein, this response signal comprises the following steps along reverse this performance testing tool that is back to of same paths by this tested Website server: produce and send this response signal to network; And under the network bandwidth conditions after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, be then sent to this performance testing tool.
According to an embodiment of the application, wherein, this network speed limit instrument carries out the analog configuration of the multiple different network bandwidth conditions of client user by the bandwidth of the local runtime program limiting the test lead browser process of this test lead browser.
According to an embodiment of the application, wherein, this network speed limit instrument limits by the data package transmission velocity limiting this test lead browser process the network speed that this test lead browser process accesses tested website.
According to an embodiment of the application, 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 utilizing network speed limit instrument to simulate the 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 the tested website UNICOM providing 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 network bandwidth conditions upon configuration, modelling customer behavior accesses tested website to perform the performance test for tested Website server by this test lead browser operation, obtains the webpage keynote response time corresponding with simulated client network bandwidth condition.
According to an embodiment of the application, wherein, before carrying out network bandwidth conditions analog configuration and performance test step, first this network speed limit instrument is activated the original analog configuration carrying out client network bandwidth condition, and this test lead browser is started automatically by this performance testing tool.
According to an embodiment of the application, wherein, this performance testing tool comprises: band width configuration control module, in order to set the network bandwidth conditions of client, produce and send corresponding band width configuration control signal to this network speed limit instrument, making this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth conditions of the client of setting.
According to an embodiment of the application, wherein, this performance testing tool comprises: signal transmission/reception module, produce access request signal and send this access request signal by this test lead browser, under network bandwidth conditions upon configuration, this access request signal is sent to this tested Website server via network, and receive the response signal of this tested Website server generation after completing response process, wherein this response signal is along the reverse signal transmission/reception module being back to this performance testing tool of same paths; And time-obtaining module, obtain the transmitting time of this access request signal and the time of advent of this response signal respectively, obtain the described webpage keynote response time by the time difference calculated between the time of advent of described response signal and the transmitting time of described access request signal.
According to an embodiment of the application, wherein, this performance testing tool also comprises: http proxy server, to link with the http between tested website by interception Test Host and to resolve http message, extract the content in http head, obtain impact and analyze the significant data of tested Website server performance, described significant data comprise request url, ask with cookie information, the return code of response, response whether compress and respond the cookie information of carrying; And Internet resources acquisition module, by resolving the dom control on the webpage of tested website, obtain the page resource in tested website, and drive page control to perform predefined operation.
According to an embodiment of the application, wherein, this tested Website server produces and sends this response signal to network, and under the network bandwidth conditions after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, be then sent to the signal transmission/reception module of this performance testing tool.
According to an embodiment of the application, wherein, this network speed limit instrument carries out the analog configuration of the multiple different network bandwidth conditions of client user by the bandwidth of the local runtime program of restriction test lead browser process.
According to an embodiment of the application, wherein, this network speed limit instrument limits by the data package transmission velocity limiting this test lead browser process the network speed that this test lead browser process accesses tested website.
According to an embodiment of the application, wherein, this test lead browser process is general IE, FireFox or Chrome.
The application, on the basis that theoretical research integration project is put into practice, proposes a kind of general feasible and solution of low cost: utilize network speed limit instrument to simulate heterogeneous networks bandwidth condition to obtain the webpage keynote response time.This scheme is not only ingenious solves a difficult problem in performance test, and reduces input cost, and it no longer needs independently network environment and equipment, and the basic using method only needing tester to grasp network speed limit instrument just can reach test effect.
Accompanying drawing explanation
Fig. 1 simulates the functional block diagram of the method for the different network bandwidths according to the network speed limit instrument that utilizes of the embodiment of the application
Fig. 2 simulates the flow chart of the key step of the method for the different network bandwidths according to the network speed limit instrument that utilizes of the embodiment of the application
Fig. 3 simulates the block diagram of the configuration of the system of the different network bandwidths according to the network speed limit instrument that utilizes of the embodiment of the application
Fig. 4 is that data flow diagram in the system of the different network bandwidths simulated by the network speed limit instrument that utilizes shown in Fig. 3
Embodiment
The precondition of the application's scheme implementation is the use by network speed limit instrument.Network speed limit instrument in current industry is similar, can support that local network uploads the limitation function of speed of download.The network speed limit instrument that the application uses in practice process support limits the bandwidth of local runtime program, based on this function, just different subscription client network environments can be simulated by the network bandwidth arranging different test lead browser process (such as IE, FireFox and Chrome etc.).
In existing network speed limit instrument, current many be a few money softwares of operating room's distribution.AppBand and BwLock comes from this website.The network speed limit instrument of the application also can select AppBand bandwidth scheduler, and reason is that it can limit the network speed of test lead browser process, and smaller and more exquisite, takies resource less.
Fig. 1 simulates the functional block diagram of the method for the different network bandwidths according to the network speed limit instrument that utilizes of the embodiment of the application.
As shown in Figure 1, the method of known the application simulates the different network bandwidths by utilizing network speed limit instrument, 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: by test lead browser via network speed limit instrument and network and the tested website UNICOM providing described website product, and this test lead browser and performance testing tool UNICOM; The analog configuration of client network bandwidth condition is carried out by this network speed limit instrument, and under network bandwidth conditions upon configuration, access tested website to perform 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 simulated client network bandwidth condition.
Fig. 2 simulates the flow chart of the key step of the method for the different network bandwidths according to the network speed limit instrument that utilizes of the embodiment of the application.
As shown in Figure 2, the method for the application mainly comprises the following steps:
S1: first, starts network speed limit instrument, carries out initial configuration to client network bandwidth condition;
S2: automatically start test lead browser by performance testing tool;
S3: set new client network bandwidth condition by performance testing tool, produces and sends the band width configuration control signal corresponding with this client network bandwidth condition to network speed limit instrument, and produces and send access request signal to test lead browser;
S4: 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), to limit the data package transmission velocity of test lead browser process, thus reach the object that restriction test lead browser process accesses the network speed of tested website;
S5: under network bandwidth conditions upon configuration, this access request signal is sent to this tested Website server via network by this performance testing tool;
S6: this tested Website server produces response signal after completing request process, then this response signal is back to this performance testing tool along same paths is reverse; And
S7: this performance testing tool obtains the transmitting time of this access request signal and the time of advent of this response signal respectively, the access time that each page elements spends is calculated, to obtain the described webpage keynote response time by the time difference calculated between the time of advent of described response signal and the transmitting time of described access request signal.
S8: inquire about the network bandwidth conditions the need of continuing to test other, if needed, then repeat step S3 to S7, if do not needed, whole processing procedure terminates.
Wherein, in step s 4 which, this network speed limit instrument carries out the analog configuration of the multiple different network bandwidth conditions of client user by the bandwidth of the local runtime program limiting the test lead browser process of this test lead browser.Specifically, this network speed limit instrument limits by the data package transmission velocity limiting this test lead browser process the network speed that this test lead browser process accesses tested website.Wherein this test lead browser process is general IE, FireFox or Chrome.
In step s 5, this performance testing tool sends this access request signal by this test lead browser and comprises the following steps with the response signal obtaining tested website: by built-in Http proxy 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 obtaining tested webpage and the response time of asking each page resource to spend; And by the dom control on the webpage of the tested website of parsing, obtain the page resource in tested website, and page control is driven to perform predefined operation.
Wherein, resolving http message, resolving dom control and calculate these three steps of webpage keynote response time is all completed by the inner function module of performance testing tool.
In step s 6, this response signal comprises the following steps along reverse this performance testing tool that is back to of same paths by this tested Website server: produce and send this response signal to network; And under the network bandwidth conditions after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, be then sent to this performance testing tool.
Find out from Fig. 1 and Fig. 2, the scheme of the application first started network speed limit instrument before performing conventional performance test, and then configured the network bandwidth conditions that will simulate; Restart test lead browser afterwards, the important performance indexes data such as execution performance is tested, the final acquisition webpage keynote response time.
Fig. 3 simulates the block diagram of the configuration of the system of the different network bandwidths according to the network speed limit instrument that utilizes of the embodiment of the application.
As shown in Figure 3, the system of the application utilizes network speed limit instrument to simulate the 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 the tested website UNICOM providing 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 network bandwidth conditions upon configuration, modelling customer behavior accesses tested website to perform the performance test for tested Website server by this test lead browser operation, obtains the webpage keynote response time corresponding with simulated client network bandwidth condition.
Wherein, before carrying out network bandwidth conditions analog configuration and performance test step, first this network speed limit instrument is activated the original analog configuration carrying out client network bandwidth condition, and this test lead browser can be started automatically by this performance testing tool.
Continue to consult Fig. 3, according to an embodiment of the application, this performance testing tool can comprise: band width configuration control module, in order to set the network bandwidth conditions of client, produce and send corresponding band width configuration control signal to network speed limit instrument, by revising the configuration file of network speed limit instrument to reach specific network speed requirement, this network speed limit instrument is made to carry out the analog configuration of client network bandwidth condition according to the network bandwidth conditions of the client of setting; Signal transmission/reception module, produce access request signal and send this access request signal by this test lead browser, under network bandwidth conditions upon configuration, this access request signal is sent to this tested Website server via network, and receive the response signal of this tested Website server generation after completing request process, wherein this response signal is along the reverse signal transmission/reception module being back to this performance testing tool of same paths; And time-obtaining module, obtain the transmitting time of this access request signal and the time of advent of this response signal respectively, the access time that each page elements spends is calculated, to obtain the described webpage keynote response time by the time difference calculated between the time of advent of described response signal and the transmitting time of described access request signal.
This performance testing tool also can comprise: http proxy server, to link with the http between tested website by interception Test Host and to resolve http message, extract the content in http head, obtain impact and analyze the significant data of tested Website server performance, described significant data such as comprise request url, ask with cookie information, the return code of response, response whether compress and respond the cookie information etc. of carrying; And Internet resources acquisition module, by resolving the dom control on the webpage of tested website, obtain the Page web page resource in tested website, and drive page space to perform predefined operation.Wherein, resolving http message, resolving dom control and calculate these three steps of webpage keynote response time is all completed by the inner function module of performance testing tool.
This tested Website server is receiving the access request signal that sends from network and is producing after completing request process and send this response signal to network, and under the network bandwidth conditions after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, be then sent to the signal transmission/reception module of this performance testing tool.
Wherein, this network speed limit instrument adopts non-Open-Source Tools, is carried out the analog configuration of the multiple different network bandwidth conditions of client user by the bandwidth of the local runtime program of restriction test lead browser process.Specifically, this network speed limit instrument limits by the data package transmission velocity limiting this test lead browser process the network speed that this test lead browser process accesses tested website.Wherein each main flow test lead browser supported by this test lead browser, and this test lead browser process is general IE, FireFox or Chrome etc.
Fig. 4 is that data flow diagram in the system of the different network bandwidths simulated by the network speed limit instrument that utilizes shown in Fig. 3.
As shown in Figure 4, internal data flow structure in the application's system is also very clear, access request signal comes from the performance testing tool of end of exerting pressure, between through test lead browser, and carry out signal transacting and transmission under the condition of network speed limit instrument limiting network bandwidth, and finally arrive by the Website server of pressure side; Subsequently, response signal is returned to performance testing tool along same paths is reverse by server, and performance testing tool obtains these important performance index data of webpage keynote response time by the time difference between time of advent of calculated response signal and the transmitting time of access request signal.
The product test network of the application and the actual motion network of website product are same, need not additional configuration independently network environment and equipment.
The system of the application 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 realize in a software form.This test lead can be described as 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 network bandwidth analogue technique of the application can be applied in one-stop performance test engine.This one-stop performance test engine is collected with monitored results easily in order to provide performance test efficiently to perform, and generates report the test, and the simulation that the pattern of its distributed operation allows large pressure access is accomplished.The functional module of the system of the network bandwidth simulated by the performance of front end test module wherein adopted and the network speed limit instrument that utilizes involved by the application, and it can test full neighborhood covering by the web site performance of helpdesk realization from server performance evaluation to user experience analysis.
Alternatively, except adopting the technology of the application, this one-stop performance test engine can also comprise following performance of front end measuring technology and scheme:
1) data grabber instrument, it can be Firebug, and the dom captured in webpage of the plug-in unit based on firefox and IE test lead browser sets and http transmits data;
2) based on the webpage Performance Score instrument of firefox, it can be Yslow, and the firefox test lead browser plug-in based on firebug plug-in unit carries out this scoring according to front page optimization rule, is only applicable to firefox;
3) based on the webpage Performance Evaluation instrument of windows desktop client end, it can be Dynatraceajax, for assessing the webpage performance of windows desktop client end, capture by the data such as response time, timeline, javascripthotspot of different latitude to webpage; Be applicable to IE and Firefox at present.
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 network speed limit instrument that utilizes of the application simulates the system of the network bandwidth 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 can the Web vector graphic environment of analog subscriber.
In sum, the technical scheme of the application is by means of network speed limit instrument, and how ingenious solving in performance test process obtains the difficult problem that the off line page base of different network bandwidth environments adjusts these performance index data of response time.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, the using method grasping corresponding tool can complete test target on the actual motion network of website product.
Although specifically describe by reference to the accompanying drawings and to multiple exemplary embodiments of the application above, be understandable that, within the spirit and scope of the principle of present disclosure, those skilled in the art can derive many other change and embodiment completely.Especially, in the scope of the disclosure, accompanying drawing and claims, multiple changes and improvements can be carried out to the combination that arranges of assembly and/or annex.Except the changes and improvements of assembly and/or annex, other selectable application are also apparent to those skilled in the art.

Claims (16)

1. utilize network speed limit instrument to simulate the method for the 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:
By test lead browser via network speed limit instrument and network and the tested website UNICOM providing described website product, and this test lead browser and performance testing tool UNICOM;
The network bandwidth conditions of client is set by this performance testing tool, produce and send corresponding band width configuration control signal to this network speed limit instrument, this network speed limit instrument is made to carry out the analog configuration of client network bandwidth condition according to the network bandwidth conditions of the client of setting, and
Under network bandwidth conditions upon configuration, access tested website to perform 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 simulated client network bandwidth condition.
2. the method utilizing network speed limit instrument to simulate the network bandwidth according to claim 1, wherein, the method is further comprising the steps of:
First, before carrying out network bandwidth conditions analog configuration and performance test step, start the original analog configuration that this network speed limit instrument carries out client network bandwidth condition, and automatically start this test lead browser by this performance testing tool.
3. the method utilizing network speed limit instrument to simulate the network bandwidth according to claim 1, wherein, the performance test that this performance testing tool performs for tested Website server comprises the following steps:
Produce access request signal by this performance testing tool, and send this access request signal by this test lead browser;
Under network bandwidth conditions upon configuration, this access request signal is sent to this tested Website server via network, this tested Website server produces response signal after completing request process, and this response signal is back to this performance testing tool along same paths is reverse; And
This performance testing tool obtains the transmitting time of this access request signal and the time of advent of this response signal respectively, obtains the described webpage keynote response time by the time difference calculated between the time of advent of described response signal and the transmitting time of described access request signal.
4. the method utilizing network speed limit instrument to simulate the network bandwidth according to claim 3, wherein, this performance testing tool sends this access request signal by this test lead browser and comprises the following steps with the response signal obtaining tested website:
By built-in Http proxy 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 obtaining tested webpage and the response time of asking each page resource to spend; And
By resolving the dom control on the webpage of tested website, obtain the page resource in tested website, and drive page control to perform predefined operation.
5. the method utilizing network speed limit instrument to simulate the network bandwidth according to claim 3, wherein, this response signal comprises the following steps along reverse this performance testing tool that is back to of same paths by this tested Website server:
Produce and send this response signal to network; And
Under the network bandwidth conditions after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, be then sent to this performance testing tool.
6. the method utilizing network speed limit instrument to simulate the network bandwidth according to claim 1, wherein, this network speed limit instrument carries out the analog configuration of the multiple different network bandwidth conditions of client user by the bandwidth of the local runtime program limiting the test lead browser process of this test lead browser.
7. the method utilizing network speed limit instrument to simulate the network bandwidth according to claim 6, wherein, this network speed limit instrument limits by the data package transmission velocity limiting this test lead browser process the network speed that this test lead browser process accesses tested website.
8. the method for the network bandwidth simulated by the network speed limit instrument that utilizes according to claim 6 or 7, and wherein, this test lead browser process is general IE, FireFox or Chrome.
9. utilize network speed limit instrument to simulate the system of the 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 the tested website UNICOM providing 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 network bandwidth conditions upon configuration, modelling customer behavior accesses tested website to perform the performance test for tested Website server by this test lead browser operation, obtain the webpage keynote response time corresponding with simulated client network bandwidth condition, wherein
This performance testing tool comprises band width configuration control module, in order to set the network bandwidth conditions of client, produce and send corresponding band width configuration control signal to this network speed limit instrument, making this network speed limit instrument carry out the analog configuration of client network bandwidth condition according to the network bandwidth conditions of the client of setting.
10. the system utilizing network speed limit instrument to simulate the network bandwidth according to claim 9, wherein, before carrying out network bandwidth conditions analog configuration and performance test step, first this network speed limit instrument is activated the original analog configuration carrying out client network bandwidth condition, and this test lead browser is started automatically by this performance testing tool.
11. systems utilizing network speed limit instrument to simulate the network bandwidth according to claim 9, wherein, this performance testing tool comprises:
Signal transmission/reception module, produce access request signal and send this access request signal by this test lead browser, under network bandwidth conditions upon configuration, this access request signal is sent to this tested Website server via network, and receive the response signal of this tested Website server generation after completing request process, wherein this response signal is along the reverse signal transmission/reception module being back to this performance testing tool of same paths; And
Time-obtaining module, obtain the transmitting time of this access request signal and the time of advent of this response signal respectively, obtain the described webpage keynote response time by the time difference calculated between the time of advent of described response signal and the transmitting time of described access request signal.
12. systems utilizing network speed limit instrument to simulate the network bandwidth according to claim 11, wherein, this performance testing tool also comprises:
Http proxy server, to link with the http between tested website by interception Test Host and to resolve http message, extract the content in http head, obtain impact and analyze the significant data of tested Website server performance, described significant data comprise request url, ask with cookie information, the return code of response, response whether compress and respond the cookie information of carrying; And
Internet resources acquisition module, by resolving the dom control on the webpage of tested website, obtains the page resource in tested website, and drives page control to perform predefined operation.
13. systems utilizing network speed limit instrument to simulate the network bandwidth according to claim 11, wherein, this tested Website server produces and sends this response signal to network, and under the network bandwidth conditions after this network speed limit tool configuration, transmit this response signal to this test lead browser via network, be then sent to the signal transmission/reception module of this performance testing tool.
14. systems utilizing network speed limit instrument to simulate the network bandwidth according to claim 9, wherein, this network speed limit instrument carries out the analog configuration of the multiple different network bandwidth conditions of client user by the bandwidth of the local runtime program of restriction test lead browser process.
15. systems utilizing network speed limit instrument to simulate the network bandwidth according to claim 14, wherein, this network speed limit instrument limits by the data package transmission velocity of this test lead browser process limiting this test lead browser the network speed that this test lead browser process accesses tested website.
The system of the network bandwidth simulated by the 16. network speed limit instruments that utilize according to claims 14 or 15, and 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 CN103139004A (en) 2013-06-05
CN103139004B true 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)

Families Citing this family (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
CN108259266B (en) * 2017-12-19 2020-11-03 广东电网有限责任公司广州供电局 Website performance monitoring method and system
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
CN113141283B (en) * 2021-06-22 2021-08-17 中国电子信息产业集团有限公司第六研究所 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架构应用软件性能测试问题研究;熊军军;《电脑开发与应用》;20100228;第23卷(第2期);第58~60页 *
Web客户端应用程序性能测试自动化研究;袁冰,操云甫;《计算机测量与控制》;20041231;第8卷(第12期);第732~734,752页 *

Also Published As

Publication number Publication date
CN103139004A (en) 2013-06-05
HK1181581A1 (en) 2013-11-08

Similar Documents

Publication Publication Date Title
US10057136B2 (en) Method and apparatus for visualized network operation and maintenance
CN102244594B (en) At the networks simulation technology manually and in automatic testing instrument
CN102695187B (en) Distributed Web-based device and method for testing 6LoWPAN protocol consistency
CN103139004B (en) Network speed limit instrument is utilized to simulate the method and system of the network bandwidth
CN103051500B (en) A kind of method of testing of service network system and system
CN103067214B (en) For testing the method for web site performance, client, server and system
CN103377077A (en) Method and system for evaluating the resiliency of a distributed computing service by inducing a latency
CN101848116A (en) Simple and quick automatic pressure test method of Web server
CN104683182B (en) IDC network of computer room service quality detection method and device
CN106487906B (en) A kind of mobile Web application protocol switching method of context aware
CN103139006A (en) Web service based automated testing device and method
CN105306299A (en) Streaming media server performance test method and test system
CN104640125A (en) Method and device for assessing quality of WLAN (wireless local area network) business
CN116781563A (en) Evaluation device, evaluation method and evaluation system for webpage service fine granularity
CN114039899B (en) Method for realizing network performance test of WEB product based on Fiddler tool
CN102684925B (en) Method and device for acquiring internet access source information
US20080162687A1 (en) Data acquisition system and method
CN103902441A (en) Method and device for carrying out testing processing on mobile web application
CN105791043B (en) A kind of business network service experience automatic Evaluation of Quality method and system
US11611497B1 (en) Synthetic web application monitoring based on user navigation patterns
CN102918527B (en) Investigation method and system for web application hosting
CN115269415A (en) Interface test system and method based on simulation scene use case
Romano et al. Software testing for web-applications non-functional requirements
CN109960552A (en) A kind of web interface differentiation rendering method and device
JP5779616B2 (en) QoE evaluation apparatus, QoE evaluation method and program

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