CN107124326A - A kind of automated testing method and system - Google Patents

A kind of automated testing method and system Download PDF

Info

Publication number
CN107124326A
CN107124326A CN201710217735.3A CN201710217735A CN107124326A CN 107124326 A CN107124326 A CN 107124326A CN 201710217735 A CN201710217735 A CN 201710217735A CN 107124326 A CN107124326 A CN 107124326A
Authority
CN
China
Prior art keywords
test
mapping
file
matched
matching
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.)
Granted
Application number
CN201710217735.3A
Other languages
Chinese (zh)
Other versions
CN107124326B (en
Inventor
丁立创
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Changjiang Computing Technology Co ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201710217735.3A priority Critical patent/CN107124326B/en
Publication of CN107124326A publication Critical patent/CN107124326A/en
Application granted granted Critical
Publication of CN107124326B publication Critical patent/CN107124326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a kind of automated testing method and system, it is related to software testing technology field.The method of testing includes:Parse test envelope file and the test topology file of all test cases;Compare parsed test topology file, identical test topology file is merged and sorted;According to the order after rearrangement, the physical equipment by all logical device in a test topology file and in test envelope file map and matches and occupy;It is mapped to if all physical equipments in test envelope file are matched, completes all related test cases in the test topology file of mapping matching before performing in step.The present invention can solve Dependence Problem of the test script to test environment, can not only improve the portability of test script, reduce Test Networking build with script modification input human cost, and testing efficiency is high.

Description

A kind of automated testing method and system
Technical field
It is specifically a kind of automated testing method and system the present invention relates to software testing technology field.
Background technology
The groundwork amount of automatic test be embodied in test script write with the building of test environment, safeguard.Test The writing of script is the perfect of human input and test script physical layer interface.And the dependence due to test script to test environment It is too strong, when needing transplanting script to new environment, large-scale script modification or the change of Test Networking can be produced, so that meeting Spend substantial amounts of manpower and time.
At present, in order to reduce dependence of the test script to test environment, the conventional method of industry is mainly:Define true ring The initialization files in border, IP (agreement that Internet Protocol, network between interconnects) of this document comprising physical device The basic configuration such as location, port type and connection;When calling equipment in test script, directly by calling equipment in this document IP address telnet (remote terminal protocol), SSH (Secure Shell, containment agreement) etc. log in and operated.
This scheme can obtain certain portability, but still there is significant limitation:This method does not have Solve dependence of the script to test physical environment.Specifically, because the equipment and link that are used in test script are integrally fixed at In some equipment and link in true environment, accordingly, it would be desirable to when transplanting the test script, still need to change the initialization File changes Test Networking, so that the efficiency of automatic test, especially test set operation is substantially reduced.
The content of the invention
The invention aims to overcome the shortcomings of above-mentioned background technology there is provided a kind of automated testing method and be System, can solve Dependence Problem of the test script to test environment, can not only improve the portability of test script, reduce test group Net is built puts into human cost with script modification, and testing efficiency is high.
To achieve the above objectives, the present invention provides a kind of automated testing method, and the method for testing comprises the following steps:A、 Parse test envelope file and the test topology file of all test cases;The parsed test topology file of B, comparison, by phase Same test topology file is merged and sorted;C, according to the order after rearrangement, by a test topology file All logical device with the physical equipment in test envelope file map and match and occupy;If all in D, test envelope file Physical equipment is matched and is mapped to, then is performed all related in the test topology file that mapping matching is completed in step C Test case.
On the basis of above-mentioned technical proposal, the test envelope file includes physical equipment description information, equipment connection and retouched State information and equipment matching precedence information;The test topology file includes forcing match information and logical device description letter Breath.
On the basis of above-mentioned technical proposal, step C idiographic flow is:
C1:According to the order after rearrangement, check whether is some logical device defined in current test topology file There is pressure to map with the physical equipment in test envelope file, if so, being then transferred to step C2, be otherwise transferred to step C3;
C2:Directly perform and force mapping, be transferred to step C7;
C3:Multi-component system mapping is carried out, step C4 is transferred to;
C4:Success is carried out after multi-component system mapping, judges whether have multiple physical equipments to meet the test in test envelope file To the description of the logical device in topological file, if so, being transferred to step C5, step C6 is otherwise transferred to.
C5:Priority mapping is carried out, the high physical equipment of priority will be marked in test envelope file and is matched to current test The logical device in topological file, is transferred to step C7;
C6:The physical equipment that first matches in test envelope file is mapped to the logic in current test topology file Equipment, is transferred to step C7.
C7:Detect whether all logical device match mapping completion in current test topology file, if so, being transferred to step S5, otherwise, repeat step C1~C7 complete the matching mapping of other logical device in current test topology file.
On the basis of above-mentioned technical proposal, in step D, if also having physical equipment to need matching to reflect in test envelope file Penetrate, rejected in test envelope file after the physical equipment for being matched and having occupied, by surplus equipment and next survey according to sequence The topological file of examination carries out mapping matching, if there is all phases just performed parallel in former and later two test topology files that can be matched The test case of pass.
The present invention also provides a kind of automatization test system based on the above method, and the system includes parsing module, test Topological file combination module, mapping matching module and performing module.The parsing module is used for:Parse test envelope file and institute There is the test topology file of test case, and merging signal is sent to test topology file combination module;The test topology text Part merging module is used for:Receive after merging signal, relatively parsed test topology file, identical test topology file is entered Row merges and sorted, and sends mapping matched signal to mapping matching module;The mapping matching module is used for:Receive mapping After signal, according to the order after rearrangement, by all logical device in a test topology file and test envelope file In physical equipment carry out mapping and matching and occupy, and sent to performing module and perform signal;The performing module is used for:Receive Perform after signal, be mapped to if all physical equipments in test envelope file are matched, performing mapping matching module is used for Complete all related test cases in the test topology file of mapping matching.
On the basis of above-mentioned technical proposal, the test envelope file includes:Physical equipment description information, equipment connection are retouched State information and equipment matching precedence information;The test topology file includes:Force match information and logical device description letter Breath.
On the basis of above-mentioned technical proposal, the mapping matching module includes forcing mapping matched sub-block, multi-component system Map matched sub-block, priority mapping matched sub-block and mapping matching detection submodule:
It is described to force mapping matched sub-block to be used for:Receive after mapping matched signal, according to the order after rearrangement, inspection Look into whether some logical device defined in current test topology file has pressure to map with the physical equipment in test envelope file, Mapping is forced if so, then performing, and detection signal is sent to mapping matching detection submodule, otherwise, maps and matches to multi-component system Submodule sends multi-component system mapping signal;
The multi-component system mapping matched sub-block is used for:Receive after multi-component system mapping signal, progress multi-component system mapping, and Success is carried out after multi-component system mapping to priority mapping matched sub-block transmission priority mapping signal;
The priority mapping matched sub-block is used for:Receive after priority mapping signal, judge be in test envelope file It is no to there are multiple physical equipments to meet the description in the test topology file to the logical device, if so, priority mapping is carried out, will The high physical equipment of priority is marked in test envelope file to match to the logical device in current test topology file, and to reflecting Penetrate matching detection submodule and send detection signal;Otherwise, the physical equipment mapping that first matches in test envelope file is worked as The logical device in preceding test topology file, and send detection signal to mapping matching detection submodule;
The mapping matching detection submodule is used for:Receive after detection signal, detect in current test topology file and own Whether logical device, which matches mapping, is completed, and signal is performed if so, being sent to performing module, otherwise, to pressure mapping matching submodule Block sends mapping matched signal.
On the basis of above-mentioned technical proposal, the performing module also includes surplus resources and maps implementation sub-module, and this is remained Remaining resource impact implementation sub-module is used for:If also having physical equipment to need to match mapping in test envelope file, in test envelope file Middle rejecting has been matched after the physical equipment occupied, by surplus equipment with being reflected according to next test topology file of sequence Matching is penetrated, if there are all related test cases just performed parallel in former and later two test topology files that can be matched.
On the basis of above-mentioned technical proposal, the parsing module includes test envelope document analysis submodule and test topology Document analysis submodule;The test envelope document analysis submodule is used for:Test envelope file is parsed, and is closed to test topology file And module sends and merges signal;The test topology document analysis submodule is used for:Parse the test topology of all test cases File, and send merging signal to test topology file combination module.
The beneficial effects of the present invention are:
(1) present invention is by by patrolling in the test topology file in the physical equipment and test script in test envelope file Volume equipment carries out mapping matching (i.e. by the way that topologic network logic is described into equipment under test), thus reach isolation test script with The purpose of the dependence of physical equipment, makes test case possess the feasibility of smooth transplanting, greatly improves automatic test collection Maintainability, portable, reduce Test Networking and build the human cost that input is changed with script.Also, the present invention will be surveyed Identical test topology file is merged in training sheet so that identical test topology file is matched once with test envelope file Related all test cases can just be run through, the problem of not only avoiding repetition running test case, and saved The time spent with mapping, testing efficiency is high.
(2) present invention additionally use the test thinking that a kind of surplus resources are matched again, when a upper test topology file from After equipment is matched in test envelope file and is occupied, if there is non-mapped of surplus resources (surplus equipment) in test envelope file It is fitted on, then test topology file below can be selected to be matched in the remaining resource of test envelope file, if matching On all related test cases just performed parallel in former and later two test topology files, what this surplus resources were matched again Parallel action method, reduces the time of test script execution, further increases the execution efficiency of test.
Brief description of the drawings
Fig. 1 is the flow chart of automated testing method in the embodiment of the present invention;
Fig. 2 is TBD files, TOPO files, the matching mapping relations schematic diagram of test script in the embodiment of the present invention;
Fig. 3 is TBD files, TOPO files, the relation schematic diagram of test script in the embodiment of the present invention;
Fig. 4 is the structured flowchart of automatization test system in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of automated testing method, comprises the following steps:
Step S1:Test envelope file is parsed, step S2 is transferred to.
It is understood that test envelope file, abbreviation TBD (TestBed) file, to describe in actual test environment All physical equipments and its association attributes, different test environments can be described with different TBD files.TBD files can To be described by multiple format, in embodiments of the present invention, described using .txt suffix names file, and the TBD files including General physical equipment description and equipment are connected outside the attribute of description, are also had additional equipment matching precedence information, are set when two For when can match, it can determine how specific this matches by checking priority parameters.Specifically, TBD files include Physical equipment description information, equipment connection description information and equipment matching precedence information particular content be:
(1) device descriptive information
Device type (type):The concrete model of equipment;
Implementor name (name):Device name, is forced mapping to be quoted in equipment connection and topology;
Equipment interface (interface):The port of equipment;
Equipment access path (access):Logging device used interface;
(2) equipment connection description information
Link connection (link):The link of equipment room, form is as follows:
Link name, 1 equipment interface of implementor name/IP, mask --- 2 equipment interfaces of implementor name/IP, mask;
(3) equipment matching precedence information
Priority (priority):0~7 grade, 7 grades of highest priority is defaulted as 0 grade.
Step S2:The test topology file of all test cases is parsed, step S3 is transferred to.
It is understood that test topology file (referred to as, TOPO files) is contained in test script and (is used to complete to tested The order of examination equipment is issued, result inspection operation) in, and tested setting of having required for test script operation in TOPO files Standby logical description.In the embodiment of the present invention, TOPO files include the essential logical device description informations such as device type, connection, Also include the description information for forcing mapping, and these equipment need to match and occupy into TBD files.Specifically, TOPO The content that file includes is following two parts:
(1) match information part is forced
Force mapping (force):For the name of equipment in TBD files, acquiescence does not force mapping;
(2) logical device description information part
Logical device name:Directly invoked in logical device title, script;
Logical device types:The type of equipment, for being matched with equipment in TBD files;
Logical device is connected:Description logic equipment is connected, and the link connection in TBD files is matched;
Logic interfacing:Interface name, interface type, directly by script applications.
TOPO files are described in strict accordance with certain format, keep a good resolvability.Logical device in TOPO Mix after the equipment in TBD files, all properties of the equipment in TBD files will be inherited.TBD files, TOPO files, test pin This matching mapping relations are as shown in Figure 2.And need to call device name, equipment interface etc. all to apply TOPO in test script Defined in file, so script and physical equipment are isolated entirely from, the portability of script is greatly enhanced, can be safeguarded Property.TBD files, TOPO files, test script relation it is as shown in Figure 3.
Step S3:Compare parsed TOPO files, by identical TOPO Piece file mergences and to sort (be exactly to make all to have The public TOPO file of test case of phase homeomorphism, it is only necessary to which mapping is once), it is transferred to step S4.
It is understood that identical TOPO Piece file mergences, refer to that systems inspection finds that the TOPO files in test set have After identical, internal sort only needs to identical some TOPO texts these identicals TOPO Piece file mergences together, so Part once can just run through related all test cases to TBD matchings, not only avoid the operation of retest, and The time that matching mapping is spent is saved.
Step S4:According to the order after rearrangement, by all logical device in a TOPO file and TBD files Physical equipment carry out mapping and matching and occupy, be transferred to step S5.
Participate in shown in Fig. 1, during practical operation, step S4 specifically includes below scheme:
Step S401:According to the order after rearrangement, check that some logical device defined in current TOPO files is The no physical equipment with TBD has pressure to map, if so, being then transferred to step S402;Otherwise, it is transferred to step S403.
Step S402:Directly perform and force mapping, be transferred to step S407.
Step S403:Multi-component system mapping is carried out, step S404 is transferred to.
Step S404:Success is carried out after multi-component system mapping, judges whether have multiple equipment to meet in the TOPO files in TBD Description (judging whether to need to carry out priority mapping) to the logical device, if so, being transferred to step S405;Otherwise it is transferred to step Rapid S406.
Step S405:Priority mapping is carried out, the high equipment of priority will be marked in TBD and is matched in current TOPO files The logical device, be transferred to step S407.
Step S406:By the logical device in the current TOPO files of first device map matched in TBD, it is transferred to Step S407.
Step S407:Detect whether all devices match mapping completion in current TOPO files, if so, step S5 is transferred to, Otherwise, repeat step S301~S307, completes the matching mapping of other equipment in current TOPO files.
Step S5:Judge in TBD whether all physical equipments are matched to be mapped to, if so, step S6 is then transferred to, it is no Then, represent also have surplus resources (surplus equipment) to need matching in TBD, be then transferred to step S7.
Step S6:Current test set is performed (after that merging of current test set to complete mapping matching in step S4 TOPO files) in all related test cases, terminate.
Step S7:Rejected in TBD after the equipment that the matching of TOPO files has occupied described in step S4, by TBD Surplus equipment carries out mapping with next TOPO files according to sequence and matched, if having two before and after the just parallel execution that can be matched (the TOPO files that mapping matching is completed before i.e. complete mapping to all related test cases in individual TOPO files with current All related test cases for the TOPO files matched somebody with somebody), terminate.
The test thinking that the embodiment of the present invention uses a kind of surplus resources to match again is can be seen that from step S5~S7, when After a upper TOPO file matches equipment and occupied in TBD files, if in TBD also have surplus resources (surplus equipment) not by Mapping is matched, then TOPO files below can be selected to be matched in the remaining resources of TBD, if matching just All related test cases in former and later two TOPO files, the parallel execution side that this surplus resources are matched again are performed parallel Formula, further increases the execution efficiency of test.
Shown in Figure 4, the embodiment of the present invention also provides a kind of automatization test system based on the above method, the test System includes parsing module, test topology file combination module, mapping matching module and performing module.Wherein:
Parsing module is used for:Test envelope file and the test topology file of all test cases are parsed, and is opened up to test Flutter file combination module and send and merge signal.Specifically, the parsing module includes test envelope document analysis submodule and survey The topological document analysis submodule of examination.Test envelope document analysis submodule, for parsing test envelope file, and to test topology file Merging module, which is sent, merges signal.Test topology document analysis submodule, the test topology text for parsing all test cases Part, and send merging signal to test topology file combination module.
Test topology file combination module is used for:Receive after merging signal, relatively parsed test topology file, by phase Same test topology file is merged and sorted, and sends mapping matched signal to mapping matching module.
Mapping matching module is used for:Receive after mapping matched signal, according to the order after rearrangement, a test is opened up All logical device flutterred in file carry out mapping with the physical equipment in test envelope file and match and occupy, and to performing module Send and perform signal.
Further, participate in shown in Fig. 4, the mapping matching module includes forcing mapping matched sub-block, multi-component system to be reflected Penetrate matched sub-block, priority mapping matched sub-block and mapping matching detection submodule.It is described to force mapping matched sub-block For:Receive after mapping matched signal, according to the order after rearrangement, check some defined in current test topology file Logical device whether with the physical equipment in test envelope file have pressure map, if so, then perform force mapping, and to mapping Detection signal is sent with detection sub-module, otherwise, multi-component system mapping signal is sent to multi-component system mapping matched sub-block.It is described many Tuple mapping matched sub-block is used for:Receive after multi-component system mapping signal, carry out multi-component system mapping, and successfully carrying out multi-component system After mapping priority mapping signal is sent to priority mapping matched sub-block.The priority mapping matched sub-block is used for: Receive after priority mapping signal, judge whether there are multiple physical equipments to meet in test envelope file right in the test topology file The description of the logical device, if so, carrying out priority mapping, will mark the high physical equipment of priority and matches in test envelope file Detection signal is sent to the logical device in current test topology file, and to mapping matching detection submodule;Otherwise, it will survey First physical equipment for matching maps the logical device in current test topology file in examination bed file, and to mapping Detection signal is sent with detection sub-module.The mapping matching detection submodule is used for:Receive after detection signal, detection is current to survey Whether all logical device match mapping and complete in the topological file of examination, and signal is performed if so, being sent to performing module, otherwise, to Mapping matched sub-block is forced to send mapping matched signal.
Performing module is used for:Receive after execution signal, be mapped to if all physical equipments in test envelope file are matched , then performing mapping matching module is used to complete all related test cases in the test topology file of mapping matching.
Further, participate in shown in Fig. 4, the performing module also includes surplus resources and maps implementation sub-module, and this is remained Remaining resource impact implementation sub-module is used for:If also having physical equipment to need to match mapping in test envelope file, in test envelope file Middle rejecting has been matched after the physical equipment occupied, by surplus equipment with being reflected according to next test topology file of sequence Matching is penetrated, if there are all related test cases just performed parallel in former and later two test topology files that can be matched.
It should be noted that:The system that above-described embodiment is provided is when carrying out automatic test, only with above-mentioned each function mould The division progress of block for example, in practical application, above-mentioned functions can be distributed as needed and be completed by different functional modules, The internal structure of system is divided into different functional modules, to complete all or part of function described above.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention Within the scope of.
The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (9)

1. a kind of automated testing method, it is characterised in that this method comprises the following steps:
A, parsing test envelope file and all test cases test topology file;
The parsed test topology file of B, comparison, identical test topology file is merged and sorted;
C, according to the order after rearrangement, by all logical device in a test topology file and test envelope file Physical equipment carries out mapping matching and occupied;
It is mapped to if all physical equipments in D, test envelope file are matched, performs and mapping matching is completed in step C All related test cases in test topology file.
2. automated testing method as claimed in claim 1, it is characterised in that:The test envelope file is retouched including physical equipment State information, equipment connection description information and equipment matching precedence information;The test topology file includes forcing match information With logical device description information.
3. automated testing method as claimed in claim 2, it is characterised in that step C idiographic flow is:
C1:According to the order after rearrangement, check some logical device defined in current test topology file whether with survey Physical equipment in examination bed file has pressure to map, if so, being then transferred to step C 2, is otherwise transferred to step C3;
C2:Directly perform and force mapping, be transferred to step C7;
C3:Multi-component system mapping is carried out, step C4 is transferred to;
C4:Success is carried out after multi-component system mapping, judges whether have multiple physical equipments to meet the test topology in test envelope file To the description of the logical device in file, if so, being transferred to step C5, step C6 is otherwise transferred to;
C5:Priority mapping is carried out, the high physical equipment of priority will be marked in test envelope file and is matched to current test topology The logical device in file, is transferred to step C7;
C6:The physical equipment that first matches in test envelope file is mapped into the logic in current test topology file to set It is standby, it is transferred to step C7;
C7:Detect in current test topology file whether all logical device match mapping and complete, if so, step S5 is transferred to, it is no Then, repeat step C1~C7, completes the matching mapping of other logical device in current test topology file.
4. automated testing method as claimed in claim 1, it is characterised in that:In step D, if there is thing in test envelope file Managing equipment needs to match mapping, is rejected in test envelope file after the physical equipment for being matched and having occupied, by surplus equipment with pressing Next test topology file of phototypesetting sequence carries out mapping matching, if there is former and later two tests that just perform parallel that can be matched to open up All related test cases flutterred in file.
5. a kind of automatization test system based on claim 1 methods described, it is characterised in that:The system includes parsing mould Block, test topology file combination module, mapping matching module and performing module;
The parsing module is used for:Test envelope file and the test topology file of all test cases are parsed, and is opened up to test Flutter file combination module and send and merge signal;
The test topology file combination module is used for:Receive after merging signal, relatively parsed test topology file, by phase Same test topology file is merged and sorted, and sends mapping matched signal to mapping matching module;
The mapping matching module is used for:Receive after mapping matched signal, according to the order after rearrangement, a test is opened up All logical device flutterred in file carry out mapping with the physical equipment in test envelope file and match and occupy, and to performing module Send and perform signal;
The performing module is used for:Receive after execution signal, be mapped to if all physical equipments in test envelope file are matched , then performing mapping matching module is used to complete all related test cases in the test topology file of mapping matching.
6. automatization test system as claimed in claim 5, it is characterised in that:The test envelope file includes:Physical equipment Description information, equipment connection description information and equipment matching precedence information;The test topology file includes:Force matching letter Breath and logical device description information.
7. automatization test system as claimed in claim 6, it is characterised in that:The mapping matching module includes forcing to map Matched sub-block, multi-component system mapping matched sub-block, priority mapping matched sub-block and mapping matching detection submodule:
It is described to force mapping matched sub-block to be used for:Receive after mapping matched signal, according to the order after rearrangement, check and work as Whether some logical device defined in preceding test topology file has pressure to map with the physical equipment in test envelope file, if Have, then perform and force mapping, and detection signal is sent to mapping matching detection submodule, otherwise, to multi-component system mapping matching Module sends multi-component system mapping signal;
The multi-component system mapping matched sub-block is used for:Receive after multi-component system mapping signal, carry out multi-component system mapping, and in success Carry out after multi-component system mapping to priority mapping matched sub-block transmission priority mapping signal;
The priority mapping matched sub-block is used for:Receive after priority mapping signal, judge whether have in test envelope file Multiple physical equipments meet the description to the logical device in the test topology file, if so, carrying out priority mapping, will test The high physical equipment of mark priority is matched to the logical device in current test topology file in bed file, and to mapping Detection signal is sent with detection sub-module;Otherwise, the physical equipment mapping that first matches in test envelope file is currently surveyed The logical device in the topological file of examination, and send detection signal to mapping matching detection submodule;
The mapping matching detection submodule is used for:Receive after detection signal, detect all logics in current test topology file Whether equipment, which matches mapping, is completed, and signal is performed if so, being sent to performing module, otherwise, to pressure mapping matched sub-block hair Send mapping matched signal.
8. automatization test system as claimed in claim 5, it is characterised in that:The performing module is also reflected including surplus resources Implementation sub-module is penetrated, surplus resources mapping implementation sub-module is used for:If also having physical equipment to need matching in test envelope file Mapping, rejected in test envelope file after the physical equipment for being matched and having occupied, by surplus equipment with according to the next of sequence Test topology file carries out mapping matching, if having what can be matched just to perform owning in former and later two test topology files parallel Related test case.
9. the automatization test system as any one of claim 5 to 8, it is characterised in that:The parsing module includes Test envelope document analysis submodule and test topology document analysis submodule;The test envelope document analysis submodule is used for:Solution Test envelope file is analysed, and merging signal is sent to test topology file combination module;The test topology document analysis submodule For:The test topology file of all test cases is parsed, and merging signal is sent to test topology file combination module.
CN201710217735.3A 2017-04-05 2017-04-05 Automatic testing method and system Active CN107124326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710217735.3A CN107124326B (en) 2017-04-05 2017-04-05 Automatic testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710217735.3A CN107124326B (en) 2017-04-05 2017-04-05 Automatic testing method and system

Publications (2)

Publication Number Publication Date
CN107124326A true CN107124326A (en) 2017-09-01
CN107124326B CN107124326B (en) 2020-05-05

Family

ID=59726252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710217735.3A Active CN107124326B (en) 2017-04-05 2017-04-05 Automatic testing method and system

Country Status (1)

Country Link
CN (1) CN107124326B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540351A (en) * 2018-04-20 2018-09-14 西北工业大学 The automated testing method of distributed big data service
CN114143235A (en) * 2020-08-13 2022-03-04 中国移动通信有限公司研究院 NFV automatic test method, device, equipment and storage medium
CN115659700A (en) * 2022-12-06 2023-01-31 北京云枢创新软件技术有限公司 Waveform automatic contrast analysis method, apparatus and medium based on signal dependency relationship

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731747A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Automatization testing frame system and method
CN1996265A (en) * 2006-12-18 2007-07-11 华为技术有限公司 Method and system for implementing automatic testing
CN101330412A (en) * 2008-07-29 2008-12-24 中兴通讯股份有限公司 Automatization test approach and system based on topological discovery
CN101937394A (en) * 2010-09-14 2011-01-05 中兴通讯股份有限公司 Method and device for adaption of topology
CN103647679A (en) * 2013-11-26 2014-03-19 上海斐讯数据通信技术有限公司 Automated topology dynamic mapping method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731747A (en) * 2005-07-29 2006-02-08 杭州华为三康技术有限公司 Automatization testing frame system and method
CN1996265A (en) * 2006-12-18 2007-07-11 华为技术有限公司 Method and system for implementing automatic testing
CN101330412A (en) * 2008-07-29 2008-12-24 中兴通讯股份有限公司 Automatization test approach and system based on topological discovery
CN101937394A (en) * 2010-09-14 2011-01-05 中兴通讯股份有限公司 Method and device for adaption of topology
CN103647679A (en) * 2013-11-26 2014-03-19 上海斐讯数据通信技术有限公司 Automated topology dynamic mapping method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540351A (en) * 2018-04-20 2018-09-14 西北工业大学 The automated testing method of distributed big data service
CN108540351B (en) * 2018-04-20 2021-06-25 西北工业大学 Automatic testing method for distributed big data service
CN114143235A (en) * 2020-08-13 2022-03-04 中国移动通信有限公司研究院 NFV automatic test method, device, equipment and storage medium
CN115659700A (en) * 2022-12-06 2023-01-31 北京云枢创新软件技术有限公司 Waveform automatic contrast analysis method, apparatus and medium based on signal dependency relationship
CN115659700B (en) * 2022-12-06 2023-03-17 北京云枢创新软件技术有限公司 Waveform automatic contrast analysis method, apparatus and medium based on signal dependency relationship

Also Published As

Publication number Publication date
CN107124326B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN101867501B (en) Method and system for automatically testing consistence of SNMP (Simple Network Management Protocol) interface information model
CN104579822B (en) Mobile application automated performance testing system and method based on Http agreements
CN101425938B (en) Method and apparatus for network apparatus test
CN102695187B (en) Distributed Web-based device and method for testing 6LoWPAN protocol consistency
CN106372301A (en) Method and system for detecting visualization and configuration consistency of configuration file of intelligent substation
CN102843245B (en) Configuration data exchange method and device
CN109194617A (en) The automatically parsing of XML message, packaging method and device
CN107124326A (en) A kind of automated testing method and system
CN106411637A (en) Internet-of-things device scenario testing method
CN106100935A (en) Charging equipment of electric automobile communication protocol consistency test device and method
CN108092854A (en) The test method and device of train grade ethernet device based on IEC61375 agreements
CN104640138B (en) A kind of method and device of orientation problem terminal
CN113419920B (en) Real-time monitoring method for joint debugging test process of simulation test system of Internet of things management platform
CN102291274B (en) A kind of system and method realizing automatic adaptation of network testing instrument
CN105871643A (en) Network operation simulating method based on routing protocol
CN110198254A (en) A kind of communication protocol inline diagnosis method and diagnostic system
CN106919511A (en) The analogy method of application, simulation application and its operation method and simulation system
CN109559121A (en) Transaction path calls exception analysis method, device, equipment and readable storage medium storing program for executing
CN106301976A (en) A kind of intelligent substation schedule information automated testing method
CN109902777A (en) Method based on handheld terminal real time inspection intelligent apparatus on-line testing result
WO2021151314A1 (en) Dns automatic performance test method, apparatus, device, and readable storage medium
CN103457957B (en) A kind of network penetration test macro and method with adaptation function
CN113660560B (en) Intelligent substation process layer switch topology real-time verification method
CN106301833A (en) A kind of transformer station schedule information method of testing
CN110266554A (en) A kind of test method of privately owned communication protocol

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200814

Address after: 430000 part of the third floor of cable building, Guandong science and Technology Park, Donghu New Technology Development Zone, Wuhan, Hubei Province

Patentee after: Wuhan Changjiang Computing Technology Co.,Ltd.

Address before: 430000 East Lake high tech Development Zone, Hubei Province, No. 6, No., high and new technology development zone, No. four

Patentee before: FIBERHOME TELECOMMUNICATION TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An automatic test method and system

Effective date of registration: 20210531

Granted publication date: 20200505

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: Wuhan Changjiang Computing Technology Co.,Ltd.

Registration number: Y2021420000031

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230914

Granted publication date: 20200505

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: Wuhan Changjiang Computing Technology Co.,Ltd.

Registration number: Y2021420000031

PC01 Cancellation of the registration of the contract for pledge of patent right