CN106897204A - The automatic monitoring method and system of operation flow - Google Patents

The automatic monitoring method and system of operation flow Download PDF

Info

Publication number
CN106897204A
CN106897204A CN201510946721.6A CN201510946721A CN106897204A CN 106897204 A CN106897204 A CN 106897204A CN 201510946721 A CN201510946721 A CN 201510946721A CN 106897204 A CN106897204 A CN 106897204A
Authority
CN
China
Prior art keywords
case
page
application
operation flow
output parameter
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
Application number
CN201510946721.6A
Other languages
Chinese (zh)
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201510946721.6A priority Critical patent/CN106897204A/en
Publication of CN106897204A publication Critical patent/CN106897204A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Abstract

The invention discloses the automatic monitoring method and system of a kind of operation flow, it is related to automatization testing technique field, wherein, method includes:The different function point of each system is recorded to form use-case respectively by page clone technology;Choosing the corresponding use-case of some function points carries out arranging service to form different operation flows;Automatic test is carried out to operation flow according to test plan, so as to obtain test result;Whether each function point monitored according to test result in operation flow is normal.The embodiment of the present invention is recorded so as to form use-case function point by page clone technology, can monitor whether each function point in operation flow is normal by carrying out automatic test to the operation flow that different use-cases are constituted, such that it is able to be repaired to abnormal function point in time, so as to the solve problem before deterioration, lifting user perceives, and reduces the complaint of user.

Description

