CN103279416A - Storage software automated testing system and method - Google Patents
Storage software automated testing system and method Download PDFInfo
- Publication number
- CN103279416A CN103279416A CN201310208500XA CN201310208500A CN103279416A CN 103279416 A CN103279416 A CN 103279416A CN 201310208500X A CN201310208500X A CN 201310208500XA CN 201310208500 A CN201310208500 A CN 201310208500A CN 103279416 A CN103279416 A CN 103279416A
- Authority
- CN
- China
- Prior art keywords
- test
- module
- script
- storehouse
- testing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a storage software automated testing system and method, and relates to the field of storage software automated testing. The storage software automated testing system comprises a control central module, a platform public function library, a shared resource library, a test case generating module, a hardware equipment management module, a log management module, a test tool script module, an automated script resolver and a public external interface module. In a test period, the hardware equipment management module is called to obtain hardware information, the automated script resolver is called to analyze corresponding automated scripting languages, and executed results and abnormal information in an executing process are stored through the log management module. Testing procedures are separated from the input and output data of a test.
Description
Technical field
The present invention relates to the Computer Applied Technology field, be specifically related to storing software automatic test field.
Background technology
This informationization of current society and networking develop rapidly, and global digital information is just amplifying with geometric series and increasing, and the IT industry in the whole world has welcome a brand-new network storage epoch.Along with development of computer and widespread use, memory technology has obtained the great attention of experts and scholars in industry and each application.
New Network storage technology is with the advantage of himself, on the one hand for the application on the network provide abundant, fast, storage resources easily; Can share storage resources again on the other hand, become current desirable storage administration pattern, improve the utilization factor of resource greatly.
In the network store system based on software, software test in occupation of important status, is to ensure software quality in whole performance history, improves the key of software reliability.Increase along with software size, the test process of storage products is the work very loaded down with trivial details and complexity is very high, though the testing tool of some famous storage products manufacturers provides execution time, readwrite performance and the CPU that can add up the storage test, the information such as utilization factor of internal memory, but these instruments all need tester's manual intervention mostly, yet some test event, especially at the performance of storing software, reliability testing use test automatic technology can be finished the test that many manual tests can't be realized or be difficult to realize.
Summary of the invention
In order correctly, reasonably to implement the storing software automatic test, the present invention proposes a kind of storing software automatic test device and method.
In order to solve the problems of the technologies described above, the invention provides a kind of storing software automatic test device, a kind of storing software automatization test system, it is characterized in that: described test macro comprises control center's module, platform public function storehouse, shared resource storehouse, test case generation module, managing hardware device module, log management module, testing tool script module and automatized script resolver and public external interface module
Described control center module: be used for the mutual of other intermodules;
Described platform public function storehouse: be used for the storage public function, use for other modules;
Described shared resource storehouse: be used for depositing all kinds of configuration files of described test macro, and the configuration file of all kinds of different test products;
Described test case generation module: the test case that is used for generating according to automatic test script standard;
Described managing hardware device module: the hardware device that is used for managed storage;
Described log management module: be used for generating the test log file according to return message and the abnormal information of other modules;
Described testing tool script module: the test script that is used for encapsulating according to different testing tools different instruments;
Described automatized script resolver: be used for resolving automatic test script;
Public external interface module: be used for externally providing functional interface to use for writing test script.
Further, described hardware device comprises server and switch.
Further, comprising alternately of each intermodule:
When carrying out the script of testing tool script module, by the function in the control center module calling platform public function storehouse, according to the configuration information in the shared resource storehouse, the testing tool of initialization correspondence;
At test period, call the managing hardware device module and obtain hardware information, call the automatized script language of automatized script resolver resolves correspondence, preserve the result of execution and the abnormal information in the implementation by log management module.
Further, the public function of platform public function library storage comprises that establishment configuration file function and python arrange function, and the shared resource stock is put configuration file and comprised the configuration file of testing tool and the configuration file of software service.
Further, the working method of log management module is as follows:
Provide external interface, by the passive generation daily record of interface;
Perhaps pass through the complete monitoring system, generation daily record initiatively.
In order to solve the problems of the technologies described above, the present invention also provides a kind of storing software automated testing method, comprising:
At test period, call the managing hardware device module and obtain hardware information, call the automatized script language of automatized script resolver resolves correspondence, preserve the result of execution and the abnormal information in the implementation by log management module.
Further, before test, carry out the step of initialization test instrument.
Further, the step of initialization test instrument comprises;
When carrying out the script of testing tool script module, by the function in the control center module calling platform public function storehouse, according to the configuration information in the shared resource storehouse, the testing tool of initialization correspondence.
Compared with prior art, this storing software automatic test device and method are separated the input and output data of testing procedure and test, can be fast, up hill and dale software is tested automatically, thus reach the raising software quality, save the product funds, shorten the purpose of product release cycle.
Description of drawings
Fig. 1 is the structural representation of the storing software automatic test device of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter will be elaborated to embodiments of the invention by reference to the accompanying drawings.Need to prove that under the situation of not conflicting, the embodiment among the application and the feature among the embodiment be combination in any mutually.
The embodiment of the invention has proposed storing software automatization test system and method, and the input and output data of testing procedure and test are separated, and improves the degree of reusing of automatized script.
The storing software automatization test system as shown in Figure 1, functional module comprises: control center's module 1, platform public function storehouse 2, shared resource storehouse 3, test case generation module 4, managing hardware device module 5, log management module 6, testing tool script module 7 and automatized script resolver 8 and public external interface module 9
Described control center module 1: be used for the mutual of other intermodules;
Described platform public function storehouse 2: be used for the storage public function, use for other modules;
Described shared resource storehouse 3: be used for depositing all kinds of configuration files of described test macro, and the configuration file of all kinds of different test products;
Described test case generation module 4: the test case that is used for generating according to automatic test script standard;
Described managing hardware device module 5: the hardware device that is used for managed storage;
Described log management module 6: be used for generating the test log file according to return message and the abnormal information of other modules;
Described testing tool script module 7: the test script that is used for encapsulating according to different testing tools different instruments;
Described automatized script resolver 8: be used for resolving automatic test script;
Public external interface module 9: be used for externally providing functional interface to use for writing test script.
Described hardware device comprises server and switch.
Control center's module 1 is equivalent to the brain of total system, accepts user's request by this module, user's request is changed into different instructions coordinate each module and finish specific task.Comprising alternately of each intermodule:
When carrying out the script of testing tool script module 7, by the function in control center's module 1 calling platform public function storehouse 2, according to the configuration information in the shared resource storehouse 3, the testing tool of initialization correspondence;
At test period, call managing hardware device module 5 and obtain hardware information, call automatized script resolver 8 and resolve corresponding automatized script language, preserve the result of execution and the abnormal information in the implementation by log management module 6.
The public function of platform public function storehouse 2 storages comprises that establishment configuration file function and python arrange function, and shared resource storehouse 3 is deposited configuration file and comprised the configuration file of testing tool and the configuration file of software service.
The working method of log management module 6 is as follows:
Provide external interface, by the passive generation daily record of interface;
Perhaps pass through the complete monitoring system, generation daily record initiatively.
Storing software automatization test system provided by the invention, the installation kit of prefabricated script (as python), testing tool (as Iozone) etc., dispose the hardware environment of the good storage products of surveying, and relevant configuration information, just by automatization test system storage products is carried out automatic test.
The storing software automated testing method comprises:
At test period, call managing hardware device module 5 and obtain hardware information, call automatized script resolver 8 and resolve corresponding automatized script language, preserve the result of execution and the abnormal information in the implementation by log management module 6.
The tester is passed to the detecting information of oneself in the system by the platform interface, the test and management unit is analyzed test item information, simultaneously according to automatic test script resolver resolves automatic test script, analysis result is sent to testing tool script storehouse, finishes the automatic test at different testing tools.
Before test, carry out the step of initialization test instrument.
The step of initialization test instrument comprises:
When carrying out the script of testing tool script module 7, by the function in control center's module 1 calling platform public function storehouse 2, according to the configuration information in the shared resource storehouse 3, the testing tool of initialization correspondence.
Call corresponding script according to different robotization language, testing tool, by parameter different concurrent numbers, execution time, execution number of times etc. are set, realize the test to product function, performance, stability, bearing pressure; Automatic generation test script can the complete monitoring user be operated by this system simultaneously, and the user can revise script argument by hand and finish specific test assignment, and newly-increased script also can add in the automatized script storehouse of system, is provided with the back and uses; For the user that the programming experience is arranged, this system also can finish specific test assignment by user's hand-coding script.
The tester is passed to the detecting information of oneself in the system by the platform interface, the test and management unit is analyzed test item information, simultaneously according to automatic test script resolver resolves automatic test script, analysis result is sent to testing tool script storehouse, finishes the automatic test at different testing tools.And output test log.If not at the automatized script of this subtask, the test and management unit will point out the tester to upload automatized script or manual operations in the system, complete monitoring tester's process hand-manipulated generates automatized script then.
Operate generation script by existing automatized script or complete monitoring user, finally replace the automatic test of tester's process realization computer hand-manipulated.
The present invention is according to structure and the course of work application software automatization testing technique of storing software system, at storing software automatic test platform deployment analysis and research, design the solution of a cover storing software automatic test, according to the high characteristics of the complexity of storing software and how to improve test platform and carry out on the angle of efficient and consider, put forward the software automated testing language fusion in platform, produce the software automated testing script.At last this automatic test platform is applied in the test of corresponding storage products, thereby play the purpose that improves storing software testing efficiency and test coverage, effectively shortened the integrated testability cycle, saved testing cost, the quality of whole storing software has been played great promotion effect.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of the claim scope of the present invention.
Claims (8)
1. storing software automatization test system, it is characterized in that: described test macro comprises control center's module (1), platform public function storehouse (2), shared resource storehouse (3), test case generation module (4), managing hardware device module (5), log management module (6), testing tool script module (7) and automatized script resolver (8) and public external interface module (9)
Described control center module (1): be used for the mutual of other intermodules;
Described platform public function storehouse (2): be used for the storage public function, use for other modules;
Described shared resource storehouse (3): be used for depositing all kinds of configuration files of described test macro, and the configuration file of all kinds of different test products;
Described test case generation module (4): the test case that is used for generating according to automatic test script standard;
Described managing hardware device module (5): the hardware device that is used for managed storage;
Described log management module (6): be used for generating the test log file according to return message and the abnormal information of other modules;
Described testing tool script module (7): the test script that is used for encapsulating according to different testing tools different instruments;
Described automatized script resolver (8): be used for resolving automatic test script;
Public external interface module (9): be used for externally providing functional interface to use for writing test script.
2. test macro as claimed in claim 1, it is characterized in that: described hardware device comprises server and switch.
3. test macro as claimed in claim 1 is characterized in that: the comprising alternately of each intermodule:
When carrying out the script of testing tool script module (7), by the function in control center's module (1) calling platform public function storehouse (2), according to the configuration information in shared resource storehouse (3), the testing tool of initialization correspondence;
At test period, call managing hardware device module (5) and obtain hardware information, call automatized script resolver (8) and resolve corresponding automatized script language, preserve the result of execution and the abnormal information in the implementation by log management module (6).
4. test macro as claimed in claim 1, it is characterized in that: the public function of platform public function storehouse (2) storage comprises that establishment configuration file function and python arrange function, and shared resource storehouse (3) are deposited configuration file and comprised the configuration file of testing tool and the configuration file of software service.
5. test macro as claimed in claim 1, it is characterized in that: the working method of log management module (6) is as follows:
Provide external interface, by the passive generation daily record of interface;
Perhaps pass through the complete monitoring system, generation daily record initiatively.
6. storing software automated testing method is characterized in that: comprising:
At test period, call managing hardware device module (5) and obtain hardware information, call automatized script resolver (8) and resolve corresponding automatized script language, preserve the result of execution and the abnormal information in the implementation by log management module (6).
7. method of testing as claimed in claim 6 is characterized in that: before test, carry out the step of initialization test instrument.
8. method of testing as claimed in claim 7, it is characterized in that: the step of initialization test instrument comprises;
When carrying out the script of testing tool script module (7), by the function in control center's module (1) calling platform public function storehouse (2), according to the configuration information in shared resource storehouse (3), the testing tool of initialization correspondence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310208500XA CN103279416A (en) | 2013-05-30 | 2013-05-30 | Storage software automated testing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310208500XA CN103279416A (en) | 2013-05-30 | 2013-05-30 | Storage software automated testing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103279416A true CN103279416A (en) | 2013-09-04 |
Family
ID=49061945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310208500XA Pending CN103279416A (en) | 2013-05-30 | 2013-05-30 | Storage software automated testing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103279416A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750881A (en) * | 2013-12-26 | 2015-07-01 | 联芯科技有限公司 | Automatic test method and system |
CN105183605A (en) * | 2015-10-29 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Server performance test method and device |
CN107092559A (en) * | 2017-04-18 | 2017-08-25 | 携程旅游信息技术(上海)有限公司 | Test platform middleware, test system and method based on Jmeter |
CN107515803A (en) * | 2017-08-25 | 2017-12-26 | 郑州云海信息技术有限公司 | A kind of storing performance testing method and device |
CN107832226A (en) * | 2017-11-23 | 2018-03-23 | 中国平安人寿保险股份有限公司 | Report-generating method, device, equipment and computer media based on performance test |
CN108733566A (en) * | 2018-05-23 | 2018-11-02 | 郑州云海信息技术有限公司 | A kind of virtualization system automatization test system and method based on python |
CN109344069A (en) * | 2018-09-30 | 2019-02-15 | 福建星瑞格软件有限公司 | A kind of the synergetic office work method and synergetic office work platform of software automated testing |
CN110059008A (en) * | 2019-04-12 | 2019-07-26 | 广东电网有限责任公司信息中心 | A kind of test cloud platform system and test method towards power business |
CN110096446A (en) * | 2019-05-08 | 2019-08-06 | 江苏恒宝智能系统技术有限公司 | SDK test platform, test macro and its test method |
CN111130922A (en) * | 2019-11-28 | 2020-05-08 | 中国航空工业集团公司西安航空计算技术研究所 | Airborne information safety automatic test method and test platform |
CN112162921A (en) * | 2020-09-15 | 2021-01-01 | 广州市方瞳科技有限责任公司 | Industrial automation test and control system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100136773A (en) * | 2009-06-19 | 2010-12-29 | 강원대학교산학협력단 | Method for determining test alternation factor in robot software white box test and automated testing system |
CN102075381A (en) * | 2010-12-14 | 2011-05-25 | 云海创想信息技术(北京)有限公司 | Automatic test platform server and system applied to cloud storage |
CN102163173A (en) * | 2011-04-06 | 2011-08-24 | 北京航空航天大学 | Automated testing method for distributed information system interface |
CN102495799A (en) * | 2011-12-02 | 2012-06-13 | 刘伟 | Automatic test system and method of movable terminal |
CN103092756A (en) * | 2013-01-08 | 2013-05-08 | 彭勇 | Interactive automated testing system and method thereof |
-
2013
- 2013-05-30 CN CN201310208500XA patent/CN103279416A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100136773A (en) * | 2009-06-19 | 2010-12-29 | 강원대학교산학협력단 | Method for determining test alternation factor in robot software white box test and automated testing system |
CN102075381A (en) * | 2010-12-14 | 2011-05-25 | 云海创想信息技术(北京)有限公司 | Automatic test platform server and system applied to cloud storage |
CN102163173A (en) * | 2011-04-06 | 2011-08-24 | 北京航空航天大学 | Automated testing method for distributed information system interface |
CN102495799A (en) * | 2011-12-02 | 2012-06-13 | 刘伟 | Automatic test system and method of movable terminal |
CN103092756A (en) * | 2013-01-08 | 2013-05-08 | 彭勇 | Interactive automated testing system and method thereof |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750881A (en) * | 2013-12-26 | 2015-07-01 | 联芯科技有限公司 | Automatic test method and system |
CN104750881B (en) * | 2013-12-26 | 2018-12-11 | 联芯科技有限公司 | Automatic testing method and system |
CN105183605A (en) * | 2015-10-29 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Server performance test method and device |
CN107092559A (en) * | 2017-04-18 | 2017-08-25 | 携程旅游信息技术(上海)有限公司 | Test platform middleware, test system and method based on Jmeter |
CN107515803A (en) * | 2017-08-25 | 2017-12-26 | 郑州云海信息技术有限公司 | A kind of storing performance testing method and device |
CN107832226A (en) * | 2017-11-23 | 2018-03-23 | 中国平安人寿保险股份有限公司 | Report-generating method, device, equipment and computer media based on performance test |
CN108733566A (en) * | 2018-05-23 | 2018-11-02 | 郑州云海信息技术有限公司 | A kind of virtualization system automatization test system and method based on python |
CN109344069A (en) * | 2018-09-30 | 2019-02-15 | 福建星瑞格软件有限公司 | A kind of the synergetic office work method and synergetic office work platform of software automated testing |
CN110059008A (en) * | 2019-04-12 | 2019-07-26 | 广东电网有限责任公司信息中心 | A kind of test cloud platform system and test method towards power business |
CN110096446A (en) * | 2019-05-08 | 2019-08-06 | 江苏恒宝智能系统技术有限公司 | SDK test platform, test macro and its test method |
CN111130922A (en) * | 2019-11-28 | 2020-05-08 | 中国航空工业集团公司西安航空计算技术研究所 | Airborne information safety automatic test method and test platform |
CN112162921A (en) * | 2020-09-15 | 2021-01-01 | 广州市方瞳科技有限责任公司 | Industrial automation test and control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103279416A (en) | Storage software automated testing system and method | |
CN105094783B (en) | method and device for testing stability of android application | |
CN108279892B (en) | Method, device and equipment for splitting large-scale application service into micro-service | |
KR101410099B1 (en) | Function Test Apparatus based on Unit Test Cases Reusing and Function Test Method thereof | |
CN109302522A (en) | Test method, device and computer system and medium | |
CN111897724B (en) | Automatic testing method and device suitable for cloud platform | |
CN107861870A (en) | Interface testing and test data generating method, device, terminal and storage medium | |
US10354031B2 (en) | Information processing by interpenetrating signal transmission channel in design for testability of chip | |
CN102880546A (en) | Software integration testing method and system based on extensible markup language (XML) database | |
CN101930400A (en) | SDK (Software Development Kit) automatic test system and method | |
CN102141962A (en) | Safety distributed test framework system and test method thereof | |
CN112256321A (en) | Static library packaging method and device, computer equipment and storage medium | |
CN109814995A (en) | Method for scheduling task, device, computer equipment and storage medium | |
Gulenko et al. | A system architecture for real-time anomaly detection in large-scale nfv systems | |
US20150106794A1 (en) | Transparent performance inference of whole software layers and context-sensitive performance debugging | |
CN102750301A (en) | Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description | |
CN103246606A (en) | Method and system for testing performances of ESB (enterprises service bus) platform | |
CN113094238A (en) | Method and device for monitoring abnormity of business system | |
CN113747150B (en) | Method and system for testing video service system based on container cloud | |
CN103942140A (en) | Automatic testing program conversion method | |
CN114238081A (en) | Method and system suitable for small satellite batch test | |
CN105677569A (en) | Automatic Android testing tool based on event processor and testing method | |
CN106201810A (en) | A kind of method of testing, device | |
US20230367936A1 (en) | Verification method, electronic device and storage medium | |
Mirandola et al. | UML based performance modeling of distributed systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130904 |
|
RJ01 | Rejection of invention patent application after publication |