CN101330412A - Automatization test approach and system based on topological discovery - Google Patents

Automatization test approach and system based on topological discovery Download PDF

Info

Publication number
CN101330412A
CN101330412A CNA2008101444080A CN200810144408A CN101330412A CN 101330412 A CN101330412 A CN 101330412A CN A2008101444080 A CNA2008101444080 A CN A2008101444080A CN 200810144408 A CN200810144408 A CN 200810144408A CN 101330412 A CN101330412 A CN 101330412A
Authority
CN
China
Prior art keywords
test
script
subclass
topology
port
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
CNA2008101444080A
Other languages
Chinese (zh)
Other versions
CN101330412B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101444080A priority Critical patent/CN101330412B/en
Publication of CN101330412A publication Critical patent/CN101330412A/en
Application granted granted Critical
Publication of CN101330412B publication Critical patent/CN101330412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an automatic testing method based on topology discovery technology and a system thereof. The method comprises the following steps: traversing all test ports, and recording the ports directly connected with the test ports by changing the link statuses of the ports to obtain a tested logical topology; sequencing all test scripts according to the script attributes, loading the logical topology from a first test script and mapping to a physical topology, creating a test script subset, and setting a subset flag bit for the test script subset; sequentially mapping the test topology in the test script subsets under a testing environment according to a sequence of the subset flag bits of the test script subsets from small to large or from large to small, and testing. By using the method and the system, the automatic discovery of the test topological structure is carried out at the beginning of the testing, so as to omit the step of manually setting a tested physical topology; the module testing sequence can be flexibly arranged according to the strategy and attributes of the test scripts based on particular conditions; more importantly, a plurality of tested subsets can be test under the testing environment at the same time, so as to improve the testing efficiency.

Description

