CN110134609A - Enterprise-level web application system page method for testing performance, device and medium - Google Patents
Enterprise-level web application system page method for testing performance, device and medium Download PDFInfo
- Publication number
- CN110134609A CN110134609A CN201910418501.4A CN201910418501A CN110134609A CN 110134609 A CN110134609 A CN 110134609A CN 201910418501 A CN201910418501 A CN 201910418501A CN 110134609 A CN110134609 A CN 110134609A
- Authority
- CN
- China
- Prior art keywords
- page
- information
- measured
- performance
- enterprise
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 76
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000001514 detection method Methods 0.000 claims abstract description 41
- 238000011056 performance test Methods 0.000 claims abstract description 25
- 238000011156 evaluation Methods 0.000 claims description 38
- 230000008569 process Effects 0.000 claims description 16
- 238000005457 optimization Methods 0.000 claims description 10
- 238000001545 Page's trend test Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000009227 behaviour therapy Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses a kind of enterprise-level web application system page method for testing performance, device and computer readable storage mediums.Wherein, device includes login module, url text generation module, information setup module and performance detection module.Login module is for username and password needed for solidifying login test system to be measured;Url text generation module is used to the uniform resource locator of the web page to be measured of test system to be measured generating text file;For information setup module for parameter information needed for each web page to be measured of test is arranged, parameter information includes page loading procedure information and browser information;Performance detection module is used for after starting login module, is tested for the property automatically to each web page to be measured according to text file and parameter information.The application realizes the automatic test to enterprise-level web application system page performance, improves enterprise-level web application system page performance test efficiency.
Description
Technical field
The present embodiments relate to software performance automatization testing technique fields, answer more particularly to a kind of enterprise-level web
With system page method for testing performance, device and computer readable storage medium.
Background technique
With the fast development of computer technology, explosive growth is presented in amount of software and type, and performance test is as guarantor
The important means for demonstrate,proving software quality is more and more wider in the application of software testing technology field.
Performance test generally simulates a variety of normal, peak values and abnormal load conditions by automated test tool come to being
The performance indexes of system is tested, such as load testing and pressure test.Performance test is often more concerned about that there are rear number of units
According to interactive access process, the resource of multi-user's access server responds front end for a long time timeliness and server is simulated
Occupancy situation.
For the relevant technologies when carrying out performance detection to some web page, the detection instrument that tester generallys use is with clear
Device card format of looking at is carried out specific to certain browser using plug-in unit is too strong to browser dependence, and different browsers are same
Url page loading procedure can have differences, this may influence the load time of the page and the presentation mode of page elements, thus meeting
Show different performances.Tester needs to be manually operated accession page in the detection process, then browser plug-in
The loading procedure for recording lower page, provides some data of loading procedure, such as the number of files of request after page loaded
Amount, size, load time etc..If to detect multiple pages, generally require similarly to grasp each page
Make to realize.Also certain tool supports detect by command line mode to the page, this mode is realized to the page
Automatic access, but one page of every detection all needs to execute an order, and is difficult to realize log in the page that could be accessed to needs
It is detected in face.
It is automatic therefore although there is some tools that can support to carry out page performance detection to web application at present
Change degree is not high enough, it is difficult to support the needs disposably detected to a large amount of pages of same system.And for large enterprise
Grade web application system is supporting business demand, and system structure is often complicated and huge, and page quantity is also very much, if automation journey
Degree is not high, and system integrally carries out page performance detection will be very time-consuming and laborious.
Summary of the invention
The embodiment of the present disclosure provides a kind of enterprise-level web application system page method for testing performance, device and computer
Readable storage medium storing program for executing realizes the automatic test to enterprise-level web application system page performance, improves enterprise-level web and answer
With system page performance test efficiency.
In order to solve the above technical problems, the embodiment of the present invention the following technical schemes are provided:
On the one hand the embodiment of the present invention provides a kind of enterprise-level web application system page device for detecting performance, be applied to
Enterprise-level web application system, comprising:
Login module, url text generation module, information setup module and performance detection module;
Wherein, the login module is for username and password needed for solidifying login test system to be measured;
The url text generation module is used for the uniform resource locator of the web page to be measured of the test system to be measured
Generate text file;
The information setup module is for parameter information needed for each web page to be measured of test is arranged, the parameter information
Including page loading procedure information and browser information;
The performance detection module is used for after starting the login module, is believed according to the text file and the parameter
Breath is automatically tested for the property each web page to be measured.
It optionally, further include information collection module;
The information collection module is used to be tested for the property process to each web page to be measured in the performance detection module
In, record the actual loaded procedural information of each web page to be measured.
It optionally, further include information evaluation module;
The information evaluation module is used for according to the indices value and default evaluation in the actual loaded procedural information
Rule carries out performance evaluation to each web page to be measured.
Optionally, the information evaluation module further includes optimization information feedback submodule,
The optimization information feedback submodule is used for the performance evaluation information according to each web page to be measured, is based on data
Pass through the corresponding Optimizing Suggestions of Optimization of Information Retrieval Database Feedback with algorithm.
It optionally, further include report generation module;
The report generation module is used for performance evaluation information and actual loaded procedural information according to each web page to be measured
Generate the performance test report of preset format.
On the other hand the embodiment of the present invention provides a kind of enterprise-level web application system page method for testing performance, apply
In enterprise-level web application system, comprising:
The username and password for logging in test system to be measured is cured in module in advance, for when starting the module
Test system to be measured described in automated log on;
The uniform resource locator of the web page to be measured of the test system to be measured is generated into text file in advance;
Instruction is pre-seted according to information, parameter information needed for performance test is set for each web page to be measured, the parameter letter
Breath includes page loading procedure information and corresponding browser information;
The test system to be measured described in the automated log on, based on the text file and the parameter information automatically to described to be measured
Each web page to be measured of test system is tested for the property.
Optionally, it is described based on the text file and the parameter information automatically to each to be measured of the test system to be measured
Web page, which is tested for the property, includes:
The uniform resource locator of the corresponding web page to be measured of every a line of the text file;The page load
Information includes page elements occupied space value, quantity and load time;
The text file is retrieved one by one, based on the page loading procedure information and the browser information one by one to phase
Web page to be measured is answered to be tested for the property.
Optionally, it is described based on the text file and the parameter information automatically to each to be measured of the test system to be measured
After web page is tested for the property, further includes:
According to the actual loaded procedural information and performance evaluation information in each web page test process to be measured, automatically generate
The performance test of preset format is reported;
Wherein, the performance evaluation information is to be believed based on default evaluation rule each web page actual loaded process to be measured
Indices value in breath generates after being evaluated.
The embodiment of the invention also provides a kind of enterprise-level web application system page device for detecting performance, including processor,
The enterprise-level web application system as described in preceding any one is realized when the processor is for executing the computer program stored in memory
The step of system page method for testing performance.
The embodiment of the present invention finally additionally provides a kind of computer readable storage medium, the computer readable storage medium
On be stored with enterprise-level web application system page performance detection program, the enterprise-level web application system page performance detection journey
It is realized when sequence is executed by processor as described in preceding any one the step of enterprise-level web application system page method for testing performance.
The advantages of technical solution provided by the present application, is, pre- by the username and password that will log in web application system
First solidify in the module, when being tested for the property to same system, can realize that analog subscriber is defeated by directly initiating the module
Enter the mode login system of account number cipher, so that test is carried out in a manner of closing rule, is participated in without artificial;Using information, mould is set
Block can carry out customized setting to performance testing index, and support to use the selectivity of different browsers, unify different clear
The detection mode and standard look under device, while being a text text by the combing of the url information of the web application system page to be tested
Part proceeds without manual intervention to the detection process of the multiple pages of web application system automatically, realizes and applies to enterprise-level web
The automatic test of system page performance improves enterprise-level web application system page performance test efficiency.
In addition, the embodiment of the present invention provides accordingly also directed to enterprise-level web application system page method for testing performance
Realization device, equipment and computer readable storage medium, further such that the method has more practicability, described device and meter
Calculation machine readable storage medium storing program for executing has the advantages that corresponding.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
It, below will be to embodiment or correlation for the clearer technical solution for illustrating the embodiment of the present invention or the relevant technologies
Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of specific reality of enterprise-level web application system page device for detecting performance provided in an embodiment of the present invention
Apply mode structure chart;
Fig. 2 is that the another kind of enterprise-level web application system page device for detecting performance provided in an embodiment of the present invention is specific
Embodiment structure figure;
Fig. 3 is that a kind of process of enterprise-level web application system page method for testing performance provided in an embodiment of the present invention is shown
It is intended to;
Fig. 4 is that a kind of process of enterprise-level web application system page method for testing performance provided in an embodiment of the present invention is shown
It is intended to.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
The description and claims of this application and term " first ", " second ", " third " " in above-mentioned attached drawing
Four " etc. be for distinguishing different objects, rather than for describing specific sequence.Furthermore term " includes " and " having " and
Their any deformations, it is intended that cover and non-exclusive include.Such as contain a series of steps or units process, method,
System, product or equipment are not limited to listed step or unit, but may include the step of not listing or unit.
Present inventor has found that the relevant technologies are in the performance for executing the enterprise-level web application system page after study
When detection, there are following defects: detection instrument mostly in the form of browser plug-in exist, and plug-in unit to browser dependence too
By force, page performance difficulty of the detection under different browsers is larger;It is difficult to realize to the page for needing login that could access
It is detected;It is difficult to realize the automatic sequence detection without human intervention to multiple pages;It cannot be automatically generated examining report,
Obtain indices after generally require screened, arranged, being analyzed, evaluate etc. work could be formed reflect overall condition and for
The examining report of rectification.
However, user is different due to hobby using browser, often page quantity is huge and needs for enterprise-level web application system
User identity is authenticated, web page relevant to business could be accessed after logining successfully.Disadvantages mentioned above makes existing page
Face method for testing performance is poorly suitable for enterprise-level web application system.
In consideration of it, technical solution provided by the present application can solve defect existing for relevant issues, realize to needing identity to test
The enterprise-level web application of card carries out automation page performance detection.
After describing the technical solution of the embodiment of the present invention, the various non-limiting realities of detailed description below the application
Apply mode.
Referring firstly to Fig. 1, Fig. 1 is enterprise-level web application system page performance detection provided in an embodiment of the present invention dress
Set the structure chart under a kind of specific embodiment, be applied to enterprise-level web application system, the device may include login module 1,
Url text generation module 2, information setup module 3 and performance detection module 4.
Wherein, username and password needed for login module 1 can be used for solidifying login test system to be measured.Enterprise-level web is answered
It needs to authenticate user identity with system, web page relevant to business could be accessed after logining successfully, this is resulted in
When being tested, needs first to log in corresponding web page, the behavioral test of subsequent web page just can be performed.In order to solve correlation
Needed in technology manually participate in input password behavior, can first determine enterprise-level web application system to be measured login username and
Password is inputted login module and is solidified, can be real by directly initiating this module when detecting same system every time
Existing system login.
In the present embodiment, url text generation module 2 can be used for the url of the web page to be measured of test system to be measured generating text
This document.It can be by url (uniform resource locator, the Uniform Resource for the enterprise-level web application system page that need to be detected
Locator)) combing is a text file, for subsequent more convenient test for executing web page, the text file of generation
In every a line can correspond to the url of a web page to be measured, certainly, the placement format of the url in text file can also be it
His format, this does not influence the realization of the application.
In this application, parameter information needed for information setup module 3 can be used for being arranged each web page to be measured of test.Ginseng
Number information may include page loading procedure information and browser information, and page load information may include page elements occupied space
Value, quantity and load time, browser information can be browser type and version that each web page during performance test uses
This.That is, detection number, browser type and the version of the indices of performance detection, each web page can pass through letter
Breath setup module 3 carries out customized setting in advance, is conducive to promote test flexibility.
It is understood that needing to start login module before the test of 4 execution performance of performance detection module, web is realized
Application system logs in, and url text generation module 2, information setup module 3 have preset success.Performance detection module 4
It can be used for after starting login module, each web page to be measured be tested for the property automatically according to text file and parameter information.
4 active of performance detection module is then set further according to information after the url for obtaining the web page that needs detect in text file
The page loading procedure information and browser information for setting the record of module 3, automatically to each web page execution performance test operation,
As to how web page is tested for the property and the specific implementation process of performance test sees description of related art,
Herein, it just repeats no more.For example, if every a line in text file corresponds to a url, performance detection module 4 can be one by one
Text file is retrieved, one url of every reading can obtain the corresponding parameter information of the url from information setup module 3, obtain
After parameter information, the webn page corresponding to the url is tested for the property, that is to say, that performance detection module 4 can be retrieved one by one
Text file is then based on page loading procedure information and browser information and carries out performance survey to corresponding web page to be measured one by one
Examination.
It is pre- by the username and password that will log in web application system in technical solution provided in an embodiment of the present invention
First solidify in the module, when being tested for the property to same system, can realize that analog subscriber is defeated by directly initiating the module
Enter the mode login system of account number cipher, so that test is carried out in a manner of closing rule, is participated in without artificial;Using information, mould is set
Block can carry out customized setting to performance testing index, and support to use the selectivity of different browsers, unify different clear
The detection mode and standard look under device, while being a text text by the combing of the url information of the web application system page to be tested
Part proceeds without manual intervention to the detection process of the multiple pages of web application system automatically, realizes and applies to enterprise-level web
The automatic test of system page performance improves enterprise-level web application system page performance test efficiency.
Optionally, in one embodiment, referring to Fig. 2, being tested in the automatic execution performance of starting performance detection module 4
When, it is corresponding can to not only contribute to evaluation by the daily record data information of web page test each in record automatic test course
Web page performance test as a result, can also be traced according to the log information of capture when software breaks down, be conducive to fast
Fast accurate reparation bug.Based on this, enterprise-level web application system page device for detecting performance may also include information collection module 5.
Information collection module 5 can be used for recording each to be measured during performance detection module is tested for the property each web page to be measured
The actual loaded procedural information of web page.Information collection module 5 can start when performance detection module 4 brings into operation, performance
Detection module 4 retrieves url file one by one, and while detection one by one to the page, information collection module 5 records each page
Actual loaded procedural information, such as page elements size, quantity and the load time etc..
Further, information collection module 5 can also incite somebody to action after collecting the actual loaded procedural information of each web page
These data are sent in the information evaluation module 6 of data preparation and evaluation.Information evaluation module 6 can be used for according to actual loaded
Indices value and default evaluation rule in procedural information carry out performance evaluation to each web page to be measured.Those skilled in the art
Member can preset evaluation rule according to practical application scene and user demand, and store it in system, so as to progressive
Calling when can evaluate.Optionally, information evaluation module 6 can be according to indices value and default evaluation rule to each Web page to be measured
Face carries out performance marking, the corresponding performance test evaluation score of each web page, and score value height shows the web page performance
Superiority and inferiority.
In another embodiment, information evaluation module 6 may also include optimization information feedback submodule, the optimization information
Optimization of Information Retrieval data can be passed through based on Data Matching algorithm according to the performance evaluation information of each web page to be measured by feeding back submodule
Feed back corresponding Optimizing Suggestions in library.Optimizing includes a large amount of Optimizing Suggestions data in database, and every class Optimizing Suggestions correspond to one kind
Energy evaluation information, that is to say, that can be retrieved to obtain corresponding optimization opinion according to the case where performance evaluation.It is artificial to solve dependence
The drawbacks of experience optimizes improves the intelligence degree of automatic test.
For present inventor through investigating, the relevant technologies cannot be automatically generated examining report, general after obtaining indices
Reflection overall condition and the examining report for rectification could be formed by the work such as being screened, arranged, analyzed, evaluated.Mirror
In this, the application may also include report generation module 7.Report generation module 7 can be used for being commented according to the performance of each web page to be measured
Valence information and actual loaded procedural information generate the performance test report of preset format.That is, the application can be using automatically
The index generation for changing such as page load time, page elements size, quantity of test process collection etc. is whole for system
The page performance detection of body reports that the intelligence degree of further lifting system automatic test is time saving and energy saving.
The embodiment of the present invention provides corresponding realization also directed to enterprise-level web application system page performance detection side device
Method is hereafter introduced enterprise-level web application system page method for testing performance, enterprise-level web application described below
System page method for testing performance can correspond to each other ginseng with above-described enterprise-level web application system page device for detecting performance
According to.
Fig. 3 is referred to, Fig. 3 is a kind of enterprise-level web application system page performance detection side provided in an embodiment of the present invention
The flow diagram of method is applied to enterprise-level web application system, and the embodiment of the present invention may include the following contents:
The username and password for logging in test system to be measured: being cured in module by S301 in advance, in starting module
When automated log on test system to be measured.
S302: the uniform resource locator of the web page to be measured of test system to be measured is generated into text file in advance.
S303: pre-seting instruction according to information, parameter information needed for performance test is arranged for each web page to be measured, parameter
Information includes page loading procedure information and corresponding browser information.
S304: when automated log on test system to be measured, each of test macro is treated based on text file and parameter information automatically
Web page to be measured is tested for the property.
The implementation procedure of enterprise-level web application system page method for testing performance of the embodiment of the present invention can be according to above-mentioned apparatus
The specific implementation of each functional module in embodiment, specific implementation procedure are referred to the associated description of above-mentioned apparatus embodiment,
Details are not described herein again.
Optionally, based on the above embodiment, referring to Fig. 4, may also include that
S305: actual loaded procedural information of each web page to be measured during performance test is obtained.
S306: based on default evaluation rule to the indices value in each web page actual loaded procedural information to be measured into
Row evaluation, generates performance evaluation information.
S307: according to the actual loaded procedural information and performance evaluation information in each web page test process to be measured, automatically
Generate the performance test report of preset format.
From the foregoing, it will be observed that the embodiment of the present invention realizes the automatic test to enterprise-level web application system page performance, mention
Enterprise-level web application system page performance test efficiency is risen.
The embodiment of the invention also provides a kind of enterprise-level web application system page device for detecting performance, specifically can include:
Memory, for storing computer program;
Processor realizes enterprise-level web application system described in any one embodiment as above for executing computer program
The step of page method for testing performance.
The function of each functional module of enterprise-level web application system page device for detecting performance can described in the embodiment of the present invention
According to the method specific implementation in above method embodiment, specific implementation process is referred to the correlation of above method embodiment
Description, details are not described herein again.
From the foregoing, it will be observed that the embodiment of the present invention realizes the automatic test to enterprise-level web application system page performance, mention
Enterprise-level web application system page performance test efficiency is risen.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored with enterprise-level web application system page
Face performance detection program, the enterprise-level web application system page performance detection program are as above any one when being executed by processor
Described in embodiment the step of enterprise-level web application system page method for testing performance.
The function of each functional module of computer readable storage medium described in the embodiment of the present invention can be according to above method reality
The method specific implementation in example is applied, specific implementation process is referred to the associated description of above method embodiment, herein no longer
It repeats.
From the foregoing, it will be observed that the embodiment of the present invention realizes the automatic test to enterprise-level web application system page performance, mention
Enterprise-level web application system page performance test efficiency is risen.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part
Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Above to a kind of enterprise-level web application system page method for testing performance provided by the present invention, device and calculating
Machine readable storage medium storing program for executing is described in detail.Specific case used herein carries out the principle of the present invention and embodiment
It illustrates, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas.It should be pointed out that for
For those skilled in the art, without departing from the principle of the present invention, if can also be carried out to the present invention
Dry improvement and modification, these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims (10)
1. a kind of enterprise-level web application system page device for detecting performance, which is characterized in that be applied to enterprise-level web application system
System, comprising:
Login module, url text generation module, information setup module and performance detection module;
Wherein, the login module is for username and password needed for solidifying login test system to be measured;
The url text generation module is used to generate the uniform resource locator of the web page to be measured of the test system to be measured
Text file;
Parameter information needed for the information setup module is used to be arranged each web page to be measured of test, the parameter information include
Page loading procedure information and browser information;
The performance detection module is used for after starting the login module, according to the text file and the parameter information from
It is dynamic that each web page to be measured is tested for the property.
2. enterprise-level web application system page device for detecting performance according to claim 1, which is characterized in that further include
Information collection module;
The information collection module is used for during the performance detection module is tested for the property each web page to be measured,
Record the actual loaded procedural information of each web page to be measured.
3. enterprise-level web application system page device for detecting performance according to claim 2, which is characterized in that further include
Information evaluation module;
The information evaluation module be used for according in the actual loaded procedural information indices value and default evaluation rule
Performance evaluation is carried out to each web page to be measured.
4. enterprise-level web application system page device for detecting performance according to claim 3, which is characterized in that the letter
Breath evaluation module further includes optimization information feedback submodule,
The optimization information feedback submodule is used for the performance evaluation information according to each web page to be measured, is calculated based on Data Matching
Method passes through the corresponding Optimizing Suggestions of Optimization of Information Retrieval Database Feedback.
5. according to claim 3 or the enterprise-level web application system page device for detecting performance, which is characterized in that also wrap
Include report generation module;
The report generation module is used to be generated according to the performance evaluation information and actual loaded procedural information of each web page to be measured
The performance test of preset format is reported.
6. a kind of enterprise-level web application system page method for testing performance, which is characterized in that be applied to enterprise-level web application system
System, comprising:
The username and password for logging in test system to be measured is cured in module in advance, for automatic when starting the module
Log in the test system to be measured;
The uniform resource locator of the web page to be measured of the test system to be measured is generated into text file in advance;
Instruction is pre-seted according to information, parameter information needed for performance test is set for each web page to be measured, the parameter information packet
Include page loading procedure information and corresponding browser information;
The test system to be measured described in the automated log on, based on the text file and the parameter information automatically to the system to be tested
Each web page to be measured of system is tested for the property.
7. enterprise-level web application system page method for testing performance according to claim 6, which is characterized in that the base
Packet is tested for the property to each web page to be measured of the test system to be measured automatically in the text file and the parameter information
It includes:
The uniform resource locator of the corresponding web page to be measured of every a line of the text file;The page load information
Including page elements occupied space value, quantity and load time;
Retrieve the text file one by one, based on the page loading procedure information and the browser information one by one to accordingly to
Web page is surveyed to be tested for the property.
8. enterprise-level web application system page method for testing performance according to claim 7, which is characterized in that the base
It is tested for the property to each web page to be measured of the test system to be measured automatically in the text file and the parameter information
Afterwards, further includes:
According to the actual loaded procedural information and performance evaluation information in each web page test process to be measured, automatically generate default
The performance test of format is reported;
Wherein, the performance evaluation information is based on default evaluation rule in each web page actual loaded procedural information to be measured
Indices value evaluated after generate.
9. a kind of enterprise-level web application system page device for detecting performance, which is characterized in that including processor, the processor
The enterprise-level web application system as described in any one of claim 6 to 8 is realized when for executing the computer program stored in memory
The step of system page method for testing performance.
10. a kind of computer readable storage medium, which is characterized in that be stored with enterprise-level on the computer readable storage medium
Web application system page performance detection program, the enterprise-level web application system page performance detection program are executed by processor
Shi Shixian is as described in any one of claim 6 to 8 the step of enterprise-level web application system page method for testing performance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910418501.4A CN110134609A (en) | 2019-05-20 | 2019-05-20 | Enterprise-level web application system page method for testing performance, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910418501.4A CN110134609A (en) | 2019-05-20 | 2019-05-20 | Enterprise-level web application system page method for testing performance, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110134609A true CN110134609A (en) | 2019-08-16 |
Family
ID=67571516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910418501.4A Pending CN110134609A (en) | 2019-05-20 | 2019-05-20 | Enterprise-level web application system page method for testing performance, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134609A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740134A (en) * | 2019-10-18 | 2020-01-31 | 苏州浪潮智能科技有限公司 | URL authentication test method, device, equipment and medium |
CN115834451A (en) * | 2022-11-11 | 2023-03-21 | 超聚变数字技术有限公司 | Software login testing method and related device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894071A (en) * | 2010-06-30 | 2010-11-24 | 中山大学 | Set top box embedded browser integration test method and system |
CN104035863A (en) * | 2013-03-08 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Browser testing method and device |
CN104182331A (en) * | 2013-05-20 | 2014-12-03 | 腾讯科技(深圳)有限公司 | Browser performance test method, browser performance test system and terminal |
CN107436843A (en) * | 2016-05-27 | 2017-12-05 | 北京京东尚科信息技术有限公司 | Webpage performance test methods and device |
CN108197021A (en) * | 2017-12-28 | 2018-06-22 | 深圳市彬讯科技有限公司 | A kind of web system automated testing method, device, equipment and storage medium |
CN109117379A (en) * | 2018-09-21 | 2019-01-01 | 四川长虹电器股份有限公司 | A kind of WEB terminal performance test data auto-collection system and method |
-
2019
- 2019-05-20 CN CN201910418501.4A patent/CN110134609A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894071A (en) * | 2010-06-30 | 2010-11-24 | 中山大学 | Set top box embedded browser integration test method and system |
CN104035863A (en) * | 2013-03-08 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Browser testing method and device |
CN104182331A (en) * | 2013-05-20 | 2014-12-03 | 腾讯科技(深圳)有限公司 | Browser performance test method, browser performance test system and terminal |
CN107436843A (en) * | 2016-05-27 | 2017-12-05 | 北京京东尚科信息技术有限公司 | Webpage performance test methods and device |
CN108197021A (en) * | 2017-12-28 | 2018-06-22 | 深圳市彬讯科技有限公司 | A kind of web system automated testing method, device, equipment and storage medium |
CN109117379A (en) * | 2018-09-21 | 2019-01-01 | 四川长虹电器股份有限公司 | A kind of WEB terminal performance test data auto-collection system and method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740134A (en) * | 2019-10-18 | 2020-01-31 | 苏州浪潮智能科技有限公司 | URL authentication test method, device, equipment and medium |
CN110740134B (en) * | 2019-10-18 | 2022-08-02 | 苏州浪潮智能科技有限公司 | URL authentication test method, device, equipment and medium |
CN115834451A (en) * | 2022-11-11 | 2023-03-21 | 超聚变数字技术有限公司 | Software login testing method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103678105B (en) | A kind of test method and device of page code | |
US9465718B2 (en) | Filter generation for load testing managed environments | |
CN110096434A (en) | Interface testing method and device | |
CN108717393A (en) | A kind of applied program testing method and mobile terminal | |
CN102571403A (en) | Realization method and device for general data quality control adapter | |
CN106021118B (en) | Test code generating method and device, test frame code execution method and device | |
CN107391378A (en) | The generation method and device of a kind of test script | |
CN110134609A (en) | Enterprise-level web application system page method for testing performance, device and medium | |
CN110471857A (en) | The automatic test approach and device of artificial intelligence model performance capability | |
CN110990285B (en) | UI (user interface) automatic testing method and device | |
CN112433948A (en) | Simulation test system and method based on network data analysis | |
CN111444051A (en) | Complete machine production testing method and system for product | |
CN104702463A (en) | Method, device and system for bypass testing of multiple machine rooms | |
CN109492036A (en) | A kind of electronization test report system | |
CN103593429B (en) | Commodity template failure detection method and device | |
CN108763081A (en) | A kind of data library test method and its device, computer readable storage medium | |
CN110008074B (en) | Method, device and equipment for automatically testing and inquiring upper-layer interface of hardware information | |
CN101067562A (en) | Method, code, and apparatus for logging test results | |
CN103699482B (en) | Method and device for testing reasonableness of controls | |
CN111008140B (en) | Cross-platform UI (user interface) automatic testing method and device | |
CN115269415A (en) | Interface test system and method based on simulation scene use case | |
CN114741300A (en) | Test case based test method and device | |
CN112905579A (en) | Log optimization method and system | |
CN107193636A (en) | Virtual task simulation method and device in sandbox environment under a kind of NUMA architecture | |
CN112860733A (en) | Log verification method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190816 |