CN104391705A - Distributed automated testing framework applied to high availability cluster software - Google Patents
Distributed automated testing framework applied to high availability cluster software Download PDFInfo
- Publication number
- CN104391705A CN104391705A CN201410719193.6A CN201410719193A CN104391705A CN 104391705 A CN104391705 A CN 104391705A CN 201410719193 A CN201410719193 A CN 201410719193A CN 104391705 A CN104391705 A CN 104391705A
- Authority
- CN
- China
- Prior art keywords
- module
- test
- client
- testing
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 69
- 238000004891 communication Methods 0.000 claims abstract description 15
- 238000013461 design Methods 0.000 claims abstract description 6
- 238000012545 processing Methods 0.000 abstract description 2
- 238000000034 method Methods 0.000 description 5
- 238000013024 troubleshooting Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Abstract
The invention provides a distributed automated testing framework applied to high availability cluster software. The frame adopts a CS design frame divided into a user terminal and a client terminal; the client terminal serves as a tested terminal and comprises a software template, an xml analysis module, a test configuration file analysis module, a result processing module, a test behavior emitting module and a communication module, and a Deamon runs in a service manner and is used for receiving the instructions and feedback result information from the user terminal; the user terminal serves as a testing terminal and comprises a communication module, a testing action registering module, an xml analysis module and a result collection module, testing actions are sent to the client terminal through the programmed configuration files, and the execution results can be returned by the client terminal after wait. Compared with the prior art, the distributed automated testing framework has the advantages that the user terminal recovers testing results through the communication module, feeds back to the user on a main interface, and determines whether a next test item is performed or not according to the testing results and configuration of the user.
Description
Technical field
The present invention is a kind of distributed automatization test frame being applied to high-availability cluster software specifically.
Background technology
High-availability cluster software is used for establishment and management highly available cluster system.Highly available cluster system refers to and can ensure that business is not interrupted for 24 hours, when system generation problem or application software generation problem, can quick-recovery business soon, and as far as possible downtime is controlled the system in minute rank.Due to the configuration of highly available cluster system, the resource related to is more, so in R&D process, test job all can take a large amount of manpowers and time.Because have a lot of fixing test event during each released version of high-availability cluster software, and the expected results of a lot of test item and abnormal results it is expected to all completely, the exploitation of automated test tool just seems very necessary.Automatic test can alleviate the pressure of tester greatly, significantly improves testing efficiency, saves the time of developer.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of distributed automatization test frame being applied to high-availability cluster software is provided.
Technical scheme of the present invention realizes in the following manner, and this framework intends the design architecture adopting CS, is divided into user side and client:
Tested end is client, be provided with software template, xml parsing module, test profile parsing module, result treatment module, test action sending module and communication module, a Deamon finger daemon is run, in order to receive instruction and the feedback result information of user side with service form;
Test lead is user side, is provided with communication module, test action Registering modules, xml parsing module and collection module, sends test action to client, and wait for the execution result that client returns by the configuration file write.
Advantage of the present invention is:
A kind of distributed automatization test frame being applied to high-availability cluster software of the present invention compared to the prior art, user side reclaims test result by " communication module ", main interface feeds back to user, and determine by the configuration before test result and user the test whether carrying out next test item, and the present invention also have reasonable in design, structure is simple, the feature such as easy to use, thus, there is good use value.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation being applied to the distributed automatization test frame of high-availability cluster software.
Embodiment
Below in conjunction with accompanying drawing, a kind of distributed automatization test frame being applied to high-availability cluster software of the present invention is described in detail below.
As shown in Figure 1, a kind of distributed automatization test frame being applied to high-availability cluster software of the present invention, this framework intends the design architecture adopting CS, is divided into user side and client:
Tested end is client, be provided with software template, xml parsing module, test profile parsing module, result treatment module, test action sending module and communication module, a Deamon finger daemon is run, in order to receive instruction and the feedback result information of user side with service form;
Test lead is user side, is provided with communication module, test action Registering modules, xml parsing module and collection module, sends test action to client, and wait for the execution result that client returns by the configuration file write.
Be applied to a distributed automatization test frame for high-availability cluster software, be intended to make the test of high-availability cluster software realize robotization.Exploitation or tester can on test frame according to oneself need add test case, comprise fault filling method and trouble shooting method etc.Tester only need simply configure, and this instrument just can be used to carry out the test event of specifying, and repeated multiple timesly can carry out same project, thus a large amount of test job amount and test duration reducing exploitation or tester.
This framework intends the design architecture adopting CS.Tested end is client, runs a Deamon finger daemon with service form, in order to receive instruction and the feedback result information of user side; Test lead is user side, user, i.e. exploitation or tester, sends test action to client, and wait for the execution result that client returns by the configuration file write.Two ends use Transmission Control Protocol communication.
Operational process is as follows:
User's (test person) is mutual by " the main interface of user side ".For the consideration of versatility, this Frame Design software template, user according to the needs of oneself, can carry out configuration testing use-case by software template.After user side starts, the template of target detection software can be resolved by " software template parsing module ".User is by main interface configurations test action list, and this list can save as configuration file by " test profile parsing module ", also can read from configuration file simultaneously.After editting test list, user selects to start test, and the test action in list, by " test action sending module ", is converted to command messages, sends to client one by one by " communication module " by user side.
Client (tested server) receives by " communication module " command messages that user side sends, and resolves, and perform order.User can configure direct fault location action and the trouble shooting action of each test case by " test action Registering modules ".During client executing test action, first perform direct fault location action, after action executing completes, then perform trouble shooting action, check whether fault is injected successfully." collection module " collects the result of direct fault location, sometimes also needs to collect clustered software to the result of fault, and feeds back to user side by " communication module ".
User side reclaims test result by " communication module ", main interface feeds back to user, and determines by the configuration before test result and user the test whether carrying out next test item.
A kind of its processing and fabricating of distributed automatization test frame being applied to high-availability cluster software of the present invention is very simple and convenient, can process to specifications shown in accompanying drawing.
Except the technical characteristic described in instructions, be the known technology of those skilled in the art.
Claims (1)
1. be applied to a distributed automatization test frame for high-availability cluster software, it is characterized in that this framework intends adopting the design architecture of CS, be divided into user side and client:
Tested end is client, be provided with software template, xml parsing module, test profile parsing module, result treatment module, test action sending module and communication module, a Deamon finger daemon is run, in order to receive instruction and the feedback result information of user side with service form;
Test lead is user side, is provided with communication module, test action Registering modules, xml parsing module and collection module, sends test action to client, and wait for the execution result that client returns by the configuration file write.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410719193.6A CN104391705A (en) | 2014-12-03 | 2014-12-03 | Distributed automated testing framework applied to high availability cluster software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410719193.6A CN104391705A (en) | 2014-12-03 | 2014-12-03 | Distributed automated testing framework applied to high availability cluster software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104391705A true CN104391705A (en) | 2015-03-04 |
Family
ID=52609613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410719193.6A Pending CN104391705A (en) | 2014-12-03 | 2014-12-03 | Distributed automated testing framework applied to high availability cluster software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104391705A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794055A (en) * | 2015-04-27 | 2015-07-22 | 柳州市一呼百应科技有限公司 | Development method for common software |
CN105446879A (en) * | 2015-11-13 | 2016-03-30 | 浪潮电子信息产业股份有限公司 | Automated testing framework based on distributed computation |
CN105787132A (en) * | 2016-03-31 | 2016-07-20 | 畅捷通信息技术股份有限公司 | Method and system for controlling user behavior analysis |
CN106210886A (en) * | 2016-06-28 | 2016-12-07 | 深圳市九洲电器有限公司 | A kind of network set-top box test method and system |
CN106201858A (en) * | 2015-05-07 | 2016-12-07 | 阿里巴巴集团控股有限公司 | The test system of application program and control method thereof and device in mobile terminal |
CN107124335A (en) * | 2017-06-30 | 2017-09-01 | 郑州云海信息技术有限公司 | One kind is based on cloud sea operating system platform test method and system |
CN107622006A (en) * | 2016-07-14 | 2018-01-23 | 上海思立微电子科技有限公司 | System and method for testing mobile device |
CN109388530A (en) * | 2018-08-22 | 2019-02-26 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Blade server-oriented automatic test platform and test method |
-
2014
- 2014-12-03 CN CN201410719193.6A patent/CN104391705A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794055A (en) * | 2015-04-27 | 2015-07-22 | 柳州市一呼百应科技有限公司 | Development method for common software |
CN106201858A (en) * | 2015-05-07 | 2016-12-07 | 阿里巴巴集团控股有限公司 | The test system of application program and control method thereof and device in mobile terminal |
CN105446879A (en) * | 2015-11-13 | 2016-03-30 | 浪潮电子信息产业股份有限公司 | Automated testing framework based on distributed computation |
CN105787132A (en) * | 2016-03-31 | 2016-07-20 | 畅捷通信息技术股份有限公司 | Method and system for controlling user behavior analysis |
CN106210886A (en) * | 2016-06-28 | 2016-12-07 | 深圳市九洲电器有限公司 | A kind of network set-top box test method and system |
CN107622006A (en) * | 2016-07-14 | 2018-01-23 | 上海思立微电子科技有限公司 | System and method for testing mobile device |
CN107622006B (en) * | 2016-07-14 | 2020-07-07 | 上海思立微电子科技有限公司 | Mobile device testing system and method for testing mobile device |
CN107124335A (en) * | 2017-06-30 | 2017-09-01 | 郑州云海信息技术有限公司 | One kind is based on cloud sea operating system platform test method and system |
CN109388530A (en) * | 2018-08-22 | 2019-02-26 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Blade server-oriented automatic test platform and test method |
CN109388530B (en) * | 2018-08-22 | 2021-12-10 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Blade server-oriented automatic test platform and test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104391705A (en) | Distributed automated testing framework applied to high availability cluster software | |
CN109634728B (en) | Job scheduling method and device, terminal equipment and readable storage medium | |
EP3859533A2 (en) | Method and apparatus for testing map service, electronic device, storage medium and computer program product | |
WO2017161984A1 (en) | Method, device and system for deploying data clusters, and computer storage medium | |
WO2016045403A1 (en) | Runtime environment configuration method, device and system | |
CN107919987B (en) | Method for realizing micro-service cloud deployment | |
CN107807815B (en) | Method and device for processing tasks in distributed mode | |
US9519537B2 (en) | Apparatus, system and method for application log data processing | |
CN107817401B (en) | Pressure testing method and device for electricity consumption information acquisition system | |
CN105224464A (en) | A kind of parallel automated testing method | |
CN112882939B (en) | Automatic testing method and device, electronic equipment and storage medium | |
CN104601668A (en) | State management based data push method, device and system | |
CN114756328A (en) | Container cloud platform inspection method and device | |
CN108733545B (en) | Pressure testing method and device | |
CN105446873B (en) | APK Software Automatic Testing Methods and system based on Android platform | |
CN108399095B (en) | Method, system, device and storage medium for supporting dynamic management of timed tasks | |
US9372745B2 (en) | Analytics output for detection of change sets system and method | |
CN109905263A (en) | A kind of automation O&M deployment system | |
CN104102583A (en) | High-availability cluster software distributed automated testing framework | |
CN107172013B (en) | Data transmission method and system | |
CN111740859B (en) | Test environment deployment method and device, electronic equipment and storage medium | |
CN110750453B (en) | HTML 5-based intelligent mobile terminal testing method, system, server and storage medium | |
CN112328372A (en) | Kubernetes node self-healing method and system | |
CN103152424A (en) | Method for automatically controlling solutions at cloud side | |
CN110868330B (en) | Evaluation method, device and evaluation system for CPU resources which can be divided by cloud platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150304 |