A kind of automated testing method and system based on Topology Discovery
Technical field
The present invention relates to the automatic test field, be specifically related to a kind of automated testing method and system based on Topology Discovery.
Background technology
Flourish along with automatization testing technique, automatization test system has been deep into the various aspects of software test gradually.Early stage automatization test system need be according to the unified test topology of setting of testing engineering.The testing engineering that for example has, test topology is set many equipment under tests and a plurality of testing equipment port.When carrying out test such as some of them basic module such as basic configuration command, only need an equipment under test in fact, even do not need the testing equipment port.And when only possessing these basic test conditions and carry out the test of these basic modules, will not satisfy set test topology because of test condition, cause test to carry out.
In order to adapt to this test case, build test environment according to the topological structure of test module, a module testing finishes and continues to build corresponding test environment according to next test module again.Cause change test environment frequent in test process like this, and need to revise simultaneously corresponding configuration on automatization test system, artificial property of participation is strong, is unfavorable for carrying out of automatization testing technique.
Chinese patent CN 1731747, by building test environment, the topology and the storage of test physical environment are described, the logical topology and the storage of test case are described, read the test script of described test case and resolve the logical topology that it relies on, shine upon described logical topology to described physical topology, carry out the operation of described test definition.
But it is single that the shortcoming of this technical scheme is exactly a test execution, can only single-threadedly test, and so also caused the waste of some tested equipment and testing equipment, can not reach the maximum utilization of test resource.
Simultaneously when building test environment, human configuration test environment complexity, need be between the tested equipment and multiple connection between tested equipment and the testing equipment, cause actual connection physics topological sum expection physical topology inconsistent easily, influence automatic test, even when connecting because cable is inserted loosely, cause actual connection physics topological sum expection physical topology inconsistent, this point is than the more difficult discovery of front connection error, directly influence the effect of automatic test, even cause the failure of automatic test.Therefore, need a kind of technical scheme to solve and when carrying out the test environment topological structure, find automatically, and move the problem that tactful adaptive adjustment test script shines upon its logical topology order, can carry out a plurality of test assignments simultaneously according to script.
Summary of the invention
Technical problem to be solved by this invention provides a kind of automated testing method and system based on Topology Discovery, can carry out the test environment automatic discovery of topological structure, and move tactful adaptive adjustment test script according to script and shine upon its logical topology order, simultaneously can carry out a plurality of test assignments, maximally utilised test resource, save the testing time, adapted to the demand of at present extensive automatic test.
In order to address the above problem, the invention provides a kind of automated testing method based on Topology Discovery, comprise,
Travel through all test ports,, write down its direct connectivity port, generate the logical topology of test environment by changing the Link State of port;
According to the script attribute of setting, all scripts of testing are sorted, begin to load described logical topology and be mapped to physical topology from first test script, physical topology until the test environment of the test script that loads satisfies the described logical topology of mapping, and creates the test script subclass;
Load the script of back according to described order, mapping logic topology in the physical topology that the test script subclass that has existed is shone upon at first, if physical topology satisfies, then this script is added the test script subclass of the described establishment of being satisfied, and the subclass flag bit of this test script subclass is set; If physical topology does not satisfy, then in having generated the supplementary set of test script subclass institute mapping physical topology in the physical topology, test continues mapping, satisfy up to its physical topology, set up new test script subclass, and the subclass flag bit of new test script subclass is set; According to the ascending or descending order of the subclass flag bit of test script subclass, successively the test script subclass is shone upon test topology on test environment and test.
Further, above-mentioned automated testing method also can comprise, all test ports of described traversal by changing the Link State of port, write down its direct connectivity port, generate the logical topology of test environment, are divided into following steps,
Travel through all test ports, the information of place device name, port title, port type and the port Link State of the physical port of record testing equipment and tested equipment;
The information of seeking the port Link State is the test port of up, and its Link State is become the down state, and record respective link state becomes other test ports of down by up, and writing down these two ports is the port with annexation;
Other do not have the test port of annexation to continue traversal, and the attribute that utilizes its Link State to change writes down its direct connectivity port;
According to annexation between the test port, generate the logical topology of test environment.
Further, above-mentioned automated testing method also can comprise, the information of described searching port Link State is in the test port of up, if not finding the information of port Link State is the test port of up, then being illustrated in present test environment does not have direct connectivity port, illustrates that this port is connected with equipment outside the test environment or port encircles certainly.
Further, above-mentioned automated testing method can comprise that also the test script subclass of described establishment is meant the set of a class script of testing on same physical topology;
Described script attribute comprises that test priority, running time or test resource occupy situation, wherein,
Test priority is meant the priority of test script, if the testing time is restricted, according to script priority order loading scripts from high to low;
The needed time when being meant described script proper testing running time is in the testing time when limited, according to ascending order loading scripts running time;
The test resource situation of occupying is meant the test resource situation that described script occupies when test.
Further, above-mentioned automated testing method also can comprise, the described script that loads the back according to the order of ordering, mapping logic topology in the physical topology that the test script subclass that has existed is shone upon at first, if physical topology satisfies, then this script is added the test script subclass that is satisfied; If physical topology does not satisfy, then in the test physical topology, generated in the supplementary set of test script subclass institute mapping physical topology and continued mapping, if its physical topology satisfies, then set up in the new test script subclass, further comprise,
If script does not satisfy the two physical topology, then this script is not temporarily tested, and adds the script flag bit on script attribute;
Order according to described ordering, continue to exist in the loading scripts attribute script of script flag bit, promptly continue to load the script that does not carry out Topological Mapping, carry out of the mapping of its logical topology to the test environment physical topology, set up the test script subclass, and the subclass flag bit of this test script subclass is set.
Further, above-mentioned automated testing method can comprise that also the test script subclass that described subclass flag bit is identical is shone upon simultaneously and tested simultaneously.
Further, above-mentioned automated testing method also can comprise, after described test finishes, also comprise,
Output test result, also export the script that has the script flag bit in the script attribute simultaneously, illustrate that present test environment does not satisfy the test of these scripts, empty test environment, continue to carry out the test script subclass of next batch.
The present invention also provides a kind of automatization test system based on Topology Discovery,
Comprise topological automatic discovering module, script Topological Mapping module and testing execution module, wherein,
Described topological automatic discovering module is used to travel through all test ports, by changing the Link State of port, writes down its direct connectivity port, generates the logical topology of test environment;
Described script strategic control module, be used for according to the script attribute of setting, all scripts of testing are sorted, begin to load described logical topology and be mapped to physical topology from first test script, physical topology until the test environment of the test script that loads satisfies the described logical topology of mapping, and creates the test script subclass; Load the script of back according to described order, at first in the physical topology that the test script subclass that has existed is shone upon, shine upon the logical topology that described script strategic control module generates, if physical topology satisfies, then this script is added the test script subclass of the described establishment of being satisfied, and the subclass flag bit of this test script subclass is set; If physical topology does not satisfy, then in having generated the supplementary set of test script subclass institute mapping physical topology in the physical topology, test continues mapping, satisfy up to its physical topology, set up new test script subclass, and the subclass flag bit of new test script subclass is set; The test script subclass and the subclass flag bit thereof of all establishments are sent to described testing execution module;
Testing execution module, receive test script subclass and subclass flag bit thereof that described script strategic control module sends, according to the ascending or descending order of the subclass flag bit of test script subclass, successively the test script subclass is shone upon test topology on test environment and test.
Further, above-mentioned automatization test system can comprise that also described topological automatic discovering module travels through all test ports, by changing the Link State of port, writes down its direct connectivity port, generates the logical topology of test environment, be meant,
Described topological automatic discovering module travels through all test ports, the information of place device name, port title, port type and the port Link State of the physical port of record testing equipment and tested equipment; The information of seeking the port Link State is the test port of up, and its Link State is become the down state, and record respective link state becomes other test ports of down by up, and writing down these two ports is the port with annexation; Other do not have the test port of annexation to continue traversal, and the attribute that utilizes its Link State to change writes down its direct connectivity port; According to annexation between the test port, generate the logical topology of test environment.
Further, above-mentioned automatization test system can comprise that also the test script subclass that described script strategic control module is created is meant the set of a class script of testing on same physical topology;
Described script strategic control module comprises that according to script attribute in the script attribute of setting test priority, running time or test resource occupy situation, wherein,
Test priority is meant the priority of test script, if the testing time is restricted, according to script priority order loading scripts from high to low;
The needed time when being meant described script proper testing running time is in the testing time when limited, according to ascending order loading scripts running time;
The test resource situation of occupying is meant the test resource situation that described script occupies when test.
Further, above-mentioned automatization test system also can comprise, described script strategic control module, also be used for loading the script of back according to the order of described ordering, if the physical topology that the neither satisfied test script subclass that has existed of script is shone upon does not satisfy the supplementary set that has generated test script subclass institute mapping physical topology again, then on this script attribute, add the script flag bit, order according to described ordering, continue to exist in the loading scripts attribute script of script flag bit, promptly continue to load the script that does not carry out Topological Mapping, carry out of the mapping of its logical topology to the test environment physical topology, set up the test script subclass, and the subclass flag bit of this test script subclass is set.
Further, above-mentioned automatization test system also can comprise, described testing execution module is shone upon test topology and is tested the test script subclass successively and is meant that described testing execution module is shone upon simultaneously the identical test script subclass of described subclass flag bit and tested simultaneously on test environment.
Compared with prior art, use the present invention, just carry out the automatic discovery of test topology structure, save the test physical topology artificially is set, and avoided the human error when complicated physical topology is set in the test beginning.Can also arrange the module testing order flexibly according to the policy attribute of test script according to actual conditions, the more important thing is the test of on test environment, carrying out a plurality of test subclass simultaneously, improve testing efficiency, utilized test resource to greatest extent, saved testing cost.
Description of drawings
Fig. 1 is the flow chart of the automated testing method based on Topology Discovery of the present invention;
Fig. 2 is the structural representation of the automatization test system based on Topology Discovery of the present invention.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments.
As shown in Figure 1, a kind of automated testing method based on Topology Discovery may further comprise the steps,
Step 100, travel through all test ports, write down information such as its physical port place device name, port title, port type and port Link State;
Described test port is meant the physical port that comprises testing equipment and tested equipment.
Step 110, the information of seeking the port Link State are the test port of up, and its Link State is become closed condition (down), and record respective link state becomes other test ports of down by up, and writing down these two ports is the port with annexation;
If not finding the information of port Link State is the test port of up, then being illustrated in present test environment does not have direct connectivity port, illustrate that this port is connected with equipment outside the test environment or port from ring etc.
Step 120, continuation travel through other and do not have the test port of annexation, and the attribute that utilizes its Link State to change writes down its direct connectivity port;
Step 130, according to annexation between the test port, generate the logical topology of test environment;
Step 140, according to the script attribute of setting, all scripts of testing are sorted, to first test script load logic topology and be mapped to physical topology,, then set up the test script subclass if the test environment physical topology satisfies its load logic topology; If the test environment physical topology does not satisfy its load logic topology, then this script is not tested, and continues to load the script of back, satisfies its mapping logic topology until the test environment physical topology, and creates the test script subclass;
The test script subclass is meant the set of the class script that can test on same physical topology.
Described script attribute comprises that test priority, running time or test resource occupy situation etc., wherein,
Test priority is meant the priority of test script, if the testing time is restricted, and can be according to script priority order loading scripts from high to low;
The needed time when being meant this script proper testing running time, when limited, can carry out more test in the testing time equally according to ascending order loading scripts running time; In the test process according to the set strategy adjustment test script of test script loading sequence;
The test resource situation of occupying is meant the test resource situation that this script occupies when test, bigger characteristics of the present invention are exactly to carry out the test of a plurality of scripts on a physical environment simultaneously, reach the purpose of utilizing test resource to greatest extent; Arrange script according to the test resource situation of occupying, allow test resource occupy few script and carry out Topological Mapping earlier, can move a plurality of scripts so simultaneously and test.
Step 150, load the script of back according to the order of ordering, at first mapping logic topology in the physical topology that the test script subclass that has existed is shone upon if physical topology satisfies, then adds the test script subclass that is satisfied to this script; If physical topology does not satisfy, then in having generated the supplementary set of test script subclass institute mapping physical topology in the physical topology, test continues mapping, if its physical topology satisfies, then set up new test script subclass, otherwise, this script is not temporarily tested, and adds script flag bit Y on script attribute;
It is 0 that the test script subclass that this step is created is provided with the subclass flag bit, indicates that these test script subclass are with once creating, can shine upon simultaneously in physical topology, satisfying the purpose of test jointly.The test script loaded empties the mapping topology.
Step 160, according to the ordering order, the script flag bit is the script of Y in the continuation loading scripts attribute, promptly continue to load the script that does not carry out Topological Mapping, repeat above-mentioned steps 140-step 150, carry out of the mapping of its logical topology to the test environment physical topology, set up the test script subclass, and the subclass flag bit of this test script subclass is set;
Wherein, the script that Topological Mapping finishes is with script flag bit Y cancellation in its script attribute.
Wherein, repeat above-mentioned steps 140-step 150 one time, it is 1 that the test script subclass of being created is provided with the subclass flag bit.
Can set herein and repeat frequency n, carry out this step (operated by rotary motion n<=5) repeatedly.As much as possible allowing shone upon a plurality of test subclass simultaneously on physical topology, reach the purpose of common test, certainly, repeats number of times according to test, and it is n that the test script subclass of being created is provided with the subclass flag bit.
Step 170, according to the ascending or descending order of the subclass flag bit of test script subclass, mapping test topology and testing on test environment successively, test finishes, output test result, export also simultaneously that the script flag bit is the script of Y in the script attribute, show that present test environment does not satisfy the test of these scripts, empty test environment, continue to carry out the test script subclass of next batch.
Wherein, the test script subclass that the subclass flag bit is identical can be shone upon and test simultaneously simultaneously.
As shown in Figure 2, a kind of automatization test system based on Topology Discovery increases on patent CN 1731747 and has improved: topological automatic discovering module, script Topological Mapping module and testing execution module, wherein,
Described topological automatic discovering module is used to travel through all test ports, by changing the Link State of port, writes down its direct connectivity port, generates the logical topology of test environment;
The topological automatic discovering module is mainly used in the networking logical topology of automatic discovery testing equipment and tested equipment, saved manual configuration test physics topological sum and carried out the mapping of physical topology, the automatic test failure of having avoided the physical connection state mistake to cause to logical topology.
Described script strategic control module, be used for according to the script attribute of setting, all scripts of testing are sorted, begin to load described logical topology and be mapped to physical topology from first test script, physical topology until the test environment of the test script that loads satisfies the described logical topology of mapping, and creates the test script subclass; Load the script of back according to described order, at first in the physical topology that the test script subclass that has existed is shone upon, shine upon the logical topology that described script strategic control module generates, if physical topology satisfies, then this script is added the test script subclass of the described establishment of being satisfied, and the subclass flag bit of this test script subclass is set; If physical topology does not satisfy, then in having generated the supplementary set of test script subclass institute mapping physical topology in the physical topology, test continues mapping, satisfy up to its physical topology, set up new test script subclass, and the subclass flag bit of new test script subclass is set; The test script subclass and the subclass flag bit thereof of all establishments are sent to described testing execution module;
Script Topological Mapping module mainly is according to the script attribute of setting, and its logical topology is mapped on the test environment, and occupies situation continued according to test resource and carry out Topological Mapping, up to having utilized test resource to greatest extent.
Testing execution module, receive test script subclass and subclass flag bit thereof that described script strategic control module sends, according to the ascending or descending order of the subclass flag bit of test script subclass, successively the test script subclass is shone upon test topology on test environment and test.
Testing execution module mainly is to carry out test script according to the test script predetermined policy, can carry out one or more test script simultaneously, reaches and utilizes resource, time-saving purpose.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with the people of this technology in technical scope disclosed in this invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (12)

