CN108845945A - Using test optimization method and device - Google Patents
Using test optimization method and device Download PDFInfo
- Publication number
- CN108845945A CN108845945A CN201810699084.0A CN201810699084A CN108845945A CN 108845945 A CN108845945 A CN 108845945A CN 201810699084 A CN201810699084 A CN 201810699084A CN 108845945 A CN108845945 A CN 108845945A
- Authority
- CN
- China
- Prior art keywords
- gray scale
- application
- plan
- user
- test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- 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)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of application test optimization method and devices.Wherein, method includes:Before carrying out online processing to application, according to the gray scale release plan pre-established for the application, deduction obtains applying corresponding gray scale drill plan with this;The application is tested according to gray scale drill plan, obtains test result.This programme passes through before application is online, application is tested using gray scale drill plan, so as to before application is online, actively and comprehensively excavate the defects of application, for being repaired in time to the defect, it improves to defect repair response efficiency is applied, to further ensure the stability of application;Also, it avoids in the prior art when user excavates out applied defect after application is online, the drawback that applied defect rehabilitation cost is high in repair process and remediation efficiency is low is being carried out to applied defect, and be conducive to the promotion of user experience.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of application test optimization method and device.
Background technique
With the continuous development of science and technology and society, types of applications quantity, which is presented, quickly to be increased.Wherein, to types of applications
It carries out in development process, it usually need to be by the mistake of application research and development, conventional func test and gray scale publication and/or full dose publication
Journey.
Currently, the conventional func test of application is limited only to write function according to the function etc. of types of applications by tester
Energy test case carries out functional test to application by functional test use-case.However, current function test method still lacks pair
Risk in complex scene and gray scale publication or full dose issuing process is estimated.Also, the prior art usually application it is online it
Afterwards, applied defect need to be excavated by user, the applied defect is repaired again after reporting of user, to substantially reduce application
The repair response efficiency of defect influences the stability of application;Also, when the applied defect excavated out after application is online to user
When being repaired, often there is the drawback that remediation efficiency is low, human cost is high, and greatly reduce user and body is used to application
It tests, reduces user's retention ratio.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
That states problem applies test optimization method and device.
According to an aspect of the invention, there is provided a kind of application test optimization method, including:
Before carrying out online processing to application, according to the gray scale release plan pre-established for the application, deduce
Obtain gray scale drill plan corresponding with the application;
The application is tested according to the gray scale drill plan, obtains test result.
Optionally, the gray scale drill plan includes at least a kind of in following scene:User's simulated scenario, service analogue
Scene and equipment simulating scene.
Optionally, the basis is directed to the gray scale release plan that the application pre-establishes, and deduction obtains and the application
Corresponding gray scale drill plan further comprises:
According to gray scale stages multiple in the gray scale release plan pre-established for the application corresponding gray scale hair
The plan of cloth, deduction obtain corresponding gray scale of multiple gray scale stages corresponding with the application and deduce son plan;
Described to be tested according to the gray scale drill plan the application, obtaining test result further comprises:
Son plan is deduced according to corresponding gray scale of the multiple gray scale stage to test the application, is obtained more
A gray scale stage corresponding test result.
Optionally, multiple gray scale stages are respectively right in the gray scale release plan that the basis is pre-established for the application
The gray scale publication son plan answered, deduction obtain corresponding gray scale of multiple gray scale stages corresponding with the application and deduce son meter
It draws and further comprises:
Son plan is issued according to the gray scale, determines corresponding user group of each gray scale stage, and is further determined that each
A gray scale stage corresponding multiple user's dimensions;
According to corresponding multiple user's dimensions of each gray scale stage, deduction obtains respectively corresponding with the multiple gray scale stage
Gray scale deduce son plan.
Optionally, user's dimension includes at least one of following dimension:User role, user right, Yi Jiyong
Family amount.
Optionally, the multiple gray scale stage corresponding user volume is positively correlated with the gray scale stage in all gray-scale levels
Time order and function position sequence in section.
Optionally, described that the application is tested according to the gray scale drill plan, it is further to obtain test result
Including:
Monitoring carries out the indication information in test process according to the gray scale drill plan to the application;
Early warning is monitored according to the indication information.
Optionally, described that the application is tested according to the gray scale drill plan, it is further to obtain test result
Including:
Monitoring drills son plan according to the gray scale and carries out test process to the application in the multiple gray scale stage
In indication information;
Early warning is monitored according to the indication information.
Optionally, the indication information includes at least one of following information:RPC availability information, server-side decompression
Error information, client decompression error information, RPC compression ratio and RPC total time-consuming information.
Optionally, described that the application is tested according to the gray scale drill plan, it is further to obtain test result
Including:
Obtain the fault message during testing according to the gray scale drill plan the application;
The application is repaired using emergency corresponding with fault message hemostasis strategy.
Optionally, described that the application is tested according to the gray scale drill plan, it is further to obtain test result
Including:
It obtains in the multiple gray scale stage, the mistake that the application is tested in son plan is drilled according to the gray scale
Fault message in journey;
The application is repaired using emergency corresponding with fault message hemostasis strategy.
Optionally, the method executes before carrying out gray scale publication to the application or in gray scale issuing process.
According to another aspect of the present invention, a kind of application test optimization device is provided, including:
Module is deduced, is suitable for before carrying out online processing to application, according to the gray scale pre-established for the application
Release plan, deduction obtain gray scale drill plan corresponding with the application;
Test module obtains test result suitable for testing according to the gray scale drill plan the application.
Optionally, the gray scale drill plan includes at least a kind of in following scene:User's simulated scenario, service analogue
Scene and equipment simulating scene.
Optionally, the deduction module is further adapted for:According to the gray scale release plan pre-established for the application
In the corresponding gray scales publication son plan of multiple gray scale stages, it is each that deduction obtains multiple gray scale stages corresponding with the application
Self-corresponding gray scale deduces son plan;
The test module is further adapted for:Son plan pair is deduced according to corresponding gray scale of the multiple gray scale stage
The application is tested, and multiple gray scale stage corresponding test results are obtained.
Optionally, the deduction module is further adapted for:Son plan is issued according to the gray scale, determines each gray scale stage
Corresponding user group, and further determine that corresponding multiple user's dimensions of each gray scale stage;
According to corresponding multiple user's dimensions of each gray scale stage, deduction obtains respectively corresponding with the multiple gray scale stage
Gray scale deduce son plan.
Optionally, user's dimension includes at least one of following dimension:User role, user right, Yi Jiyong
Family amount.
Optionally, the multiple gray scale stage corresponding user volume is positively correlated with the gray scale stage in all gray-scale levels
Time order and function position sequence in section.
Optionally, the test module is further adapted for:Monitoring carries out the application according to the gray scale drill plan
Indication information in test process;
Early warning is monitored according to the indication information.
Optionally, the test module is further adapted for:Monitoring is drilled in the multiple gray scale stage according to the gray scale
Practice son plan to the indication information in application progress test process;
Early warning is monitored according to the indication information.
Optionally, the indication information includes at least one of following information:RPC availability information, server-side decompression
Error information, client decompression error information, RPC compression ratio and RPC total time-consuming information.
Optionally, the test module is further adapted for:It obtains and the application is carried out according to the gray scale drill plan
Fault message during test;
The application is repaired using emergency corresponding with fault message hemostasis strategy.
Optionally, the test module is further adapted for:It obtains in the multiple gray scale stage, is drilled according to the gray scale
Practice the fault message during the application is tested in son plan;
The application is repaired using emergency corresponding with fault message hemostasis strategy.
Optionally, described device executes before carrying out gray scale publication to the application or in gray scale issuing process.
According to another aspect of the invention, a kind of calculating equipment is provided, including:Processor, memory, communication interface and
Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor
Using the corresponding operation of test optimization method.
In accordance with a further aspect of the present invention, provide a kind of computer storage medium, be stored in the storage medium to
A few executable instruction, the executable instruction make processor execute such as the corresponding operation of above-mentioned application test optimization.
What is provided according to the present invention applies test optimization method and device, before carrying out online processing to application, according to
For the gray scale release plan that the application pre-establishes, deduction obtains applying corresponding gray scale drill plan with this;According to gray scale
Drill plan tests the application, obtains test result.So as to actively and comprehensively excavate application before application is online
The defects of, for being repaired in time to the defect, improve to defect repair response efficiency is applied, to further protect
Hinder the stability of application;Also, it avoids in the prior art when user excavates out applied defect after application is online, to application
Defect carries out the drawback that applied defect rehabilitation cost is high in repair process and remediation efficiency is low, and is conducive to mentioning for user experience
It rises.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram using test optimization method provided according to an embodiment of the present invention;
Fig. 2 shows the flow diagrams using test optimization method provided according to a further embodiment of the invention;
Fig. 3 shows the illustrative view of functional configuration using test optimization device provided according to an embodiment of the present invention;
Fig. 4 shows the structural schematic diagram for providing calculate equipment according to an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Fig. 1 shows the flow diagram using test optimization method provided according to an embodiment of the present invention.Such as Fig. 1
Shown, this method includes:
Step S110, before carrying out online processing to application, according to the gray scale release plan pre-established for application,
Deduction obtains and applies corresponding gray scale drill plan.
Different from after application is online, excavating applied defect by user, the present embodiment is to apply in the prior art
It is formal it is online before, deduction obtains gray scale drill plan, is tested according to the gray scale drill plan application, is answered to realize
It is excavated with online preceding applied defect, for quickly being repaired to the applied defect.
In the specific implementation process, it to improve the excavation effect in the online preceding applied defect of application, is promoted to application ash
Risk in degree publication or full dose issuing process is estimated, and is issued in this step specifically according to the gray scale pre-established for application
Plan, deduction obtain with apply corresponding gray scale drill plan, for according to the gray scale drill plan in subsequent step (step
S120 applied defect is comprehensively excavated in).
Wherein, the present embodiment by gray scale release plan to being deduced to obtain the specific deduction method of corresponding gray scale drill plan
Without limitation, those skilled in the art can be according to actual business demand sets itself.For example, can be according in gray scale release plan
Each gray scale stage in user group and corresponding device parameter, service parameter etc. determine corresponding gray scale rehearsal
Plan.The gray scale drill plan determined may include each simulated scenario corresponding to each gray scale stage etc., for example, gray scale
Drill plan may include corresponding user's simulated scenario of each gray scale stage and/or equipment simulating scene etc..
In addition, the present embodiment to concrete type, number of applications of application etc. without limitation, for example, using that can be food and drink
Service class application, social category application or movement class application etc..Also, when application number is multiple, it can be directed to and each answer respectively
With the gray scale release plan pre-established, deduction obtains gray scale drill plan corresponding with each application.
Step S120 tests the application according to gray scale drill plan, obtains test result.
Specifically, using the gray scale drill plan deduced in step S110, application is tested, to obtain application
Defect during the test, consequently facilitating rapidly repairing applied defect.Wherein, the present embodiment is to according to gray scale drill plan
To using the specific test method tested, without limitation, those skilled in the art can voluntarily set according to practical business demand
It sets.For example, can be carried out by one of a variety of test modes such as Black-box Testing, automatic test or a variety of combinations to application
Test, obtains corresponding test result.
It can be seen that the present embodiment according to the gray scale drill plan deduced out by corresponding to before the online processing of application
With being tested, so that the defects of application is initiatively excavated before application is online, in time to the defects of application
It is repaired, so as to avoid being excavated caused by the defects of application as user to application after application is online in the prior art
Defect repair response efficiency is low, and is carrying out applied defect rehabilitation cost height and remediation efficiency in repair process to applied defect
Low drawback improves the stability of application;Further, in this embodiment deducing out corresponding ash according to gray scale release plan
Drill plan is spent, can be promoted and the risk in the publication of application gray scale or full dose issuing process is estimated, convenient for comprehensively excavating application
Defect promotes user to the usage experience of application to further improve the robustness of application.
Fig. 2 shows the flow diagrams using test optimization method provided according to a further embodiment of the invention.Such as
Shown in Fig. 2, this method includes:
Step S210 pre-establishes gray scale release plan for application.
Specifically, it during application is online, for the smooth transition publication for realizing application, is formulated generally directed to application corresponding
Gray scale release plan, according to the gray scale release plan to application carry out gray scale publication.
During formulating with application corresponding gray scale release plan, can be set for application corresponding multiple gray scale stages,
Each gray scale stage, corresponding user volume was different.Also, multiple gray scale stage corresponding user volumes are positively correlated with the gray scale
Time order and function position sequence of the stage in all gray scale stages.For example, for using A be arranged the first gray scale stage, the second gray scale stage,
Third gray scale stage and the 4th gray scale stage, wherein the first gray scale phases-time is earlier than the second gray scale stage, the second gray scale stage
Time, earlier than the 4th gray scale stage, then user can be arranged for the first gray scale stage in the third gray scale stage earlier than the third gray scale stage
The user group that user's accounting is 1/32 is arranged in the user group that accounting is 1/64, the second gray scale stage, and the third gray scale stage sets
The user group that user's accounting is 1/8 is set, whole users were arranged in the 4th gray scale stage.
Set with application corresponding multiple gray scale stages after, respectively according to application feature and/or each gray scale stage pair
The user group etc. answered determines gray scale publication son plan corresponding with each gray scale stage.
Step S220, before carrying out online processing to application, according to the gray scale release plan pre-established for application,
Deduction obtains and applies corresponding gray scale drill plan.
Specifically, it before application carries out gray scale publication or in gray scale issuing process, can be pre-established according to for application
Gray scale release plan, deduction obtain with apply corresponding gray scale drill plan.
To refine gray scale drill plan, the prediction effect to gray scale publication or full dose publication, gray scale drill plan tool are promoted
Body includes the corresponding gray scale rehearsal son plan of each gray scale stage.Specifically, it is issued according to the gray scale pre-established for application
Corresponding gray scale publication son plan of multiple gray scale stages in the works, deduction obtains each with using corresponding multiple gray scale stages
Self-corresponding gray scale deduces son plan.
Further, in order to excavate the defects of application comprehensively before application is online, gray scale deduction can further be refined
Son plan.Specifically, according to the gray scale publication son plan formulated in step S210, corresponding user group of each gray scale stage is determined
Body, and further determine corresponding multiple user's dimensions of each gray scale stage;To corresponding more according to each gray scale stage
A user's dimension, deduction obtain deducing son plan with corresponding gray scale of multiple gray scale stages.I.e. each gray scale deduces son meter
Include the corresponding fine-grained deduction plan of multiple dimensions or the combination of multiple dimensions in drawing.Wherein, user's dimension includes following
At least one of dimension:User role, user right and user volume etc..For example, if gray scale deduces son plan P1In
Corresponding user's dimension includes user role dimension and user right dimension, then can formulate different user roles, different use
Fine-grained deduction plan corresponding to the combination of family permission and different user roles and user right.
It is specially the drill plan in more gray scale stages, multi-user's dimension by the gray scale drill plan that the above method obtains,
So as to realize more scenario simulations according to the gray scale drill plan, lacked convenient for comprehensively excavating application during follow-up test
It falls into, is promoted and apply stability.Specifically, gray scale drill plan includes at least a kind of in following scene:User's simulated scenario, industry
Business simulated scenario and equipment simulating scene.Wherein, user's simulated scenario include user role information, user right information,
And/or number of users information etc.;Service analogue scene specifically includes business and executes temporal information, business execution session information etc.;
Equipment simulating scene includes device network status information, equipment information about power etc..
Step S230 tests application according to gray scale drill plan, obtains test result.
In actual implementation process, the test result applied in by gray scale drill plan in each scene is obtained, from
And excavate applied defect.Specifically, son plan is deduced according to corresponding gray scale of multiple gray scale stages to test application,
Obtain multiple gray scale stage corresponding test results.
It is the fine granularity rehearsal meter in more gray scale stages, various dimensions by the gray scale drill plan deduced out in this present embodiment
It draws, so that defective locations can be quickly and accurately positioned out after excavating applied defect, in order to rapidly repair to the defect
It is multiple.
Optionally, the indication information carried out according to gray scale drill plan to application in test process can be monitored;According to index
Information is monitored early warning.Also, can according to during the test monitoring and early warning process or monitoring and early warning result with it is preset
The comparison of monitoring and early warning function determines whether monitoring and early warning function meets preset requirement on line on line.Specifically, monitoring is multiple
In the gray scale stage, son plan is drilled to the indication information in application progress test process according to gray scale, is carried out according to indication information
Monitoring and early warning.To realize to the monitoring and early warning in each gray scale stage test process, and can be according to the prison in each gray scale stage
Control warning information verifies whether monitoring and early warning function on preset line meets preset requirement.Wherein, indication information includes following letter
At least one of breath:RPC (Remote Procedure Call Protocol, remote procedure call protocol) availability letter
Breath, server-side decompression error information, client decompression error information, RPC compression ratio and RPC total time-consuming information.Wherein, line
Upper monitoring and early warning function is after application is online, to the monitoring and early warning function of application performance.
Optionally, the failure during testing according to gray scale drill plan application can be also obtained in the present embodiment
Information;Application is repaired using emergency corresponding with fault message hemostasis strategy.And it according to the repair process or can repair
Answer hemostatic function of meeting an urgent need on the preset line of result verification.Wherein, hemostatic function of meeting an urgent need on line is to send out after using online user
The function that the application failure excavated is repaired.Specifically, it can obtain in multiple gray scale stages, son plan is drilled according to gray scale
Fault message during testing application;Application is carried out using emergency corresponding with fault message hemostasis strategy
It repairs, thus according to corresponding repair process of each gray scale stage and/or reparation as a result, verifying emergency hemostasis function on preset line
Energy.
It can be seen that the present embodiment according to the gray scale drill plan deduced out by corresponding to before the online processing of application
With being tested, so that the defects of application is initiatively excavated before application is online, in time to the defects of application
It is repaired, so as to avoid being excavated caused by the defects of application as user to application after application is online in the prior art
Defect repair response efficiency is low, and is carrying out applied defect rehabilitation cost height and remediation efficiency in repair process to applied defect
Low drawback improves the stability of application;Further, in this embodiment deducing out corresponding ash according to gray scale release plan
Degree drill plan is the drill plan in more gray scale stages, multi-user's dimension, and can mould by the fine-grained gray scale drill plan
Intend a variety of different scenes, the risk in the publication of application gray scale or full dose issuing process is estimated to further be promoted, just
In comprehensively excavating applied defect, and the robustness of raising application, user is promoted to the usage experience of application.
A kind of nonvolatile computer storage media is provided according to an embodiment of the present invention, and the computer storage is situated between
Matter is stored with an at least executable instruction, which can be performed the application in above-mentioned any means embodiment and survey
Try optimization method.
Fig. 3 shows the illustrative view of functional configuration using test optimization device provided according to an embodiment of the present invention.
As shown in figure 3, the device includes:Recommending module 31 and test module 32.
Wherein, module 31 is deduced, is suitable for before carrying out online processing to application, according to the ash pre-established for application
Release plan is spent, deduction obtains and applies corresponding gray scale drill plan.
Test module 32 obtains test result suitable for testing according to gray scale drill plan application.
Optionally, gray scale drill plan includes at least a kind of in following scene:User's simulated scenario, service analogue field
Scape and equipment simulating scene.
Optionally, module 31 is deduced to be further adapted for:According to multiple in the gray scale release plan pre-established for application
The corresponding gray scale publication son plan of gray scale stage, deduction obtain and apply corresponding multiple gray scale stage corresponding ashes
Degree deduces son plan;
Test module 32 is further adapted for:According to corresponding gray scale of multiple gray scale stages deduce son plan to application into
Row test, obtains multiple gray scale stage corresponding test results.
Optionally, module 31 is deduced to be further adapted for:Son plan is issued according to gray scale, determines that each gray scale stage is corresponding
User group, and further determine that corresponding multiple user's dimensions of each gray scale stage;It is corresponding more according to each gray scale stage
A user's dimension, deduction obtain deducing son plan with corresponding gray scale of multiple gray scale stages.
Optionally, user's dimension includes at least one of following dimension:User role, user right and user volume.
Optionally, multiple gray scale stage corresponding user volumes be positively correlated with the gray scale stage in the gray scale stage when
Between successive position sequence.
Optionally, test module 32 is further adapted for:Monitoring carries out in test process application according to gray scale drill plan
Indication information;Early warning is monitored according to the indication information.
Optionally, test module 32 is further adapted for:Monitoring drills son plan pair in multiple gray scale stages, according to gray scale
Using the indication information carried out in test process;Early warning is monitored according to indication information.
Optionally, indication information includes at least one of following information:RPC availability information, server-side decompression report an error
Information, client decompression error information, RPC compression ratio and RPC total time-consuming information.
Optionally, test module 32 is further adapted for:Obtain the process tested according to gray scale drill plan application
In fault message;Application is repaired using emergency corresponding with fault message hemostasis strategy.
Optionally, test module 32 is further adapted for:It obtains in multiple gray scale stages, son plan pair is drilled according to gray scale
Fault message during using being tested;Application is repaired using emergency corresponding with fault message hemostasis strategy
It is multiple.
Optionally, which executes before carrying out gray scale publication to application or in gray scale issuing process.
It can be seen that the present apparatus by application online processing before, according to the gray scale drill plan deduced out to application
Tested, thus application it is online before, initiatively excavate application the defects of, in time to application the defects of into
Row is repaired, and is lacked caused by the defects of application to application so as to avoid being excavated after application is online as user in the prior art
Repair response inefficiency is fallen into, and low carrying out applied defect rehabilitation cost height and remediation efficiency in repair process to applied defect
The drawbacks of, improve the stability of application;Further, in this embodiment deducing out corresponding gray scale according to gray scale release plan
Drill plan can be promoted and be estimated to the risk in the publication of application gray scale or full dose issuing process, be lacked convenient for comprehensively excavating application
It falls into, to further improve the robustness of application, promotes user to the usage experience of application.
Fig. 4 shows a kind of structural schematic diagram of the calculating equipment provided according to an embodiment of the present invention, present invention tool
Body embodiment does not limit the specific implementation for calculating equipment.
As shown in figure 4, the calculating equipment may include:Processor (processor) 402, communication interface
(Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein:
Processor 402, communication interface 404 and memory 406 complete mutual communication by communication bus 408.
Communication interface 404, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 402 can specifically execute above-mentioned using in test optimization embodiment of the method for executing program 410
Correlation step.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes following operation:
Before carrying out online processing to application, according to the gray scale release plan pre-established for the application, deduce
Obtain gray scale drill plan corresponding with the application;
The application is tested according to the gray scale drill plan, obtains test result.
In a kind of optional embodiment, the gray scale drill plan includes at least a kind of in following scene:User
Simulated scenario, service analogue scene and equipment simulating scene.
In a kind of optional embodiment, program 410 specifically can be used for so that processor 402 executes following operation:
According to gray scale stages multiple in the gray scale release plan pre-established for the application corresponding gray scale hair
The plan of cloth, deduction obtain corresponding gray scale of multiple gray scale stages corresponding with the application and deduce son plan;
Son plan is deduced according to corresponding gray scale of the multiple gray scale stage to test the application, is obtained more
A gray scale stage corresponding test result.
In a kind of optional embodiment, program 410 specifically can be used for so that processor 402 executes following operation:
Son plan is issued according to the gray scale, determines corresponding user group of each gray scale stage, and is further determined that each
A gray scale stage corresponding multiple user's dimensions;
According to corresponding multiple user's dimensions of each gray scale stage, deduction obtains respectively corresponding with the multiple gray scale stage
Gray scale deduce son plan.
In a kind of optional embodiment, user's dimension includes at least one of following dimension:User role,
User right and user volume.
In a kind of optional embodiment, the multiple gray scale stage corresponding user volume is positively correlated with the gray scale
Time order and function position sequence of the stage in all gray scale stages.
In a kind of optional embodiment, program 410 specifically can be used for so that processor 402 executes following operation:
Monitoring carries out the indication information in test process according to the gray scale drill plan to the application;
Early warning is monitored according to the indication information.
In a kind of optional embodiment, program 410 specifically can be used for so that processor 402 executes following operation:
Monitoring drills son plan according to the gray scale and carries out test process to the application in the multiple gray scale stage
In indication information;
Early warning is monitored according to the indication information.
In a kind of optional embodiment, the indication information includes at least one of following information:RPC availability
Information, server-side decompression error information, client decompression error information, RPC compression ratio and RPC total time-consuming information.
In a kind of optional embodiment, program 410 specifically can be used for so that processor 402 executes following operation:
Obtain the fault message during testing according to the gray scale drill plan the application;
The application is repaired using emergency corresponding with fault message hemostasis strategy.
In a kind of optional embodiment, program 410 specifically can be used for so that processor 402 executes following operation:
It obtains in the multiple gray scale stage, the mistake that the application is tested in son plan is drilled according to the gray scale
Fault message in journey;
The application is repaired using emergency corresponding with fault message hemostasis strategy.
In a kind of optional embodiment, program 410 specifically can be used for so that processor 402 to it is described apply into
It is executed before the publication of row gray scale or in gray scale issuing process.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention:It is i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize one using in test optimization device according to an embodiment of the present invention
The some or all functions of a little or whole components.The present invention is also implemented as executing method as described herein
Some or all device or device programs (for example, computer program and computer program product).Such realization
Program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.This
The signal of sample can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or mentions in any other forms
For.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (10)
1. a kind of application test optimization method comprising:
Before carrying out online processing to application, according to the gray scale release plan pre-established for the application, deduction is obtained
Gray scale drill plan corresponding with the application;
The application is tested according to the gray scale drill plan, obtains test result.
2. according to the method described in claim 1, wherein, the gray scale drill plan includes at least a kind of in following scene:
User's simulated scenario, service analogue scene and equipment simulating scene.
3. method according to claim 1 or 2, wherein the gray scale publication that the basis is pre-established for the application
Plan, deduction obtain gray scale drill plan corresponding with the application and further comprise:
According to gray scale stages multiple in the gray scale release plan pre-established for the application corresponding gray scale publication
Plan, deduction obtain corresponding gray scale of multiple gray scale stages corresponding with the application and deduce son plan;
Described to be tested according to the gray scale drill plan the application, obtaining test result further comprises:
Son plan is deduced according to corresponding gray scale of the multiple gray scale stage to test the application, obtains multiple ashes
Spend stage corresponding test result.
4. according to the method described in claim 3, wherein, the basis is directed to the gray scale release plan that the application pre-establishes
In the corresponding gray scales publication son plan of multiple gray scale stages, it is each that deduction obtains multiple gray scale stages corresponding with the application
Self-corresponding gray scale deduces son plan:
Son plan is issued according to the gray scale, determines corresponding user group of each gray scale stage, and further determine that each ash
Spend stage corresponding multiple user's dimensions;
According to corresponding multiple user's dimensions of each gray scale stage, deduction is obtained and the multiple gray scale stage corresponding ash
Degree deduces son plan.
5. according to the method described in claim 4, wherein, user's dimension includes at least one of following dimension:User
Role, user right and user volume.
6. method according to claim 4 or 5, wherein the multiple gray scale stage corresponding user volume is positively correlated
In time order and function position sequence of the gray scale stage in all gray scale stages.
7. method according to claim 1 to 6, wherein described to be answered according to the gray scale drill plan described
With being tested, obtaining test result further comprises:
Monitoring carries out the indication information in test process according to the gray scale drill plan to the application;
Early warning is monitored according to the indication information.
8. a kind of application test optimization device comprising:
Module is deduced, is suitable for before carrying out online processing to application, is issued according to the gray scale pre-established for the application
Plan, deduction obtain gray scale drill plan corresponding with the application;
Test module obtains test result suitable for testing according to the gray scale drill plan the application.
9. a kind of calculating equipment, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction
Ask the corresponding operation of application test optimization method described in any one of 1-7.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium
Processor is set to execute such as the corresponding operation of application test optimization method of any of claims 1-7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810699084.0A CN108845945A (en) | 2018-06-29 | 2018-06-29 | Using test optimization method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810699084.0A CN108845945A (en) | 2018-06-29 | 2018-06-29 | Using test optimization method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108845945A true CN108845945A (en) | 2018-11-20 |
Family
ID=64200067
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810699084.0A Pending CN108845945A (en) | 2018-06-29 | 2018-06-29 | Using test optimization method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108845945A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110647335A (en) * | 2019-07-26 | 2020-01-03 | 平安科技(深圳)有限公司 | Software gray level release method and device, electronic equipment and storage medium |
| CN111666213A (en) * | 2020-05-29 | 2020-09-15 | 中国平安财产保险股份有限公司 | Task online method and device, computer equipment and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130135272A1 (en) * | 2011-11-25 | 2013-05-30 | Jaeyeol Park | System and method for calibrating display device using transfer functions |
| CN104881734A (en) * | 2015-05-11 | 2015-09-02 | 广东小天才科技有限公司 | Method, device and system for guiding product improvement based on gray release |
| CN107479862A (en) * | 2016-06-07 | 2017-12-15 | 阿里巴巴集团控股有限公司 | The gray scale dissemination method and system of a kind of software upgrading |
-
2018
- 2018-06-29 CN CN201810699084.0A patent/CN108845945A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130135272A1 (en) * | 2011-11-25 | 2013-05-30 | Jaeyeol Park | System and method for calibrating display device using transfer functions |
| CN104881734A (en) * | 2015-05-11 | 2015-09-02 | 广东小天才科技有限公司 | Method, device and system for guiding product improvement based on gray release |
| CN107479862A (en) * | 2016-06-07 | 2017-12-15 | 阿里巴巴集团控股有限公司 | The gray scale dissemination method and system of a kind of software upgrading |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110647335A (en) * | 2019-07-26 | 2020-01-03 | 平安科技(深圳)有限公司 | Software gray level release method and device, electronic equipment and storage medium |
| CN111666213A (en) * | 2020-05-29 | 2020-09-15 | 中国平安财产保险股份有限公司 | Task online method and device, computer equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110347395B (en) | Software release method and device based on cloud computing platform | |
| US10324830B2 (en) | Conditional upgrade and installation of software based on risk-based validation | |
| US20140325480A1 (en) | Software Regression Testing That Considers Historical Pass/Fail Events | |
| CN102708016B (en) | The software and hardware method for testing reliability of task based access control section and system | |
| CN110674047B (en) | Software testing method and device and electronic equipment | |
| WO2020113526A1 (en) | Chip verification method and device | |
| KR20130122853A (en) | System and method for simulating realtime severe accident phenomena for training simulator of the nuclear power plant | |
| Kadry | A new proposed technique to improve software regression testing cost | |
| CN116450484A (en) | Evaluation method and device based on model development software, electronic equipment and medium | |
| CN107506294A (en) | Visualize automated testing method, device, storage medium and computer equipment | |
| CN109508547A (en) | A kind of localization method of vulnerability of application program, device, storage medium and terminal | |
| Yin et al. | On representing resilience requirements of microservice architecture systems | |
| CN108845945A (en) | Using test optimization method and device | |
| Nugroho et al. | Assessing uml design metrics for predicting fault-prone classes in a java system | |
| CN118484398A (en) | Simulation method, device, equipment and program for test case | |
| US10579761B1 (en) | Method and system for reconstructing a graph presentation of a previously executed verification test | |
| Mishra et al. | Analysis of test case prioritization in regression testing using genetic algorithm | |
| JP2010186394A (en) | Result evaluation system for system developer, system for evaluating difficulty of module development, and delay state determination system | |
| US9239893B2 (en) | Method and process computer for computation of the state variables of a hybrid differential-algebraic process model | |
| CN111209199B (en) | Method and device for verifying relevance of instruction, electronic equipment and storage medium | |
| CN110750452B (en) | Automatic test method and device | |
| US9619312B2 (en) | Persistent command parameter table for pre-silicon device testing | |
| CN108052450A (en) | Avionic software integration test verification platform | |
| EP1959382A1 (en) | Organisation representational system | |
| CN103593284A (en) | Test method and test device |
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 |
Application publication date: 20181120 |
|
| RJ01 | Rejection of invention patent application after publication |