The automatic monitoring method and system of operation flow
Technical field
The present invention relates to the automatic monitoring of automatization testing technique field, especially a kind of operation flow Method and system.
Background technology
Customer service experience is the important component of customer service.With adding that telecommunications industry is competed Play, telecommunications industry competition is added especially as virtual operator, and the customer service of high-quality is major electricity Letter operator keeps frequent customer here, develops the trump card of new client.
With continuing deeply for informatization, telecom business office attendant's heavy dependence IT (Internet Technology, Internet technology) system is client's transacting business, therefore IT systems Whether system continually and steadily can efficiently run, and directly affect the service experience of user.At present, There is problems with during IT system operation:
Existing ITSM (IT Service Management, IT Service Management) system is only capable of The state of operation system is recognized from physical layer, but None- identified application ' puppet is living ', seems normal Application can not but provide the user normal service, so as to cause by customer complaint.
In addition, complete operation flow may be needed across multiple systems, when existing in system During failpoint, operation flow just can not be caused to be in normal condition.Therefore, need a kind of technical side Case can in time find the failpoint in operation flow, so as to reduce the generation of customer complaint phenomenon.
The content of the invention
One purpose of the embodiment of the present invention is:There is provided a kind of automatic monitoring method of operation flow and System, whether each function point is normal in can in time finding operation flow.
According to an aspect of the present invention, there is provided a kind of automatic monitoring method of operation flow, including: The different function point of each system is recorded to form use-case respectively by page clone technology;Choosing Taking the corresponding use-case of some function points carries out arranging service to form different operation flows;According to survey Examination plan carries out automatic test to operation flow, so as to obtain test result;According to test result Whether each function point in monitoring operation flow is normal.
In one embodiment, it is described to be clicked through the different function of each system by page clone technology Row is recorded to be included with forming use-case respectively:Record user accesses page object, the |input paramete of application And operating procedure, and capture the page output parameter of the application;By one group of page object, input The page output parameter of parameter, operating procedure and correspondence crawl combines to form use-case.
It is in one embodiment, described that automatic test is carried out to operation flow according to test plan, Include so as to obtain test result:According to each use-case that operation flow is included, analog subscriber is to institute State the page output parameter applied and conduct interviews and receive the application;The application that judgement is received Whether page output parameter is consistent with the page output parameter of the application of record;If the application for receiving Page output parameter with record application page output parameter it is consistent, then judge the use-case execution Success;If the page output parameter of the application of the page output parameter of the application for receiving and record is not Unanimously, then judge that the use-case is performed unsuccessful.
In one embodiment, each function point in the monitoring operation flow according to test result is It is no normally to include:The corresponding function point of the use-case for running succeeded is defined as normal function point;To hold The corresponding function point of the unsuccessful use-case of row is defined as abnormal function point.
In one embodiment, when page object changes, by way of increasing breakpoint pair Page object is changed.
In one embodiment, the |input paramete when analog subscriber conducts interviews to the application is It is adjustable.
In one embodiment, also include:The page output parameter that will be received is used as analog subscriber |input paramete when being conducted interviews to Another Application.
In one embodiment, the selection corresponding use-case of some function points carry out arranging service with Forming different operation flows includes:The corresponding use-case of function point that will be chosen using visualization technique Scene flow chart corresponding with operation flow is depicted as by way of pulling.
It is in one embodiment, described that automatic test is carried out to operation flow according to test plan, Include so as to obtain test result:Different operation flows is concurrently carried out automatically according to test plan Change test, wherein each operation flow carries out automatic test by multiple servers.
According to another aspect of the present invention, there is provided a kind of automatic monitoring system of operation flow, including: Use-case recording elements, for being recorded the different function point of each system by page clone technology To form use-case respectively;Arranging service unit, is carried out for choosing the corresponding use-case of some function points Arranging service is forming different operation flows;Test cell, for according to test plan to business Flow carries out automatic test, so as to obtain test result;Monitoring unit, for being tied according to test Whether each function point in fruit monitoring operation flow is normal.
In one embodiment, the use-case recording elements include:Logging modle, uses for recording Family accesses page object, |input paramete and the operating procedure of application, and captures the page of the application Output parameter;Composite module, for by one group of page object, |input paramete, operating procedure and right The page output parameter that should be captured is combined to form use-case.
In one embodiment, the test cell includes:Analog module, for according to Business Stream Each use-case that journey is included, analog subscriber conducts interviews to the application and receives the page of the application Face output parameter;Judge module, the page output parameter and record of the application for judging to receive Application page output parameter it is whether consistent;If the page output parameter of the application for receiving and note The page output parameter of the application of record is consistent, then judge that the use-case runs succeeded;If what is received should Page output parameter is inconsistent with the page output parameter of the application of record, then judge the use-case Perform unsuccessful.
In one embodiment, the monitoring unit is true by the corresponding function point of the use-case for running succeeded It is set to normal function point;The corresponding function point of unsuccessful use-case will be performed and be defined as abnormal function Point.
In one embodiment, also include:Changing unit, for when page object changes, Page object is changed by way of increasing breakpoint.
In one embodiment, the |input paramete when analog subscriber conducts interviews to the application is It is adjustable.
In one embodiment, the analog module, is additionally operable to the page output parameter that will be received |input paramete when being conducted interviews to Another Application as analog subscriber.
In one embodiment, the function that the arranging service unit will be chosen using visualization technique The corresponding use-case of point is depicted as scene flow chart corresponding with operation flow by way of pulling.
In one embodiment, the test cell according to test plan to different operation flows simultaneously Hair carries out automatic test, and wherein each operation flow carries out automation survey by multiple servers Examination.
The embodiment of the present invention is recorded so as to form use-case function point by page clone technology, During operation flow can be monitored by carrying out to the operation flow that different use-cases are constituted automatic test Each function point it is whether normal, such that it is able to be repaired to abnormal function point in time, so as to Solve problem before deterioration, lifting user perceives, and reduces the complaint of user.
Below by drawings and Examples, technical scheme is described in further detail.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will The accompanying drawing to be used needed for embodiment or description of the prior art is briefly described, it is clear that Ground, drawings in the following description are only some embodiments of the present invention, for the common skill in this area For art personnel, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the schematic flow sheet of automatic monitoring method one embodiment of operation flow of the present invention;
Fig. 2 shows an example of the automatic monitoring method of operation flow of the present invention;
Fig. 3 shows the schematic diagram recorded to function point using page clone technology;
Fig. 4 is the schematic diagram that business flow orchestration is carried out using visualization technique;
Fig. 5 is the schematic diagram that distributed service flow is performed;
Fig. 6 is the block diagram of automatic monitoring system one embodiment of operation flow of the present invention;
Fig. 7 is the block diagram of another embodiment of the automatic monitoring system of operation flow of the present invention;
Fig. 8 is the block diagram of another embodiment of the automatic monitoring system of operation flow of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical scheme in the embodiment of the present invention It is clearly and completely described, it is clear that described embodiment is only a real part of the invention Example is applied, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to this Invent the scope of protection.
Unless specifically stated otherwise, the part and the phase of step for otherwise illustrating in these embodiments Arrangement, numerical expression and numerical value are not limited the scope of the invention.
Simultaneously, it should be appreciated that for the ease of description, the chi of the various pieces shown in accompanying drawing Very little is not to be drawn according to actual proportionate relationship.
May not make in detail for technology, method and apparatus known to person of ordinary skill in the relevant It is thin to discuss, but in the appropriate case, the technology, method and apparatus should be considered as authorizing to be said A part for bright book.
In all examples shown here and discussion, any occurrence should be construed as merely Exemplary, not as limitation.Therefore, the other examples of exemplary embodiment can have There are different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, Once being defined in a certain Xiang Yi accompanying drawing, then it need not be carried out in subsequent accompanying drawing It is discussed further.
Fig. 1 is the schematic flow sheet of automatic monitoring method one embodiment of operation flow of the present invention. As shown in figure 1, the method comprises the following steps:
Step 102, is recorded to divide the different function point of each system by page clone technology Use-case is not formed.
Here it is possible to a complete operation flow is decomposed into the function point of each system support, Then each function point is recorded by page clone technology to form use-case, afterwards can be by institute Some use-cases are managed, so as to form use-case storehouse.
Step 104, choosing the corresponding use-case of some function points, to carry out arranging service different to be formed Operation flow.
In an operation flow, selected function point can be the function point of same system, It can be the function point of different system.Different function points is carried out into arranging service can form difference Operation flow.In one embodiment, it is possible to use the function point pair that visualization technique will be chosen The use-case answered is depicted as scene flow chart corresponding with operation flow by way of pulling, will be all Scene be managed and can form scene library.
Step 106, automatic test is carried out according to test plan to operation flow, so as to be surveyed Test result.
Here, test plan can be for example, entering in real time to certain operation flow according to the actual requirements Row automatic test carries out automatic test with predetermined time interval.
Whether step 108, each function point monitored according to test result in operation flow is normal.
The test result obtained by automatic test can know whether is function point in operation flow Normally, so as to obtain the failpoint in operation flow in time, namely abnormal function point. The operation such as alarm can also be carried out after to abnormal function point, event is carried out in time so as to related personnel Barrier investigation, it is to avoid suffer complaint of client etc..
The present embodiment is recorded so as to form use-case function point by page clone technology, is passed through The operation flow of different use-cases composition is carried out automatic test can monitor it is each in operation flow Whether function point is normal, such that it is able to be repaired to abnormal function point in time, to deteriorate Solve problem, lifting user's perception, reduce the complaint of user before.
Fig. 2 shows an example of the automatic monitoring method of operation flow of the present invention.Such as Fig. 2 institutes Show, for certain application, such as Taobao, application demand can for example include but is not limited to purchase Buy commodity or browse commodity, one purchase commodity operation flow can include log in, browse commodity, Add products to shopping cart and payment operation.For each operation of user, such as log in, browse Commodity, add products to shopping cart and payment for, One function point is corresponded to, by will be each Function point carries out recording and can form corresponding use-case (also referred to as script), such as A, B, C, All of use-case is managed to form use-case storehouse.Different use-cases carries out arranging service can be formed Different operation flows 1,2,3,4,5, all of operation flow is managed can be formed Scene library.Automatic test is carried out to different operation flows according to test plan, such that it is able to To test result.
Above-mentioned steps 102 are described below to click through the different function of each system by page clone technology Row is recorded to form a specific implementation of use-case respectively.
It is possible, firstly, to page object, |input paramete and operating procedure that user accesses application are recorded, And capture the page output parameter of the application.
For example, page Dom (Document Object Model, document object mould can be based on Type), the note such as comprehensive object identity identification, character string identification, Dom hierarchical paths xPath identifications Employ page object, |input paramete and operating procedure that family accesses application.Here, parameter type can With including two kinds of data sources of the page and database:The |input paramete of the page refers to fills out value automatically, output ginseng Number refers to acquisition page data;The |input paramete of database refers to inserted or updated database, output parameter Refer to inquiry database value.
Then, it is the page of one group of page object, |input paramete, operating procedure and correspondence crawl is defeated Go out parameter combination to form use-case.In one embodiment, when page object changes, can Page object is changed with by way of increasing breakpoint, so that without being re-started to use-case Record.
So that application is for Taobao as an example, user needs to carry out register when Taobao is accessed, now Page object is Taobao's page, and |input paramete is operated including user name, password or options etc. Step is keyboard and mouse action order etc., and page output parameter is to be serviced after relevant parameter is input into The result that device is returned, if User logs in success, server returns to a corresponding parameter, such as Fruit login failed for user, then server return to another corresponding parameter.It is thus possible to by one group The page output parameter combination of page object, |input paramete, operating procedure and correspondence crawl, with shape Into use-case corresponding with register, business operation to the automatic conversion of script is also just completed.
Correspondingly, subsequent step 106 is carrying out automatic test according to test plan to operation flow When can specifically realize in the following way:
First, each use-case for being included according to operation flow, analog subscriber conducts interviews simultaneously to application Receive the page output parameter of application, also will the page operation of user played back.Still with purchase As a example by the operation flow of commodity, it includes logging in, browses commodity, add products to shopping cart and Payment operation.For use-case corresponding with register, namely analog subscriber to enter line parameter defeated Enter and other operating procedures, and the page output parameter that the reception server is returned, it is right so as to realize The playback of register.Other operation can also similar mode played back.
Then, judge that the page output parameter of the application for receiving is exported with the page of the application of record Whether parameter is consistent;If the page output parameter of the application for receiving is defeated with the page of the application of record Go out parameter consistent, then judge that the use-case runs succeeded, namely login successfully, then show corresponding work( Can put normal;If the page output parameter of the application for receiving is joined with the page output of the application of record Number is inconsistent, then judge that the use-case is performed unsuccessful, namely login failure, then show corresponding work( Can put abnormal.
Automatic test is carried out by each use-case in operation flow, operation flow can be obtained In each use-case perform whether successful test result.To can be performed according to above-mentioned test result The successful corresponding function point of use-case is defined as normal function point;Unsuccessful use-case correspondence will be performed Function point be defined as abnormal function point.Can be reported in time after abnormal function point is found It is alert, to notify that maintenance personal is repaired.
In one embodiment, the |input paramete when analog subscriber conducts interviews to application is adjustable 's.That is, by adjusting |input paramete, it is possible to achieve the multiplexing of use-case, such that it is able to mould Draw up more complicated scene.For part use-case, it is not necessary to repeat typing, can be by function point Copy/paste between script is quickly formed.
Furthermore it is also possible to the page output parameter that will be received enters as analog subscriber to Another Application |input paramete when row is accessed.For example, still as a example by buying commodity, after payment, user may Receive using the logistics account for returning, now, user can log in related pages and carry out logistics letter The inquiry of breath.Therefore, join by using an output parameter for application as another input applied Number, it is possible to achieve across the automatic test of the operation flow of application.
Page clone technology in the present invention can realize that the function of goal systems is recorded, so as to be formed Business operation to script automatic conversion, also will each function point record to form use-case.The technology is adopted Visual page configuration mode is taken, script directly can be recorded by browser access system, without Programming is capable of achieving operating process playback (as shown in Figure 3).
Compared with page clone technology captures technology with the page that http protocol is parsed, user of service Need not grasp programming technique and complexity Service control logic, only need to grasp basic method for recording and Drawing the skill of flow can make the test case of service-oriented operation.This technology is substantially reduced The structure and maintenance difficulties in use-case storehouse, implementation cost are far below traditional proprietary interface development scheme.Under Indicate two kinds of contrasts of technology.
Additionally, with tradition compared with the screen spirit crawl technology based on object's position, page clone's skill Art is not influenceed by the change of terminal screen size, resolution ratio and object's position.
In order to more simply realize the layout of operation flow, as described above, it is possible to use visualization By way of pulling be depicted as the corresponding use-case of the function point of selection corresponding with operation flow by technology Scene flow chart, and all of scene is managed to form scene library.Fig. 4 is using visual Change technology carries out the schematic diagram of business flow orchestration.
When the layout of operation flow is carried out using visualization technique, can use and be based on The flow engine of BPMN2.0 standards, the main target of BPMN is to provide by all service-users Understand a set of markup language, including business diagnosis person, software developer and service management person with Watcher.BPMN also supports the executable BPEL4WS language of generation.Therefore, BPMN A standardized bridge has been built between business Process Design and flow are realized.
The entity that business process engine is supported can include:
Sub-process:The reference to another operation flow is supported in business process engine, it is this to be drawn Operation flow is called sub-process;
Activity:A node in operation flow, corresponds to One function point in page bus;
Data:Data access interface, can be with the corresponding data in reading database;
Interface:Can be to WSDL (Web Services Description Language, the page Service description language (sdl)) interface conducts interviews;
Checking:Various complex verification contents are completed based on JS (JavaScript) expression formula.
Flow engine support main business scene include but is not limited to order perform, branch perform, Sub-process nesting etc., such that it is able at utmost reduce arranging service difficulty, improves quick response energy Power.
Can be supported using above-mentioned visualization technique and survey passed through to complex business process, the integrated page Examination ability, and the integration capability of multiple systems is provided, such that it is able to call different system test case And business interface.
In order to improve monitoring efficiency, the invention allows for the side that a kind of distributed service flow is performed Case.In one embodiment, different operation flows can concurrently be carried out certainly according to test plan Dynamicization is tested, and wherein each operation flow carries out automatic test by multiple servers.
The basic ideas for concurrently carrying out automatic test are will by distributed service flow execution cluster A large amount of execution tasks are distributed on many agency service units by master control service unit, so that parallel The access to page object (tested application) is realized, to realize the concurrently execution of operation flow, so Afterwards, implementing result is aggregated into master control service unit.
As shown in figure 5, distributed service flow performs cluster module being made up of three parts:Master control takes Business unit, message queue and agency service unit, wherein, the acquisition of master control service unit is all will to hold Capable operation flow task, task is published in message queue, then by task according to specified Rule is assigned on suitable page bus agent service unit, by the agency service cell call page The service of bus engine completes the access of tested application, and implementing result then is reported into master control service Unit.
In addition, when automatic test is carried out, because when page operation is played back, system resource expends Than more serious, and page pop-up box, pop-up window for mouse event focus treatment sometimes Can clash.In order to improve engine execution efficiency, in one embodiment, can be by clear Device of looking at is extended to shield all page pop-up boxs and pop-up window, and the access of the page will be operated Direct operation to WebBrowser (memory object of IE browser) is completely converted into internal memory, Without opening multiple IE browser again.Also, the playback of mouse and KeyEvent can also Run by the way of simulated operation, greatly reduce the consuming of system resource, and solved many Mouse focus conflict when operation flow is performed.
Each embodiment is described by the way of progressive in this specification, and each embodiment emphasis is said Bright is all the difference with other embodiments, same or analogous part between each embodiment Cross-reference.For system embodiment, because it is substantially corresponding with embodiment of the method, So description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Fig. 6 is the block diagram of automatic monitoring system one embodiment of operation flow of the present invention.Such as Fig. 6 Shown, the system includes use-case recording elements 601, arranging service unit 602, test cell 603 With monitoring unit 604, separately below the function to these units illustrate.
Use-case recording elements 601 can be used for the different function of each system by page clone technology Point is recorded to form use-case respectively.
Arranging service unit 602 can be used for choosing the corresponding use-case of some function points carries out business volume Arrange to form different operation flows.Specifically, arranging service unit 602 can be using visualization By way of pulling be depicted as the corresponding use-case of the function point of selection corresponding with operation flow by technology Scene flow chart.
Test cell 603 can be used for carrying out automatic test to operation flow according to test plan, So as to obtain test result.In one embodiment, in order to improve monitoring efficiency, test cell 603 can concurrently carry out automatic test according to test plan to different operation flows, wherein often Individual operation flow carries out automatic test by multiple servers.
Monitoring unit 604 can be used for monitoring each function point in operation flow according to test result It is no normal.
The present embodiment is recorded so as to form use-case function point by page clone technology, is passed through The operation flow of different use-cases composition is carried out automatic test can monitor it is each in operation flow Whether function point is normal, such that it is able to be repaired to abnormal function point in time, to deteriorate Solve problem, lifting user's perception, reduce the complaint of user before.
Fig. 7 is the block diagram of another embodiment of the automatic monitoring system of operation flow of the present invention.As schemed Shown in 7, the use-case recording elements 601 in the embodiment can include logging modle 611 and combination Module 621, test cell 603 can include analog module 613 and judge module 623, wherein:
Logging modle 611 can be used for record user access application page object, |input paramete and Operating procedure, and capture the page output parameter of application.
Composite module 621 can be used for one group of page object, |input paramete, operating procedure and right The page output parameter that should be captured is combined to form use-case.
Analog module 613 can be used for each use-case included according to operation flow, analog subscriber pair Using conducting interviews and receive the page output parameter of application.In one embodiment, used in simulation |input paramete when family conducts interviews to the application is adjustable.In one embodiment, simulate Module 613 can be also used for the page output parameter that will receive as analog subscriber to Another Application |input paramete when conducting interviews.
Judge module 623 can be used for judging the page output parameter of the application for receiving and record Whether the page output parameter of application is consistent;If the page output parameter of the application for receiving and record Application page output parameter it is consistent, then judge that the use-case runs succeeded;If the application for receiving Page output parameter with record application page output parameter it is inconsistent, then judge that the use-case is held Row is unsuccessful.
Correspondingly, the monitoring unit 604 in the embodiment can be corresponding by the use-case for running succeeded Function point is defined as normal function point;The corresponding function point of unsuccessful use-case will be performed to be defined as not Normal function point.
Fig. 8 is the block diagram of another embodiment of the automatic monitoring system of operation flow of the present invention.As schemed Shown in 8, the embodiment can also include changing unit 801, for being changed in page object When, page object is changed by way of increasing breakpoint.
One of ordinary skill in the art will appreciate that:Realize all or part of above method embodiment Step can be completed by the related hardware of programmed instruction, and foregoing program can be stored in a meter In calculation machine read/write memory medium, upon execution, execution includes above method embodiment to the program Step;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can With the medium of store program codes.
Description of the invention is given for the sake of example and description, and is not exhaustively Or limit the invention to disclosed form.Common skill of many modifications and variations for this area It is obvious for art personnel.Selection and description embodiment are to more preferably illustrate principle of the invention And practical application, and make one of ordinary skill in the art it will be appreciated that the present invention is suitable so as to design In the various embodiments with various modifications of special-purpose.

Claims (12)

1. a kind of automatic monitoring method of operation flow, it is characterised in that including:
The different function point of each system is recorded to form use-case respectively by page clone technology;
Choosing the corresponding use-case of some function points carries out arranging service to form different operation flows;
Automatic test is carried out to operation flow according to test plan, so as to obtain test result;
Whether each function point monitored according to test result in operation flow is normal.
2. method according to claim 1, it is characterised in that described to be cloned by the page Technology is recorded the different function point of each system to be included with forming use-case respectively:
Record user accesses page object, |input paramete and the operating procedure of application, and captures described The page output parameter of application;
By the page output parameter of one group of page object, |input paramete, operating procedure and correspondence crawl Combine to form use-case.
3. method according to claim 2, it is characterised in that described according to test plan Automatic test is carried out to operation flow, is included so as to obtain test result:
According to each use-case that operation flow is included, analog subscriber conducts interviews and connects to the application Receive the page output parameter of the application;
Judging the page output parameter of the application for receiving and the page output parameter of the application for recording is It is no consistent;
If the page output parameter of the application for receiving is consistent with the page output parameter of the application of record, Then judge that the use-case runs succeeded;
If the page output parameter of the application for receiving differs with the page output parameter of the application of record Cause, then judge that the use-case is performed unsuccessful;
It is described to monitor whether each function point in operation flow normally includes according to test result:
The corresponding function point of the use-case for running succeeded is defined as normal function point;
The corresponding function point of unsuccessful use-case will be performed and be defined as abnormal function point.
4. method according to claim 2, it is characterised in that become in page object When dynamic, page object is changed by way of increasing breakpoint.
5. method according to claim 3, it is characterised in that in analog subscriber to described It is adjustable using |input paramete when conducting interviews;
Methods described also includes:
The page output parameter that will be received as analog subscriber Another Application is conducted interviews when it is defeated Enter parameter.
6. method according to claim 1, it is characterised in that the selection some functions The corresponding use-case of point carries out arranging service to be included with forming different operation flows:
The corresponding use-case of the function point of selection is depicted as by way of pulling using visualization technique Scene flow chart corresponding with operation flow;
Or
It is described that automatic test is carried out to operation flow according to test plan, so as to obtain test result Including:
Automatic test is concurrently carried out to different operation flows according to test plan, wherein each industry Business flow carries out automatic test by multiple servers.
7. a kind of automatic monitoring system of operation flow, it is characterised in that including:
Use-case recording elements, for being carried out the different function point of each system by page clone technology Record to form use-case respectively;
Arranging service unit, arranging service is carried out with shape for choosing the corresponding use-case of some function points Into different operation flows;
Test cell, for carrying out automatic test to operation flow according to test plan, so that To test result;
Whether monitoring unit is normal for monitoring each function point in operation flow according to test result.
8. system according to claim 7, it is characterised in that the use-case recording elements Including:
Logging modle, page object, |input paramete and the operation step of application are accessed for recording user Suddenly, and the page output parameter of the application is captured;
Composite module, for one group of page object, |input paramete, operating procedure and correspondence to be captured The combination of page output parameter forming use-case.
9. system according to claim 8, it is characterised in that the test cell includes:
Analog module, for each use-case included according to operation flow, analog subscriber is answered described With conducting interviews and receive the page output parameter of the application;
Judge module, page output parameter and the application of record of the application received for judgement Whether page output parameter is consistent;If the page output parameter of the application for receiving and the application for recording Page output parameter it is consistent, then judge that the use-case runs succeeded;If the page of the application for receiving Output parameter with record application page output parameter it is inconsistent, then judge the use-case can not perform Work(;
The corresponding function point of the use-case for running succeeded is defined as normal function point by the monitoring unit; The corresponding function point of unsuccessful use-case will be performed and be defined as abnormal function point.
10. system according to claim 8, it is characterised in that also include:
Changing unit, for when page object changes, to page by way of increasing breakpoint In face of as being changed.
11. systems according to claim 9, it is characterised in that in analog subscriber to described It is adjustable using |input paramete when conducting interviews;
The analog module, is additionally operable to the page output parameter that will receive as analog subscriber to another |input paramete when one application conducts interviews.
12. systems according to claim 7, it is characterised in that the arranging service unit The corresponding use-case of the function point of selection is depicted as and industry by way of pulling using visualization technique The corresponding scene flow chart of business flow;
Or
The test cell concurrently carries out automatic test according to test plan to different operation flows, Wherein each operation flow carries out automatic test by multiple servers.
CN201510946721.6A 2015-12-17 2015-12-17 The automatic monitoring method and system of operation flow Pending CN106897204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510946721.6A CN106897204A (en) 2015-12-17 2015-12-17 The automatic monitoring method and system of operation flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510946721.6A CN106897204A (en) 2015-12-17 2015-12-17 The automatic monitoring method and system of operation flow

Publications (1)

Publication Number Publication Date
CN106897204A true CN106897204A (en) 2017-06-27

Family

ID=59188144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510946721.6A Pending CN106897204A (en) 2015-12-17 2015-12-17 The automatic monitoring method and system of operation flow

Country Status (1)

Country Link
CN (1) CN106897204A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241595A (en) * 2017-07-14 2017-10-10 北京奇艺世纪科技有限公司 A kind of video failure monitoring method, device, system and electronic equipment
CN107707433A (en) * 2017-11-14 2018-02-16 北京思特奇信息技术股份有限公司 A kind of method and computer equipment from network platform test operation flow
CN109086209A (en) * 2018-08-14 2018-12-25 安徽云才信息技术有限公司 A kind of method of attendance checking system automation effect detection
CN109190992A (en) * 2018-09-14 2019-01-11 成都信息工程大学 A kind of generation method and device of the operation flow based on use-case
WO2019033409A1 (en) * 2017-08-18 2019-02-21 深圳怡化电脑股份有限公司 Service flow debugging method and device
CN109656650A (en) * 2018-11-08 2019-04-19 中国电子科技集团公司第二十八研究所 A kind of new hand's guidance production method towards hybrid language integrated system
CN110147327A (en) * 2019-05-23 2019-08-20 浙江传媒学院 A kind of web automatic test management method based on more granularities
CN110221958A (en) * 2019-04-15 2019-09-10 阿里巴巴集团控股有限公司 Application testing method, calculates equipment and computer readable storage medium at device
CN110351161A (en) * 2019-05-22 2019-10-18 口碑(上海)信息技术有限公司 Business end-to-end test method, apparatus, storage medium and computer equipment
CN110413508A (en) * 2019-06-25 2019-11-05 阿里巴巴集团控股有限公司 A kind of data processing method of operation system safety guarantee, apparatus and system
CN112286797A (en) * 2020-09-29 2021-01-29 长沙市到家悠享网络科技有限公司 Service monitoring method and device, electronic equipment and storage medium
CN112559375A (en) * 2020-12-23 2021-03-26 深圳迅策科技有限公司 Method for parallel automatic testing by using multiple different browsers
US11775901B2 (en) 2020-03-30 2023-10-03 International Business Machines Corporation Real time testing and monitoring for business process management systems
CN112559375B (en) * 2020-12-23 2024-05-10 深圳迅策科技有限公司 Method for parallel automatic test by using multiple different browsers

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242621A (en) * 2008-01-21 2008-08-13 中兴通讯股份有限公司 An automatic testing method and system based on interface
CN102045191A (en) * 2009-10-22 2011-05-04 华为技术有限公司 Method and equipment for testing compatibility after upgrading of system
CN104461855A (en) * 2013-09-22 2015-03-25 腾讯科技(北京)有限公司 Automatic Web testing method, system and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242621A (en) * 2008-01-21 2008-08-13 中兴通讯股份有限公司 An automatic testing method and system based on interface
CN102045191A (en) * 2009-10-22 2011-05-04 华为技术有限公司 Method and equipment for testing compatibility after upgrading of system
CN104461855A (en) * 2013-09-22 2015-03-25 腾讯科技(北京)有限公司 Automatic Web testing method, system and device

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241595A (en) * 2017-07-14 2017-10-10 北京奇艺世纪科技有限公司 A kind of video failure monitoring method, device, system and electronic equipment
WO2019033409A1 (en) * 2017-08-18 2019-02-21 深圳怡化电脑股份有限公司 Service flow debugging method and device
CN107707433B (en) * 2017-11-14 2020-12-11 北京思特奇信息技术股份有限公司 Method for testing business process from network platform and computer equipment
CN107707433A (en) * 2017-11-14 2018-02-16 北京思特奇信息技术股份有限公司 A kind of method and computer equipment from network platform test operation flow
CN109086209A (en) * 2018-08-14 2018-12-25 安徽云才信息技术有限公司 A kind of method of attendance checking system automation effect detection
CN109190992A (en) * 2018-09-14 2019-01-11 成都信息工程大学 A kind of generation method and device of the operation flow based on use-case
CN109656650A (en) * 2018-11-08 2019-04-19 中国电子科技集团公司第二十八研究所 A kind of new hand's guidance production method towards hybrid language integrated system
CN109656650B (en) * 2018-11-08 2021-11-02 中国电子科技集团公司第二十八研究所 New hand guiding manufacturing method for mixed language integration system
CN110221958A (en) * 2019-04-15 2019-09-10 阿里巴巴集团控股有限公司 Application testing method, calculates equipment and computer readable storage medium at device
CN110221958B (en) * 2019-04-15 2023-06-06 创新先进技术有限公司 Application testing method, device, computing equipment and computer readable storage medium
CN110351161B (en) * 2019-05-22 2021-05-07 口碑(上海)信息技术有限公司 Business end-to-end test method, device, storage medium and computer equipment
CN110351161A (en) * 2019-05-22 2019-10-18 口碑(上海)信息技术有限公司 Business end-to-end test method, apparatus, storage medium and computer equipment
CN110147327A (en) * 2019-05-23 2019-08-20 浙江传媒学院 A kind of web automatic test management method based on more granularities
CN110147327B (en) * 2019-05-23 2023-04-18 浙江传媒学院 Multi-granularity-based web automatic test management method
CN110413508A (en) * 2019-06-25 2019-11-05 阿里巴巴集团控股有限公司 A kind of data processing method of operation system safety guarantee, apparatus and system
US11775901B2 (en) 2020-03-30 2023-10-03 International Business Machines Corporation Real time testing and monitoring for business process management systems
CN112286797A (en) * 2020-09-29 2021-01-29 长沙市到家悠享网络科技有限公司 Service monitoring method and device, electronic equipment and storage medium
CN112286797B (en) * 2020-09-29 2024-05-03 长沙市到家悠享网络科技有限公司 Service monitoring method and device, electronic equipment and storage medium
CN112559375A (en) * 2020-12-23 2021-03-26 深圳迅策科技有限公司 Method for parallel automatic testing by using multiple different browsers
CN112559375B (en) * 2020-12-23 2024-05-10 深圳迅策科技有限公司 Method for parallel automatic test by using multiple different browsers

Similar Documents

Publication Publication Date Title
CN106897204A (en) The automatic monitoring method and system of operation flow
US11627053B2 (en) Continuous data sensing of functional states of networked computing devices to determine efficiency metrics for servicing electronic messages asynchronously
CN108415832B (en) Interface automation test method, device, equipment and storage medium
CN110768872B (en) Inspection method, system, device, computer equipment and storage medium
CN109344170B (en) Stream data processing method, system, electronic device and readable storage medium
CN110856038B (en) Video generation method and system, and storage medium
WO2019127981A1 (en) H5 activity page propagation based marketing method, electronic apparatus and storage medium
CN110337641A (en) It is determined using screenshot capture metadata and applies test result
Tung et al. A novel approach to collaborative testing in a crowdsourcing environment
CN106657192B (en) Method and equipment for presenting service calling information
CN106550038A (en) A kind of data configuration diagnostic system of Digitizing And Control Unit and method
CN111401722B (en) Intelligent decision method and intelligent decision system
CN105405221A (en) Method and device for automated test
CN109831357A (en) A kind of service verification method, apparatus, storage medium and server
CN109033404A (en) Daily record data processing method, device and system
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN110610376A (en) Behavior data response method and device, computer equipment and storage medium
CN107168844B (en) Performance monitoring method and device
CN108306776A (en) Information cuing method, device, system and computer readable storage medium
WO2019000895A1 (en) Method and system for managing anomaly log of flash player
CN103458134A (en) Computer assisted telephone interview system and method for operating same
US20230153179A1 (en) Visitor stitching with data science notebooks
CN110515750A (en) A kind of applied topology generation method, system and cluster
CN107566216A (en) A kind of monitoring method, device and operation system
CN114218100A (en) Business model testing method, device, system, equipment, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
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: 20170627