1, a kind of automated testing method based on Topology Discovery is characterized in that, comprise,
Travel through all test ports,, write down its direct connectivity port, generate the logical topology of test environment by changing the Link State of port;
According to the script attribute of setting, all scripts of testing are sorted, begin to load described logical topology and be mapped to physical topology from first test script, physical topology until the test environment of the test script that loads satisfies the described logical topology of mapping, and creates the test script subclass;
Load the script of back according to described order, mapping logic topology in the physical topology that the test script subclass that has existed is shone upon at first, if physical topology satisfies, then this script is added the test script subclass of the described establishment of being satisfied, and the subclass flag bit of this test script subclass is set; If physical topology does not satisfy, then in having generated the supplementary set of test script subclass institute mapping physical topology in the physical topology, test continues mapping, satisfy up to its physical topology, set up new test script subclass, and the subclass flag bit of new test script subclass is set; According to the ascending or descending order of the subclass flag bit of test script subclass, successively the test script subclass is shone upon test topology on test environment and test.
2, automated testing method as claimed in claim 1 is characterized in that,
All test ports of described traversal by changing the Link State of port, write down its direct connectivity port, generate the logical topology of test environment, are divided into following steps,
Travel through all test ports, the information of place device name, port title, port type and the port Link State of the physical port of record testing equipment and tested equipment;
The information of seeking the port Link State is the test port of up, and its Link State is become the down state, and record respective link state becomes other test ports of down by up, and writing down these two ports is the port with annexation;
Other do not have the test port of annexation to continue traversal, and the attribute that utilizes its Link State to change writes down its direct connectivity port;
According to annexation between the test port, generate the logical topology of test environment.
3, automated testing method as claimed in claim 2 is characterized in that,
The information of described searching port Link State is in the test port of up, if not finding the information of port Link State is the test port of up, then being illustrated in present test environment does not have direct connectivity port, illustrates that this port is connected with equipment outside the test environment or port encircles certainly.
4, automated testing method as claimed in claim 1 is characterized in that,
The test script subclass of described establishment is meant the set of a class script of testing on same physical topology;
Described script attribute comprises that test priority, running time or test resource occupy situation, wherein,
Test priority is meant the priority of test script, if the testing time is restricted, according to script priority order loading scripts from high to low;
The needed time when being meant described script proper testing running time is in the testing time when limited, according to ascending order loading scripts running time;
The test resource situation of occupying is meant the test resource situation that described script occupies when test.
5, automated testing method as claimed in claim 1 is characterized in that,
Described script according to the order loading back of sorting, at first mapping logic topology in the physical topology that the test script subclass that has existed is shone upon if physical topology satisfies, then adds the test script subclass that is satisfied to this script; If physical topology does not satisfy, then in the test physical topology, generated in the supplementary set of test script subclass institute mapping physical topology and continued mapping, if its physical topology satisfies, then set up in the new test script subclass, further comprise,
If script does not satisfy the two physical topology, then this script is not temporarily tested, and adds the script flag bit on script attribute;
Order according to described ordering, continue to exist in the loading scripts attribute script of script flag bit, promptly continue to load the script that does not carry out Topological Mapping, carry out of the mapping of its logical topology to the test environment physical topology, set up the test script subclass, and the subclass flag bit of this test script subclass is set.
6, automated testing method as claimed in claim 1 is characterized in that,
Further comprise,
The test script subclass that described subclass flag bit is identical is shone upon simultaneously and is tested simultaneously.
7, automated testing method as claimed in claim 1 is characterized in that,
After described test finishes, also comprise,
Output test result, also export the script that has the script flag bit in the script attribute simultaneously, illustrate that present test environment does not satisfy the test of these scripts, empty test environment, continue to carry out the test script subclass of next batch.
8, a kind of automatization test system based on Topology Discovery is characterized in that,
Comprise topological automatic discovering module, script Topological Mapping module and testing execution module, wherein,
Described topological automatic discovering module is used to travel through all test ports, by changing the Link State of port, writes down its direct connectivity port, generates the logical topology of test environment;
Described script strategic control module, be used for according to the script attribute of setting, all scripts of testing are sorted, begin to load described logical topology and be mapped to physical topology from first test script, physical topology until the test environment of the test script that loads satisfies the described logical topology of mapping, and creates the test script subclass; Load the script of back according to described order, at first in the physical topology that the test script subclass that has existed is shone upon, shine upon the logical topology that described script strategic control module generates, if physical topology satisfies, then this script is added the test script subclass of the described establishment of being satisfied, and the subclass flag bit of this test script subclass is set; If physical topology does not satisfy, then in having generated the supplementary set of test script subclass institute mapping physical topology in the physical topology, test continues mapping, satisfy up to its physical topology, set up new test script subclass, and the subclass flag bit of new test script subclass is set; The test script subclass and the subclass flag bit thereof of all establishments are sent to described testing execution module;
Testing execution module, receive test script subclass and subclass flag bit thereof that described script strategic control module sends, according to the ascending or descending order of the subclass flag bit of test script subclass, successively the test script subclass is shone upon test topology on test environment and test.
9, automatization test system as claimed in claim 8 is characterized in that,
Described topological automatic discovering module travels through all test ports, by changing the Link State of port, writes down its direct connectivity port, generates the logical topology of test environment, be meant,
Described topological automatic discovering module travels through all test ports, the information of place device name, port title, port type and the port Link State of the physical port of record testing equipment and tested equipment; The information of seeking the port Link State is the test port of up, and its Link State is become the down state, and record respective link state becomes other test ports of down by up, and writing down these two ports is the port with annexation; Other do not have the test port of annexation to continue traversal, and the attribute that utilizes its Link State to change writes down its direct connectivity port; According to annexation between the test port, generate the logical topology of test environment.
10, automatization test system as claimed in claim 8 is characterized in that,
The test script subclass that described script strategic control module is created is meant the set of a class script of testing on same physical topology;
Described script strategic control module comprises that according to script attribute in the script attribute of setting test priority, running time or test resource occupy situation, wherein,
Test priority is meant the priority of test script, if the testing time is restricted, according to script priority order loading scripts from high to low;
The needed time when being meant described script proper testing running time is in the testing time when limited, according to ascending order loading scripts running time;
The test resource situation of occupying is meant the test resource situation that described script occupies when test.
11, automatization test system as claimed in claim 8 is characterized in that,
Described script strategic control module, also be used for loading the script of back according to the order of described ordering, if the physical topology that the neither satisfied test script subclass that has existed of script is shone upon does not satisfy the supplementary set that has generated test script subclass institute mapping physical topology again, then on this script attribute, add the script flag bit, order according to described ordering, continue to exist in the loading scripts attribute script of script flag bit, promptly continue to load the script that does not carry out Topological Mapping, carry out of the mapping of its logical topology to the test environment physical topology, set up the test script subclass, and the subclass flag bit of this test script subclass is set.
12, automatization test system as claimed in claim 8 is characterized in that,
Described testing execution module is shone upon test topology and is tested the test script subclass successively and is meant that described testing execution module is shone upon simultaneously the identical test script subclass of described subclass flag bit and tested simultaneously on test environment.
CN2008101444080A 2008-07-29 2008-07-29 Automatization test approach and system based on topological discovery Active CN101330412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101444080A CN101330412B (en) 2008-07-29 2008-07-29 Automatization test approach and system based on topological discovery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101444080A CN101330412B (en) 2008-07-29 2008-07-29 Automatization test approach and system based on topological discovery

