Summary of the invention
The invention provides a kind of multi-topological environmental test method, system and equipment,, improve the testing efficiency and the test mass of multi-topological environmental in order to make full use of test resource and time.
Multi-topological environmental test method provided by the invention comprises:
Test monitoring equipment is determined the current test assignment that needs execution from the test assignment formation, load the configuration file and the test script of described test assignment, described configuration file comprises topological arrangement information, described topological arrangement information is indicated the test port annexation of topological switching device and tester, the test port annexation of each testing equipment in topology switching device and the tested multi-topological environmental, each tested multi-topological environmental is built by tester and a plurality of testing equipment according to the test topology of corresponding test assignment, and described topological switching device links to each other with a plurality of testing equipments with tester;
Test monitoring equipment carries out the configuration of the tested multi-topological environmental of described test assignment correspondence to topological switching device according to configuration file, in the VLAN ID VID of idle condition value, select the VID value, realize that according to topological arrangement information and selected VID value generation control the command string that topology is switched sends to topological switching device, and selected VID value is set to user mode, described topological switching device is created special VLAN according to the command string that receives, and the test port that belongs to same broadcast domain in the tested multi-topological environmental of described special VLAN with described test assignment correspondence is divided in the same VLAN;
Test monitoring equipment is carried out the test script of described test assignment after configuration is finished, carry out the transmitting-receiving of test frame in control tester and the corresponding tested multi-topological environmental between each testing equipment, wherein, the test frame between tester and each testing equipment is transmitted by topological switching device;
Test monitoring equipment receives the test result of the described test assignment that described tester draws according to the test frame reception result, and confirms that according to the test result that receives described test assignment is complete.
Multi-topological environmental test macro provided by the invention comprises test monitoring equipment, topological switching device and tester and a plurality of testing equipment, and described tester links to each other with described topological switching device with a plurality of testing equipments, wherein:
Described test monitoring equipment, be used for determining the test assignment that current needs are carried out from the test assignment formation, load the configuration file and the test script of described test assignment, described configuration file comprises topological arrangement information, described topological arrangement information is indicated the test port annexation of topological switching device and tester, the test port annexation of each testing equipment in topology switching device and the tested multi-topological environmental, and topological switching device is carried out the configuration of the tested multi-topological environmental of described test assignment correspondence according to configuration file, in the VLAN ID VID of idle condition value, select the VID value, realize that according to topological arrangement information and selected VID value generation control the command string that topology is switched sends to topological switching device, the VID value of selecting is set to user mode; After finishing, configuration carries out the test script of described test assignment, carry out the transmitting-receiving of test frame in control tester and the corresponding tested multi-topological environmental between each testing equipment, and confirm that according to the test result that receives described test assignment is complete, wherein, each tested multi-topological environmental is built by described tester and a plurality of testing equipment according to the test topology of corresponding test assignment;
Described tester is used for drawing the test result of described test assignment and reporting test monitoring equipment according to the test frame reception result carrying out the transmitting-receiving of test frame under the control of test monitoring equipment and between each testing equipment of tested multi-topological environmental of configuration;
Described topological switching device, be used for creating special VLAN according to the command string that receives, the test port that belongs to same broadcast domain in the tested multi-topological environmental of described special VLAN with described test assignment correspondence is divided in the same VLAN, and between described tester and each testing equipment the transmitted test frame.
Test monitoring equipment provided by the invention comprises memory module, control module and topological arrangement module, wherein:
Described memory module, be used for storing the configuration information and the test script of test assignment formation and each test assignment of test assignment formation, described configuration information comprises that the described topological arrangement information of topological arrangement information indicates the test port annexation of each testing equipment in the test port annexation of topological switching device and tester, topological switching device and the tested multi-topological environmental;
Described control module, be used for determining the test assignment that current needs are carried out from the test assignment formation, load the configuration file and the test script of described test assignment, call the topological arrangement module and learning that the topological arrangement block configuration carries out the test script of described test assignment after finishing, carry out the transmitting-receiving of test frame in control tester and the corresponding tested multi-topological environmental between each testing equipment, and confirm that according to the test result that receives described test assignment is complete, wherein, each tested multi-topological environmental is built by tester and a plurality of testing equipment according to the test topology of corresponding test assignment, and described topological switching device links to each other with a plurality of testing equipments with tester;
Described topological arrangement module, be used for topological switching device being carried out the configuration of the tested multi-topological environmental of described test assignment correspondence according to configuration file, in the VLAN ID VID of idle condition value, select the VID value, realize that according to topological arrangement information and selected VID value generation control the command string that topology is switched sends to topological switching device, selected VID value is set to user mode, and notifies described control module after configuration is finished.
Multi-topological environmental test method provided by the invention, system and equipment, test monitoring equipment is determined the current test assignment that needs execution from the test assignment formation, load the configuration file and the test script of test assignment, and topological switching device is carried out the configuration of the tested multi-topological environmental of test assignment correspondence according to configuration file, after finishing, configuration carries out the test script of test assignment, carry out the transmitting-receiving of test frame in control tester and the corresponding tested multi-topological environmental between each testing equipment, test frame between tester and each testing equipment is transmitted by topological switching device, realized that the test port of tester is connected the automatic switchover of corresponding relation with the test port of each testing equipment in the tested multi-topological environmental, in the time need in the different multi-topological environmental of a plurality of independently test topologys, testing, can carry out topology automatically switches and the test assignment scheduling, make full use of testing time and test resource, improve the testing efficiency and the test mass of multi-topological environmental.
Embodiment
The embodiment of the invention provides a kind of multi-topological environmental testing scheme, can solve problems of the prior art, make whole test event to carry out on automatic smoothing ground, made full use of test resource and time, improved the testing efficiency and the test mass of how topological test environment.
As shown in Figure 3, the multi-topological environmental test macro that the embodiment of the invention provides, comprise a plurality of testing equipments 300, test monitoring equipment 301, tester 302 and topological switching device 303, test monitoring equipment 301 is by mode and a plurality of testing equipments 300 such as serial ports or network interface cards, tester 302 links to each other with topological switching device 303, the test port of tester 302, the test port of a plurality of testing equipments 300 links to each other with topological switching device 303, need not directly to link to each other between tester 302 and a plurality of testing equipments 300, a plurality of testing equipments 300 and tester 302 are formed at least two tested multi-topological environmentals in advance, wherein, each tested multi-topological environmental is built according to the test topology of corresponding test assignment, a plurality of testing equipments 300 comprise a plurality of equipment under tests at least, also may comprise one or more auxilliary measurement equipments.Wherein:
Test monitoring equipment 301, be used for determining the test assignment that current needs are carried out from the test assignment formation, load current configuration file and the test script that needs the test assignment of execution, and topological switching device 303 is carried out the configuration of the tested multi-topological environmental of the test assignment correspondence that current needs carry out according to configuration file, after finishing, configuration carries out the current test script that needs the test assignment of execution, carry out the transmitting-receiving of test frame in control tester 302 and the corresponding tested multi-topological environmental between each testing equipment 300, and confirm that according to the test result that receives the test assignment of current needs execution is complete;
Test monitoring equipment 301 determines to need to continue the test assignment of execution from the test assignment formation after the current test assignment that need carry out is complete, test assignments all in the test assignment formation is complete;
Tester 302, be used for carrying out the transmitting-receiving of test frame under the control of test monitoring equipment 301 and between each testing equipment 300 of tested multi-topological environmental of configuration, draw the test result of the test assignment that current needs carry out and report test monitoring equipment 301 according to the test frame reception result;
Topology switching device 303 is used for the tested multi-topological environmental according to configuration, transmitted test frame between tester 302 and each testing equipment 300.
Preferable, in the multi-topological environmental test macro that the embodiment of the invention provides, can dispose the tester 302 that a plurality of and topological switching device 303 links to each other, under the condition of test resource (tester and testing equipment) abundance, test monitoring equipment 301 can be determined a plurality of current test assignments that need execution from the test assignment formation, and after the configuration of the tested multi-topological environmental that topological switching device 303 is carried out each test assignment correspondence according to each configuration file, control each test assignment executed in parallel, further promote testing efficiency.
In the embodiment of the invention, topology switching device 303 can be by obtaining the switch transformation in the existing network communication equipment, switch that requirement is transformed is supported IEEE 802.1Q, IEEE 802.1Q tunnel (tunneling) function, and port arrangement, address learning switch, message are handled the configuration feature of switch.By transformation, make topological switching device 303 possess following characteristics to switch:
The topology switching device 303 simple data messages of transmitting based on variety of protocol, and the data message is not carried out any processing, based on the data message of variety of protocol BPDU (Bridge Protocol Data Unit for example, the bridge protocol data unit), ARP (Address Resolution Protocol, address resolution protocol), EAPOL (Extensible Authentication Protocol over LAN, the Extensible Authentication Protocol based on Ethernet) data message such as, wherein the BPDU data message is a kind of Spanning-Tree Protocol packet, send with configurable interval, be used between the bridge of communication network, carrying out information exchange;
Topology switching device 303 can not learnt the source MAC of any data message, the transmitting-receiving of all data messages all floods, promptly topology switching device 303 can be belonged to same VLAN (Virtual Local Area Network with receiving port with this data message forwarding when receiving certain data message, VLAN) all of the port, wherein VLAN divides the logical network of coming out on a physical network, a VLAN can regard a broadcast domain as, two layers clean culture, broadcasting and multicast frame are transmitted in same VLAN, diffusion, and can directly not enter other VLAN;
Topology switching device 303 can receive tagged and the untagged frame based on IEEE 802.1Q, and not carrying out any processing directly transmits, IEEE 802.1Q standard definition, the tag field is the field of sign vlan information additional in Frame, the tagged frame refers to carry the frame of tag field, and the untagged frame is meant the frame that does not carry the tag field;
Certain several port of topology switching device 303 can be in same special vlan, special vlan can comprise several VLAN, and the port that belongs to same broadcast domain is divided among the same VLAN, special vlan is divided into a broadcast domain to several ports, can not handle and change the included tag field of data message when transmitting simultaneously, message from certain port input of broadcast domain only can flood in the port of this broadcast domain, and can not be forwarded to other broadcast domain.
The operations such as configuration of topology switching device 303 are carried out by 301 controls of test monitoring equipment, this just need carry out software upgrading to test monitoring equipment of the prior art, automatic test software is installed to realize scheduling and the management to every test assignment in test monitoring equipment.A kind of possibility structure of test monitoring equipment 301 as shown in Figure 4, comprises memory module 401, control module 402 and topological arrangement module 403 in the embodiment of the invention, wherein:
Memory module 401 is used for storing the configuration information and the test script of test assignment formation and each test assignment of test assignment formation;
Wherein, the test assignment formation can realize by special queue file or realize with the formation array of automated procedures configuration file, the sign and the attribute that comprise at least one test assignment in the test assignment formation, equal corresponding test script of each test assignment and configuration file, by sign and the configuration file of test assignment and the corresponding relation of test script of test assignment, can conveniently obtain the configuration file and the test script of each test assignment.
Test script is the script file of writing with script (for example Tcl language or Perl language etc.) according to the execution in step of test case that can move.
Configuration file comprises the parameter configuration that topological arrangement information and test script are carried out, topological arrangement information can define in different files respectively with parameter configuration, with better recycling, multinomial test assignment also can a shared identical configuration file, wherein:
Topological arrangement information comprises the test port annexation of each testing equipment in the test port annexation of topological switching device and tester, topological switching device and the tested multi-topological environmental, and topological arrangement information adopts unified array to preserve configuration;
The parameter configuration that test script is carried out, the desired value that may comprise a certain function of different products to be measured, the desired value of supporting at a certain function for difference product to be measured may be different, the maximum port number that for example different switches can be supported may be different, and several desired values such as 24,48 or 52 are generally arranged; The attribute variable that may comprise test script, for example test script descriptor, test grade etc.; May also comprise the global variable of automatic test software definition etc.
The attribute of test assignment comprises the state information of test assignment at least in the test assignment formation, with test assignment be divided into executing state not, carry out in state and execute the state information of three types of states, test monitoring equipment is selected at least one state information from the test assignment formation be the test assignment of executing state not, be defined as the current test assignment that needs execution, can select at random also can select according to the time sequencing of submitting to, wherein:
When test assignment was added into the test assignment formation, the state information of this test assignment was executing state not;
When the test script of test assignment began to carry out, it was state in the execution that the state information of this test assignment refreshes;
After test assignment was complete, the state information of this test assignment refreshed and is the state of executing.
The attribute of test assignment also can comprise precedence information, the height of indication test assignment priority, precedence information can be represented with high, medium and low, perhaps represent with numerical value 1,2,3, perhaps expression otherwise, test monitoring equipment is selected at least one state information from the test assignment formation be not executing state and the highest test assignment of priority, is defined as the current test assignment carried out of needing.
Control module 402, be used for determining the test assignment that current needs are carried out from the test assignment formation, load current configuration file and the test script that needs the test assignment of execution, call topological arrangement module 403 and learning that topological arrangement module 403 configuration carries out the current test script that needs the test assignment of execution after finishing, carry out the transmitting-receiving of test frame in control tester and the corresponding tested multi-topological environmental between each testing equipment, and confirm that according to the test result that receives the test assignment of current needs execution is complete;
Control module 402 read test task queues, judge whether that state information is the test assignment of executing state not, if having, the sign of determining the test assignment that current needs are carried out according to the state information and the precedence information of test assignment then, if no, then power cut-off; When control module 402 begins to carry out the test script of test assignment, the state information of this test assignment never executing state be updated to state in the execution, load the configuration file and the test script of test assignment according to the sign of test assignment, call that 403 pairs of topological switching devices of topological arrangement module carry out the configuration of tested multi-topological environmental and learning that configuration carries out the test script of test assignment after finishing, complete up to test script; After test assignment is complete, the state information of this test assignment state from carry out is updated to the state of executing.
Topological arrangement module 403 is used for according to configuration file topological switching device being carried out the configuration of the tested multi-topological environmental of the test assignment correspondence that current needs carry out, and notifies control module 402 after configuration is finished.
Topological arrangement module 403 is selected operable VID value in the VID value scope of setting, the VID value is to be used for creating the employed ID of special vlan, the port that disposes same VID value belongs to same broadcast domain, can mutual communication, and all VID values are initially set to idle condition in the VID value scope.When topological arrangement module 403 selected the VID value to be used for creating special vlan from the VID value of idle condition, topological arrangement module 403 selected VID values were set to user mode.With the current configuration restore of topological switching device be initial condition (promptly the special vlan of Chuan Jianing is deleted) afterwards, the 403 selected VID values recoveries of topological arrangement module are set to idle condition.Prevent like this that a plurality of VID value is used the situation of confusion when being connected to topological switching device when tester simultaneous and creating special vlan.For example: when test environment 1 is tested, picked at random VID value 10~19 is used for creating special vlan on topological switching device, this moment, test environment 2 also will be tested, just can not determine which VID value is used when on topological switching device, creating special vlan in test environment 1, which is not used, so will manage the VID value.The method of management is VID value scope of definition, and VID values all in the VID value scope is initially set to idle condition.If certain VID value is used when creating special vlan, this VID value is set to user mode.When the special vlan of creating was deleted, this VID value was resumed and is set to idle condition.Have only the VID value when the idle condition, just can be used for creating special vlan.
Secondly, topological arrangement module 403 generates the command string (command string is the composition of configurable order on topological switching device) that control realizes that topology is switched according to topological arrangement information and selected VID value, command string is sent into the Console mouth of topological switching device by the API of serial ports (Com) or Telnet (Telnet), on topological switching device, create special vlan, topological switching device is divided into the test port that belongs to same broadcast domain in the tested multi-topological environmental among the same VLAN, test topology forms transparent connection like this, reaches the purpose that topology is switched.
Preferable, control module 402 also is used for after the test assignment that current needs are carried out is complete, and calling topological arrangement module 403 is that initial condition and selected VID value recovery are set to idle condition with the current configuration restore of topological switching device.
Control module 402 also is used for after the test assignment that current needs are carried out is complete, determines to need to continue the test assignment of execution from the test assignment formation, and test assignments all in the test assignment formation is complete.
Preferable, test monitoring equipment also comprises test assignment administration module 404, be used for the management testing task queue, be included in the test assignment formation and add, revise or the deletion test assignment, test assignment administration module 404 carries out alternately with user interface form and tester, the interpolation request of acceptance test task be added in the test assignment formation according to adding the test assignment of request with the request interpolation, and the configuration file and the test script of test assignment is added in the storage request; Perhaps, the removal request of acceptance test task will ask the test assignment of deletion to be deleted from the test assignment formation according to removal request, and the configuration file and the test script of the request deletion test assignment of deletion storage; Perhaps, the modification request of acceptance test task is carried out corresponding modify according to the test assignment that the request of revising is revised request.
Interpolation to test assignment can be handled flexibly.Suppose to carry out the test of two different test environments now: test environment 1 and test environment 2, can directly be connected to all settings in test environment 1 and the test environment 2 in the topological switching device, and store configuration files and script information, together the test assignment of test environment 1 and test environment 2 is added in the test assignment formation, test monitoring equipment can carry out the topology switching according to the configuration file of test assignment automatically and finish test assignments all in the test assignment formation, tester can not be in idle condition in whole test process finishes up to all test assignments, has effectively utilized test resource and testing time.Also can carry out the test of test environment 1 earlier, when test environment 1 is also being tested, also receive in the topological switching device and be configured test environment 2, add to then in the test assignment formation and go, test monitoring equipment can automatically carry out the topology switching to finish the test of test environment 2 after the test of finishing test environment 1 like this, can make full use of testing time and test resource equally, improve testing efficiency.
Based on same technical conceive, the embodiment of the invention provides a kind of multi-topological environmental test method, as shown in Figure 5, comprising:
S501, test monitoring equipment are determined the current test assignment that needs execution from the test assignment formation, load the configuration file and the test script of this test assignment, and topological switching device is carried out the configuration of the tested multi-topological environmental of this test assignment correspondence according to configuration file, wherein, each tested multi-topological environmental is built by the tester that links to each other with topological switching device and a plurality of testing equipment according to the test topology of corresponding test assignment.
Under the condition of test resource abundance, the current test assignment that needs to carry out that test monitoring equipment is determined from the test assignment formation can comprise a plurality of, test monitoring equipment carries out the configuration of tested multi-topological environmental of each test assignment correspondence to topological switching device according to each configuration file after, each test assignment executed in parallel.
The sign and the attribute that comprise at least one test assignment in the test assignment formation, test monitoring equipment are determined the current test assignment that needs execution from the test assignment formation, load the configuration file and the test script of this test assignment, specifically comprise:
Test monitoring equipment is determined the current sign that needs the test assignment of execution according to the attribute of each test assignment in this test assignment formation;
Load the configuration file and the test script of test assignment according to the sign of this test assignment, wherein, store sign and the configuration file of test assignment and the corresponding relation of test script of test assignment in advance.
Wherein, the attribute of test assignment comprises the state information of test assignment, state information comprises not executing state, carry out in state and execute state, and test monitoring equipment to select at least one state information from the test assignment formation be the test assignment of executing state not, be defined as the current test assignment carried out of needing; The attribute of test assignment is except that the state information that comprises test assignment, the precedence information that also can comprise test assignment, and test monitoring equipment to select at least one state information from the test assignment formation be not executing state and the highest test assignment of priority, be defined as the current test assignment carried out of needing.
Wherein, configuration file comprises the parameter configuration that topological arrangement information and test script are carried out, topological arrangement information is indicated the test port annexation of each testing equipment in the test port annexation of topological switching device and tester, topological switching device and the tested multi-topological environmental, according to configuration file topological switching device is carried out the configuration of the tested multi-topological environmental of described test assignment correspondence, comprising:
In the VID of idle condition value, select the VID value, realize that according to topological arrangement information and selected VID value generation control the command string that topology is switched sends to topological switching device, and the VID value of selecting is set to user mode;
The topology switching device is created special vlan according to the command string that receives, and the test port that belongs to same broadcast domain in the tested multi-topological environmental of special vlan with the test assignment correspondence is divided among the same VLAN.
Preferable, test monitoring equipment current need the test assignment carried out complete after, be initial condition with the current configuration restore of topological switching device, and the recovery of selected VID value is set to idle condition.
S502, test monitoring equipment are carried out the test script of this test assignment after configuration is finished, carry out the transmitting-receiving of test frame in control tester and the corresponding tested multi-topological environmental between each testing equipment, wherein, the test frame between tester and each testing equipment is transmitted by topological switching device.
The test result of the test assignment that S503, test monitoring equipment acceptance test instrument draw according to the test frame reception result, and confirm that according to the test result that receives this test assignment is complete.
Preferable, this method also comprises:
Test monitoring equipment determines to need to continue the test assignment of execution from the test assignment formation after the current test assignment that need carry out is complete, test assignments all in the test assignment formation is complete.
Wherein, the management method of test assignment formation comprises:
The interpolation request of acceptance test task;
The test assignment that to ask to submit to according to described interpolation request is added in the test assignment formation, and stores the configuration file and the test script of described test assignment;
Perhaps,
The removal request of acceptance test task;
To ask the test assignment of deletion from the test assignment formation, to be deleted according to described removal request, and the configuration file and the test script of the described test assignment of deletion storage;
Perhaps,
The modification request of acceptance test task;
Carry out corresponding modify according to the test assignment that described modification request is revised request.
In actual test process, when the tester will carry out the test of a certain test assignment, earlier the test script and the configuration file of this test assignment are imported by the test assignment administration module, by the test assignment administration module sign of this test assignment and the precedence information of test assignment are submitted in the test assignment formation then, the current test assignment that needs execution be will from the test assignment formation, determine automatically when the automatic test program is carried out, and the test script and the configuration file of this test assignment loaded.If a certain test assignment is when carrying out, this moment, the tester had a new test assignment to carry out again, the tester just can import the test script of new test assignment and configuration file by the test assignment administration module, do not need to wait until that test assignment that current needs carry out could submit to new task to test after complete, the automatic test program can automatically perform the next item down test assignment after the current test assignment that need carry out is complete.The tester submits to the time of test assignment unfettered, can make full use of testing time and test resource, and solving needs to wait for the complete drawback that could submit new test assignment afterwards to of previous test assignment.
The multi-topological environmental testing scheme that the embodiment of the invention provides, when carrying out automatic test to a plurality of test environments, adopt by needs test monitoring equipment and topological switching device to realize the topology switching, can make full use of test resource and testing time, improve automatic test and carry out efficient;
Test monitoring equipment automatically switches the test topology of different test assignments according to the configuration file of test assignment in the embodiment of the invention, this process does not need manual intervention by the automatic realization of software, just can finish the test of all test assignments, also reduce and manually frequently build multi-topological environmental, avoid the people to build issuable mistake simultaneously, make that automatic test can unattended operation for carrying out test topology;
Newly-increased topological switching device in the embodiment of the invention, tester all links to each other with topological switching device with testing equipment, and directly do not link to each other between tester and the testing equipment, help building and adjusting flexibly of test topology, test monitoring equipment is realized the switching of tested multi-topological environmental by the configured topology switching device, make things convenient for the configuration management of topological switching, can improve the efficient that topology is switched, thereby improved the testing efficiency of multi-topological environmental;
Further, when topological switching device can not satisfy the demand of a plurality of test environments with the port number of a switch, many switches can be piled up the port number of expanding topological switching device, to satisfy the demand of more test environments.
Describe for example.Suppose to have two test assignments to test, the test port that each test environment (test environment 1,2) needs to be connected testing equipment with topological switching device all is 10, and tester has two, can satisfy the test of two test assignments simultaneously.VID value scope is created in the special vlan in definition to be 100~1000 and to be initially set to idle condition.At first carry out following preparation: build two tested multi-topological environmentals according to the test topology of test environment 1,2, two test assignments are submitted in the test assignment formation, the sign of two test assignments is respectively JOB1, JOB2, the priority of JOB1 is higher than the priority of JOB2, and concrete handling process is:
The task queue of test monitoring equipment read test, determine that the current test assignment that needs to carry out is JOB1, load corresponding configuration file and test script then, topological switching device is carried out the configuration of the tested multi-topological environmental of JOB1 correspondence according to the configuration file of JOB1.At first select the VID value 100~109 of idle condition to be used to create special vlan, then topological switching device is configured to create special vlan, realize that topology automaticallyes switch, more selected VID value 100~109 is set to user mode, carry out the test script of JOB1 then.If test resource abundance, this moment tester the resource abundance, if the resource of testing equipment is also sufficient, then test monitoring equipment can determine simultaneously that also JOB2 is the current test assignment that needs execution, load corresponding configuration file of JOB2 and test script, topological switching device is carried out the configuration of the tested multi-topological environmental of JOB2 correspondence according to the configuration file of JOB2.At first select the VID value 110~119 of idle condition to be used to create special vlan, so just can not conflict with the VID value that JOB1 uses, then topological switching device is configured to create special vlan, realize that topology automaticallyes switch, again VID value 110~119 is set to user mode, carries out the test script of JOB2 then.
In test assignment JOB1, JOB2 executed in parallel, also can add new test assignment JOB3, it is just complete to suppose that JOB1 also has 2 hours, the time that JOB2 needs is more of a specified duration, can at first build the tested multi-topological environmental of JOB3 this moment, and test assignment JOB3 is submitted in the test assignment formation.Because the inadequate resource of tester, this moment, JOB3 can not carry out at once, must wait until that other test assignment is complete, could carry out after the release test resource.After JOB1 is complete, discharge test resource, test monitoring equipment can be carried out JOB3, automatically topological switching device is carried out the configuration of the tested multi-topological environmental of JOB3 correspondence according to the configuration file of JOB3, carries out the test script of JOB3 again.Can make full use of test resource and testing time like this, improve testing efficiency.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.