CN104734918A - Lightweight webpage performance testing architecture and method - Google Patents
Lightweight webpage performance testing architecture and method Download PDFInfo
- Publication number
- CN104734918A CN104734918A CN201510131981.8A CN201510131981A CN104734918A CN 104734918 A CN104734918 A CN 104734918A CN 201510131981 A CN201510131981 A CN 201510131981A CN 104734918 A CN104734918 A CN 104734918A
- Authority
- CN
- China
- Prior art keywords
- node
- web
- deployment server
- virtual client
- performance test
- 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.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a lightweight webpage performance testing architecture and method, and relates to webpage performance testing technologies. The webpage performance testing architecture comprises a database deployment node, a web deployment server, an independent control node and a plurality of virtual client side nodes. The method includes the steps that the application scenario of concurrent access of a large number of users is simulated by concurrently generating a large number of virtual client side nodes; high-load generation is carried out on the web deployment server through the independent control node, and the virtual client side nodes get highly concurrent access to the web deployment server; a test case is arranged on the independent control node, and the mode and parameters of access to pages of the web deployment server by the virtual client side nodes are recorded through the test case. The disturbance of a testing environment is reduced to the minimum, the coupling degree of webpage programs is reduced, and the authenticity and analyzability of test results are improved.
Description
Technical field
The present invention relates to webpage Performance Testing Technology, is exactly a kind of lightweight webpage performance test architecture and method specifically.
Background technology
The fixing theory of testing is all comprise performance evaluation and development.Conventional webpage performance test is difficult to user concurrent access scene that is virtually reality like reality.And when system pressure is enough not large, the performance number obtained also is do not have enough convincingnesses.In order to the test result of webpage performance can better be obtained, need traditional webpage to dispose structure module to reduce the degree of coupling of intermodule, and the impact of the factors such as system environments on test result is dropped to minimum.Use independently Controlling vertex, the Concurrency Access that can control virtual client, and collection webpage deployment server can being carried out in high-load situations, this performance data.
In the regression test of routine, the point the most often paid close attention to be exactly increment add the impact that the version of main line is brought.The point that performance test is paid close attention to is very many, is difficult to collect believable performance data if do not fixed by some variablees.Because basic environment factor is fixing for performance test very important.It is particularly important with regard to what become for obtaining quite convictive performance data that modular webpage disposes framework.The test environment on basis can be fixed by modularization, but the scene how obtaining real user concurrent access remains a large pain spot of performance test.Therefore it is very necessary for needing to dispose in modularization a large amount of Concurrency Access adding virtual client in web page program framework.A complete lightweight webpage performance test framework can be formed like this, and can obtain near real and have the performance test results data of break-up value.
Summary of the invention
The present invention is directed to the weak point that prior art exists, propose a kind of lightweight webpage performance test architecture and method.
A kind of lightweight webpage performance test architecture and method of the present invention, the technical scheme solving the problems of the technologies described above employing is as follows: the primary clustering of webpage performance test framework of the present invention comprises: database disposes node, Web deployment server, independent Controlling vertex and some virtual client end nodes; Wherein:
Described Web deployment server disposes node by web program, is tested node simultaneously;
Database Software deployment can be disposed unified management on node at database by the web program that described database disposes node usage data storehouse;
Described independent Controlling vertex is the master control node of webpage performance test, is responsible for performance test start and stop; Control web deployment server is also responsible for load generation and the performance data of collecting web deployment services by this independent Controlling vertex;
Described virtual client end node is responsible for generating a large amount of Concurrency Access to web deployment server.
Lightweight webpage performance test methods of the present invention, by a large amount of concurrent generating virtual client node, the application scenarios of real simulation a large number of users Concurrency Access; By independent Controlling vertex, high capacity generation is carried out to web deployment server, by virtual client end node, high concurrent access is carried out to web deployment server in high-load situations, this; Independent Controlling vertex places test case, by test case record virtual client end node to the access mode of the web deployment server page and access parameter; All node deployments of whole webpage performance test framework are in the same network segment simultaneously, to ensure that the communication between node is smooth without hindrance.
Preferably, independent Controlling vertex after the execution of virtual client end node Concurrency Access program terminates, is responsible for the test data in collection procedure implementation simultaneously.
Preferably, the performance counter in test data Main Basis windows system is collected.
Preferably, web page program is passed through IIS Software deployment on web deployment server, the data message needed is positioned over database simultaneously and disposes in the database software of node, in independent Controlling vertex, write test case in web program.
The beneficial effect that a kind of lightweight webpage performance test architecture and method of the present invention compared with prior art has is: invention introduces independent control point and virtual pressure, traditional web page program modularization is deployed to different node, the interference of test environment is dropped to minimum, modular deployment simultaneously reduces the degree of coupling of web page program, the introducing of simulated pressure ensure that test environment more close to the application scenarios of true a large number of users Concurrency Access, improves authenticity and the analyticity of test result; And the web page program of different editions is realized to the comparative analysis of regression tested baseline and increment.
Accompanying drawing explanation
Accompanying drawing 1 is the schematic diagram of described webpage performance test framework;
Accompanying drawing 2 is webpage performance test baseline increment comparison diagram.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, a kind of lightweight webpage performance test architecture and method of the present invention is further described.
A kind of lightweight webpage performance test methods of the present invention, launched by webpage performance test framework, the primary clustering of described webpage performance test framework comprises: database disposes node, Web deployment server, independent Controlling vertex and some virtual client end nodes; As shown in Figure 1: described Web deployment server disposes node by web program, is tested node simultaneously; Database Software deployment can be disposed unified management on node at database by the web program that described database disposes node usage data storehouse; Described independent Controlling vertex is the master control node of webpage performance test, is responsible for performance test start and stop; Control web deployment server is also responsible for load generation and the performance data of collecting web deployment services by this independent Controlling vertex; Described virtual client end node is responsible for generating a large amount of Concurrency Access to web deployment server.
Lightweight webpage performance test methods provided by the invention, by a large amount of concurrent generating virtual client node, simulates the application scenarios of a large number of users Concurrency Access more really; Carry out high capacity generation by independent Controlling vertex to web deployment server, (such as cpu and memory usage reach 90%) carries out high concurrent access by virtual client end node to web deployment server in high-load situations, this; Independent Controlling vertex places test case, by test case record virtual client end node to the access mode of the web deployment server page and access parameter.Ensure that all node deployments of whole test structure are in the same network segment, to ensure that the communication between node is smooth without hindrance simultaneously.
Independent Controlling vertex after the execution of virtual client end node Concurrency Access program terminates, be responsible for the test data in collection procedure implementation simultaneously; Collect the Performance counters in test data Main Basis windows system, namely performance counter; The parameter needing to pay close attention to is have recorded in performance test, such as throughput, response time, working set etc. in described performance calculator.
Lightweight webpage performance test methods of the present invention, Business Information and IT Solution Mgmt Dep traditional for above-mentioned webpage is deployed to independently on node by modular mode, by above-mentioned independent Controlling vertex, with the form of a large amount of virtual client end node, complete the test to webpage lightweight performance and pressure, and collect the data of correlation performance parameters, for carrying out the recurrence contrast test of baseline and increment to webpage.
Embodiment:
Lightweight webpage performance test methods described in the present embodiment, web page program is passed through IIS Software deployment on web deployment server, the data message needed in web program is positioned over database disposes in the database software of node simultaneously, writing of test case is completed: the login page of access web program, obtains fixing username and password and log in from database in independent Controlling vertex.
As shown in Figure 2, the performance data needing to contrast baseline and increment version is being collected in data procedures.Use identical test case, identical test environment disposes baseline version and increment version, and collects performance data use as a comparison respectively.
Performance test parameter in performance counter is set: throughput, response time, working set etc.The mode of collection data be set at independent Controlling vertex simultaneously and present type (file format of the interval time of such as Data Collection and test result write).After test execution terminates, comparative analysis is done to the performance data of Self-adaptive.The performance data of multiple increment version and the contrast of baseline performance data and pay close attention to whether have regression(to return) generation.Can make to code section newly-increased in increment version the test returning checking and analyze by the analysis of the regression to different increment version.
The method of lightweight webpage performance test described in the present embodiment, first disposes framework for traditional webpage and has carried out modular process, reduce the degree of coupling of intermodule, improve the concurrency that webpage framework is disposed; Next introduces independent Controlling vertex and virtual client end node, by using independent Controlling vertex and virtual client end node, and can the application scenarios of the near Reality simulation user concurrent access of maximum possible.By the contrast to performance parameter test collection and web program baseline and increment version in performance counter, by paying close attention to the generation of regression, the object of returning card testing and analysis to different iteration version can be reached.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.
Claims (5)
1. a lightweight webpage performance test framework, is characterized in that, its primary clustering comprises: database disposes node, Web deployment server, independent Controlling vertex and some virtual client end nodes; Wherein:
Described Web deployment server disposes node by web program, is tested node simultaneously;
Database software can be deployed in unified management on database deployment node by the web program that described database disposes node usage data storehouse;
Described independent Controlling vertex is the master control node of webpage performance test, is responsible for performance test start and stop; Control web deployment server is also responsible for load generation and the performance data of collecting web deployment services;
Described virtual client end node is responsible for generating a large amount of Concurrency Access to web deployment server.
2. a lightweight webpage performance test methods, is characterized in that, by a large amount of concurrent generating virtual client node, and the application scenarios of simulation a large number of users Concurrency Access; By independent Controlling vertex, high capacity generation is carried out to web deployment server, by virtual client end node, high concurrent access is carried out to web deployment server in high-load situations, this; Independent Controlling vertex places test case, by test case record virtual client end node to the access mode of the web deployment server page and access parameter; All node deployments of whole webpage performance test framework are in the same network segment simultaneously.
3. a kind of lightweight webpage performance test methods according to claim 2, is characterized in that, independent Controlling vertex after virtual client end node Concurrency Access program performs and terminates, is responsible for the test data in collection procedure implementation simultaneously.
4. a kind of lightweight webpage performance test methods according to claim 3, is characterized in that, collects the performance counter in test data Main Basis windows system.
5. a kind of lightweight webpage performance test methods according to claim 4, it is characterized in that, web page program is passed through IIS Software deployment on web deployment server, the data message needed in web program is positioned over database to dispose in the database software of node simultaneously, in independent Controlling vertex, writes test case.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510131981.8A CN104734918A (en) | 2015-03-25 | 2015-03-25 | Lightweight webpage performance testing architecture and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510131981.8A CN104734918A (en) | 2015-03-25 | 2015-03-25 | Lightweight webpage performance testing architecture and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104734918A true CN104734918A (en) | 2015-06-24 |
Family
ID=53458372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510131981.8A Pending CN104734918A (en) | 2015-03-25 | 2015-03-25 | Lightweight webpage performance testing architecture and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104734918A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108780378A (en) * | 2016-01-05 | 2018-11-09 | 思腾科技(巴巴多斯)有限公司 | Web interface based on machine learning generates and test system |
CN109656830A (en) * | 2018-12-24 | 2019-04-19 | 普华基础软件股份有限公司 | A kind of software product performance test methods |
CN111078527A (en) * | 2019-11-08 | 2020-04-28 | 北京深思数盾科技股份有限公司 | Auxiliary system and method for pressure testing of server |
CN112241354A (en) * | 2019-08-28 | 2021-01-19 | 华东师范大学 | Application-oriented transaction load generation system and transaction load generation method |
US11995559B2 (en) | 2018-02-06 | 2024-05-28 | Cognizant Technology Solutions U.S. Corporation | Enhancing evolutionary optimization in uncertain environments by allocating evaluations via multi-armed bandit algorithms |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013975A (en) * | 2007-01-24 | 2007-08-08 | 中国人民解放军理工大学指挥自动化学院 | Method and system for testing performance parameter between random two terminal systems in IP network |
CN101848116A (en) * | 2010-04-21 | 2010-09-29 | 中国海洋大学 | Simple and quick automatic pressure test method of Web server |
CN101902368A (en) * | 2010-06-10 | 2010-12-01 | 福建升腾资讯有限公司 | WEB performance test method based on simulation of bulk thin client operation and test system thereof |
CN102541723A (en) * | 2010-12-08 | 2012-07-04 | 上海杉达学院 | Automated testing device for software testing |
CN103139006A (en) * | 2011-12-05 | 2013-06-05 | 上海博腾信息科技有限公司 | Web service based automated testing device and method |
US20130311829A1 (en) * | 2012-05-16 | 2013-11-21 | International Business Machines Corporation | Performance testing of web components using identity information |
-
2015
- 2015-03-25 CN CN201510131981.8A patent/CN104734918A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013975A (en) * | 2007-01-24 | 2007-08-08 | 中国人民解放军理工大学指挥自动化学院 | Method and system for testing performance parameter between random two terminal systems in IP network |
CN101848116A (en) * | 2010-04-21 | 2010-09-29 | 中国海洋大学 | Simple and quick automatic pressure test method of Web server |
CN101902368A (en) * | 2010-06-10 | 2010-12-01 | 福建升腾资讯有限公司 | WEB performance test method based on simulation of bulk thin client operation and test system thereof |
CN102541723A (en) * | 2010-12-08 | 2012-07-04 | 上海杉达学院 | Automated testing device for software testing |
CN103139006A (en) * | 2011-12-05 | 2013-06-05 | 上海博腾信息科技有限公司 | Web service based automated testing device and method |
US20130311829A1 (en) * | 2012-05-16 | 2013-11-21 | International Business Machines Corporation | Performance testing of web components using identity information |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108780378A (en) * | 2016-01-05 | 2018-11-09 | 思腾科技(巴巴多斯)有限公司 | Web interface based on machine learning generates and test system |
US11386318B2 (en) | 2016-01-05 | 2022-07-12 | Evolv Technology Solutions, Inc. | Machine learning based webinterface production and deployment system |
US11803730B2 (en) | 2016-01-05 | 2023-10-31 | Evolv Technology Solutions, Inc. | Webinterface presentation using artificial neural networks |
US12050978B2 (en) | 2016-01-05 | 2024-07-30 | Evolv Technology Solutions, Inc. | Webinterface generation and testing using artificial neural networks |
US11995559B2 (en) | 2018-02-06 | 2024-05-28 | Cognizant Technology Solutions U.S. Corporation | Enhancing evolutionary optimization in uncertain environments by allocating evaluations via multi-armed bandit algorithms |
CN109656830A (en) * | 2018-12-24 | 2019-04-19 | 普华基础软件股份有限公司 | A kind of software product performance test methods |
CN112241354A (en) * | 2019-08-28 | 2021-01-19 | 华东师范大学 | Application-oriented transaction load generation system and transaction load generation method |
CN111078527A (en) * | 2019-11-08 | 2020-04-28 | 北京深思数盾科技股份有限公司 | Auxiliary system and method for pressure testing of server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542791B (en) | A kind of program large-scale concurrent evaluating method based on container technique | |
US8938719B2 (en) | System and method for performance assurance of applications | |
CN106021079B (en) | It is a kind of based on the Web application performance test methods for being frequently visited by the user series model | |
CN103678105B (en) | A kind of test method and device of page code | |
CN104734918A (en) | Lightweight webpage performance testing architecture and method | |
US9229838B2 (en) | Modeling and evaluating application performance in a new environment | |
US20140068053A1 (en) | Cloud architecture recommender system using automated workload instrumentation | |
CN110309071A (en) | Test the generation method and module, test method and system of code | |
US10824549B1 (en) | System and method for regression testing of an application programming interface | |
CN103605606B (en) | A kind of embedded software test use-case batch execution method that can automatically change | |
CN103246606A (en) | Method and system for testing performances of ESB (enterprises service bus) platform | |
CN108255716A (en) | A kind of software assessment method based on cloud computing technology | |
Liu | Research of performance test technology for big data applications | |
Del-Pozo-Puñal et al. | A scalable simulator for cloud, fog and edge computing platforms with mobility support | |
Krop et al. | JiST/MobNet: combined simulation, emulation, and real-world testbed for ad hoc networks | |
Totoni et al. | Simulation-based performance analysis and tuning for a two-level directly connected system | |
CN103077080B (en) | Based on parallel program performance collecting method and the device of high performance platform | |
KR101073402B1 (en) | Method for simulating and examining traffic and network traffic analysis system | |
CN102043594A (en) | System and method for realizing collection and playback of input/output trace under distribution environment | |
Jagroep et al. | An Energy Consumption Perspective on Software Architecture: A Case Study on Architectural Change | |
Wagner et al. | Online performance analysis: an event-based workflow design towards exascale | |
US20190236625A1 (en) | Arrangement and method for digital media measurements involving user panels | |
US20130006568A1 (en) | Test Operation | |
CN102932464B (en) | A kind of method for analyzing performance of storage system and device | |
CN112583884A (en) | External service publishing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150624 |