Publications (2)

Publication Number Publication Date
CN101330412A true CN101330412A (en) 2008-12-24
CN101330412B CN101330412B (en) 2011-01-19

Family

ID=40206020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101444080A Active CN101330412B (en) 2008-07-29 2008-07-29 Automatization test approach and system based on topological discovery

Country Status (1)

Country Link
CN (1) CN101330412B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937394A (en) * 2010-09-14 2011-01-05 中兴通讯股份有限公司 Method and device for adaption of topology
CN102118281A (en) * 2011-03-16 2011-07-06 北京星网锐捷网络技术有限公司 Method, device and network equipment for automatic testing
CN105117106A (en) * 2015-08-27 2015-12-02 株洲南车时代电气股份有限公司 Train human-computer interaction unit test system
CN106936605A (en) * 2015-12-29 2017-07-07 迈普通信技术股份有限公司 A kind of method and apparatus for creating test assignment
CN107124326A (en) * 2017-04-05 2017-09-01 烽火通信科技股份有限公司 A kind of automated testing method and system
CN109450738A (en) * 2018-12-19 2019-03-08 迈普通信技术股份有限公司 Chain circuit detecting method, device and server
CN109728929A (en) * 2017-10-30 2019-05-07 中兴通讯股份有限公司 A kind of test method, device and storage medium
CN109962823A (en) * 2017-12-26 2019-07-02 迈普通信技术股份有限公司 A kind of automatization test system and method for network application scene
CN111159006A (en) * 2018-11-07 2020-05-15 迈普通信技术股份有限公司 Automatic testing method and device
CN112860558A (en) * 2021-02-20 2021-05-28 汇链通供应链科技(上海)有限公司 Multi-interface automatic testing method and device based on topology discovery

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100356738C (en) * 2005-07-29 2007-12-19 杭州华三通信技术有限公司 Automatization testing frame system and method
CN100347993C (en) * 2005-09-27 2007-11-07 清华大学 Protocol interoperation characteristic test generating method based on communication multi-port finite state machine
CN100437513C (en) * 2006-12-18 2008-11-26 华为技术有限公司 Method and system for implementing automatic testing

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937394A (en) * 2010-09-14 2011-01-05 中兴通讯股份有限公司 Method and device for adaption of topology
CN102118281A (en) * 2011-03-16 2011-07-06 北京星网锐捷网络技术有限公司 Method, device and network equipment for automatic testing
CN102118281B (en) * 2011-03-16 2013-06-19 北京星网锐捷网络技术有限公司 Method, device and network equipment for automatic testing
CN105117106A (en) * 2015-08-27 2015-12-02 株洲南车时代电气股份有限公司 Train human-computer interaction unit test system
CN106936605B (en) * 2015-12-29 2019-09-20 迈普通信技术股份有限公司 A kind of method and apparatus creating test assignment
CN106936605A (en) * 2015-12-29 2017-07-07 迈普通信技术股份有限公司 A kind of method and apparatus for creating test assignment
CN107124326A (en) * 2017-04-05 2017-09-01 烽火通信科技股份有限公司 A kind of automated testing method and system
CN107124326B (en) * 2017-04-05 2020-05-05 烽火通信科技股份有限公司 Automatic testing method and system
CN109728929A (en) * 2017-10-30 2019-05-07 中兴通讯股份有限公司 A kind of test method, device and storage medium
CN109962823A (en) * 2017-12-26 2019-07-02 迈普通信技术股份有限公司 A kind of automatization test system and method for network application scene
CN109962823B (en) * 2017-12-26 2022-07-19 迈普通信技术股份有限公司 Automatic testing system and method for network application scene
CN111159006A (en) * 2018-11-07 2020-05-15 迈普通信技术股份有限公司 Automatic testing method and device
CN109450738A (en) * 2018-12-19 2019-03-08 迈普通信技术股份有限公司 Chain circuit detecting method, device and server
CN112860558A (en) * 2021-02-20 2021-05-28 汇链通供应链科技(上海)有限公司 Multi-interface automatic testing method and device based on topology discovery
CN112860558B (en) * 2021-02-20 2022-05-31 汇链通产业供应链数字科技(厦门)有限公司 Multi-interface automatic testing method and device based on topology discovery

Also Published As

Publication number Publication date
CN101330412B (en) 2011-01-19

Similar Documents

Publication Publication Date Title
CN101330412B (en) Automatization test approach and system based on topological discovery
CN105144114B (en) FPGA block has the tester of hybrid protocol engine
CN105808428B (en) A method of unified performance test is carried out to distributed file system
CN104598376A (en) Data driving layered automation test system and method
CN103765381B (en) Parallel work-flow to B+ tree
CN102118281B (en) Method, device and network equipment for automatic testing
CN100340997C (en) Automatic test method of application
CN101303708B (en) Method and apparatus for encoding code for multiplexing chip pins
CN104750606B (en) A kind of automated testing method based on reflection
CN1924800A (en) Control-based insert management system and method for secondary development platform
CN113721927B (en) ATE test vector compiling acceleration method based on FPGA and ATE system
CN111428431A (en) Method and system for supporting automatic test and recording of EDA (electronic design automation) software
CN107947965A (en) Service chaining compiler
CN1996265A (en) Method and system for implementing automatic testing
CN113326026B (en) Method and terminal for generating micro-service business process interface
CN110221867A (en) Pulse I/O function cartoon letters drive system and method under a kind of XP system
CN106201860B (en) The test method and device of application system
CN100432954C (en) Inlaid system detection method and system
CN100426248C (en) Test system and method for network additive storage device
CN101404492A (en) Method, apparatus and system for loading field programmable gate array
CN109359039A (en) A method of promoting Sahi automatic test efficiency
CN101354722B (en) Method, apparatus and system for controlling version
CN1933513A (en) Automatic testing device and method for digital user line intercommunity
CN101335960B (en) Method and system implementing mobile phone automatic test
CN101621370B (en) Method and system for testing performance of business process as well as electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant