CN102916848B - Automatic test method of Ethernet interface equipment based on script technology - Google Patents

Automatic test method of Ethernet interface equipment based on script technology Download PDF

Info

Publication number
CN102916848B
CN102916848B CN201210248818.6A CN201210248818A CN102916848B CN 102916848 B CN102916848 B CN 102916848B CN 201210248818 A CN201210248818 A CN 201210248818A CN 102916848 B CN102916848 B CN 102916848B
Authority
CN
China
Prior art keywords
test
script
model
engineering
data
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.)
Expired - Fee Related
Application number
CN201210248818.6A
Other languages
Chinese (zh)
Other versions
CN102916848A (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201210248818.6A priority Critical patent/CN102916848B/en
Publication of CN102916848A publication Critical patent/CN102916848A/en
Application granted granted Critical
Publication of CN102916848B publication Critical patent/CN102916848B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to an automatic test method of Ethernet interface equipment based on a script technology, which comprises the following steps: 1, establishing a test project: establishing the test project by using test management software positioned on a control end; 2, constructing a model: constructing the test model, and enabling a test system to distribute and initialize various resources required for one test, wherein the test model is also managed by a management end, the model is one or a given number of subitems of the test project, the control end provides a graphical model construction tool, and the construction of the model can be conveniently finished by using the tool; 3, writing a test script; 4, loading the project, wherein the test control end stores the test project and the model and script contained therein after the previous three steps are finished; 5, implementing the test; and 6, collecting the results. According to the invention, the independent test implementation end is used to perform the test, so that the reliability and accuracy of the test can be ensured, the use is simple and convenient, the work efficiency of users is greatly improved, and the labor cost is saved.

Description

A kind of automatic test approach of the Ethernet interface equipment based on script technology
[technical field]
The automatic test approach that the present invention relates to a kind of Ethernet interface equipment that utilizes script technology realization, it is relevant with computer network, hardware system detection technique and software testing technology, belongs to automatization testing technique field.
[background technology]
Along with scientific and technical development, Ethernet is as the communication interface of a kind of high speed, cheapness, use more and more extensive at military affairs, Aero-Space and industrial department etc., but along with the complexity of equipment under test and agreement improves gradually, traditional requirement that only has been difficult to meet various complicated test scenes with the ethernet test software of the mode work such as Data Packet Seize or system.
Aspect automatic test, the automatization test system based on traditional industry bus is universal, and because Ethernet has the features such as data volume is large, protocol layer is complicated, therefore can carry out the method for automatic test to Ethernet interface at present also rarely found.
[summary of the invention]
1, object:
The object of this invention is to provide a kind of automatic test approach of the Ethernet interface equipment based on script technology, a kind of automated testing method towards Ethernet interface equipment is provided, it has overcome the deficiencies in the prior art, have functional strong, the feature such as be simple and easy to use.It can be widely used in the equipment automatization of the Ethernet interface of various 10M, 100M or 1000M and test.It has following characteristics:
1) can simulate multiple IP and equipment under test communication simultaneously, can be simultaneously and multiple equipment under test communications;
2) can support TCP, UDP network layer protocol
3) can support multicast and multicast
4) can test I CMP, IGMP, the link layer protocol such as ARP;
5) use script control technology, realize automatic test;
2, technical scheme:
(1) automatic testing equipment of Ethernet interface equipment (being industry ethernet checkout equipment) brief introduction:
The present invention is a kind of method of testing based on main frame/target machine structure.Industry ethernet checkout equipment is made up of A. test control end (abbreviation control end) and B. test implementation end (be called for short and implement end).Wherein, control end for the configuration information of management testing engineering, start or stop real-time demonstration and the data analysis of test result etc. of test, test data.Implement end and in whole test, play the part of the role of data input and output.It has two ethernet network interface cards, be respectively used to equipment under test communication and with control end communication.
(2) technical scheme:
The automatic test approach of a kind of Ethernet interface equipment based on script technology of the present invention, as shown in Figure 4, its step is as follows:
1) step 1 is set up testing engineering
Testing engineering is the administrative unit of test, and each testing engineering can comprise several test models and test script; Testing engineering is managed by test control end, is positioned at the supervision test software of control end by use, can set up testing engineering; Click engineering menu at the menu bar of supervision test software, in popup menu, click newly-built option, click rear ejection new construction dialog box; In this dialog box, need to input the title of engineering, in modelling file and test script list, can import existing model file or script file simultaneously in newly-built engineering; Complete after the filling in of relevant information, can click confirming button, engineering has been set up; If there is the test script of importing, script information can be listed in test script list box;
2) step 2 builds model
Test model is the abstract of equipment under test and interface relationship thereof in test process, and by building test model, test macro can distribute and initial work for once testing required various resources; Test model is managed by management end equally, and model is one or several subitems of testing engineering; Control end provides patterned model construction instrument, by using this instrument can complete easily model construction work; Concrete modeling process is as follows:
First in the list of the tool box in left side, click " realistic model " and be dragged in design panel, " realistic model " is for describing equipment under test; Can revise the information such as title, position of model by the attribute column on right side; From the list of tool box, left side, click afterwards " simulation model " and be dragged in design panel, " simulation model ", for describing the role of native system in test, native system needs which virtual unit of emulation and equipment under test to carry out communication;
Complete after the design of model, need to build the communication relation between model; By clicking " line " of left side toolbar and clicking respectively in order " simulation model " and " true model " just now set up, build one by the oriented line of " simulation model " sensing " true model "; This line represents that " simulation model " needs to send data to " true model ", represents to send data for native system; With clicking two models with contrary order above, build an oriented line by " true model " sensing " simulation model "; This line represents that " simulation model " need to receive data from " true model ", represents to receive data for native system;
For the form of definition data, solve by build variable on line; By being positioned at the variable window on modelling instrument right side, can on line, set up variable; Newly-built variable also, by its association attributes of property window editor on right side, mainly comprises the information such as name variable, type, cycle; Wherein name variable can use in test script, and test script is obtained or revised the value of variable by this title;
3) step 3 is write test script
Test script is the form of presentation of test case, and test script has specified on which kind of interface, to apply which kind of excitation when; Different test scripts has represented different test cases, and once test can be carried out multiple test scripts; User can specify Starting Executing Time, execution number of times and the time of implementation interval of script in test script, by using general text editor (as notepad) or script-editor (as Python script) can write easily test script;
4) step 4 is written into engineering
Completed after first three step work, test control end has preserved engineering and the model comprising and the script of test, user is by clicking the engineering menu of instrument of control end, clicks opening option and can select project file in popup menu, open after engineering, in test script list, can list to this and test relevant script, by clicking the initialization button on script listing, the mode that testing engineering is uploaded by network uploads to test implementation end, comprising test model and all relevant test scripts, implementing termination receives after engineering, model and script file can be kept to this locality temporarily, then reading model file, by task manager analytic modell analytical model file, and initialization related resource, comprising (comprising the transmitting-receiving task of data to timer registration timed task, test result is collected task dispatching), open the network equipment to equipment manager request, the binding network address and port, register the variable information of required record etc. to data recordin module, simultaneously, script interpreter is resolved test script file, and the cycle of script and data message are offered to task manager,
5) step 5 is implemented test
Complete after the 4th step work, control end can be by the start button on hit testing script listing, assign test sign on by network to implementing end, test implementation termination is received after this instruction, the all test assignments that create before starting, comprise the transmitting-receiving of test data, test result collection etc., and carry out item by item test script according to user-defined order and time in script, after all scripts are all finished, implement end and automatically stop all test assignments, close the network equipment and discharge related resource, user also can stop test in test implementation process at any time, data transmit-receive and collection are completed automatically by test macro,
6) step 6 collection
Complete after the 5th step, test control end can download to control end by the result of the test of implementing end preservation in test implementation process, use embedded real-time operating system owing to implementing end, be difficult in this system, test result be checked and analytical work, therefore need to be after test implementation finishes, by network, result data is transferred to control end, at control end, result is preserved with the form of database, and user can usage data analysis tool reading out data or data are exported as to the form such as Excel, OriginLab.
3, advantage and effect:
The present invention uses independent test implementation end to test, and has ensured reliability and the precision of test.It unifies by real-time oss that automatic test script realizes ethernet device unmanned intervenes test, is the novel solution prioritization scheme of one of field of automatic testing.The present invention uses simply, convenient, especially possess the function of High-Speed Automatic detection, whether decision signal switching accurate, wrongly warns user, has greatly improved user's operating efficiency, saves cost of labor.
Its outstanding advantage imbody is in the following areas:
(1) can implement test to multiple equipment simultaneously
The present invention can simulate multiple IP address device simultaneously, simultaneously also can with the communication of multiple IP address device, Reality simulation complex network environment, improves the confidence level of test.
(2) support multiple network agreement
The present invention can support the function such as data transmit-receive, fault injection of TCP, UDP network layer protocol, supports the transmitting-receiving of the link layer protocol such as ICMP, IGMP simultaneously.
(3) support generic script
The present invention uses test control and the effective language of generic script language as system, is user-friendly to.
(4) simple to operate
The invention provides patterned modeling and panel designs instrument, there is script prompt and the audit function of hommization simultaneously.
[brief description of the drawings]
Fig. 1 is test implementation structure chart.
Fig. 2 is test control end system construction drawing.
Fig. 3 is test implementation end system structure chart.
Fig. 4 is method of testing flow chart of the present invention.
Fig. 5 is test control end software flow pattern.
Fig. 6 is test implementation end software flow pattern.
Fig. 7 is model construction tools interfaces.
Fig. 8 is test control end engineering menu.
Fig. 9 is test control end new construction dialog box.
Figure 10 is test control end test script list box.
Figure 11 is modelling tool properties list box.
Figure 12 is that test control end test data derives menu.
[embodiment]
The automatic test approach of a kind of Ethernet interface equipment based on script technology of the present invention, as shown in Figure 4, its step is as follows:
1) step 1 is set up engineering
Testing engineering is the administrative unit of test, and each testing engineering can comprise several test models and test script.Testing engineering is managed by test control end, is positioned at the supervision test software of control end by use, can set up testing engineering.Click engineering menu at the menu bar of supervision test software, in popup menu, click newly-built option, as shown in Figure 8.Click rear ejection new construction dialog box, as shown in Figure 9.In this dialog box, need to input the title of engineering, in modelling file and test script list, can import existing model file or script file simultaneously in newly-built engineering.Complete after the filling in of relevant information, can click confirming button, engineering has been set up.If there is the test script of importing, script information can be listed in test script list box, as shown in figure 10.
2) step 2 builds model
Test model is the abstract of equipment under test and interface relationship thereof in test process, and by building test model, test macro can distribute and initial work for once testing required various resources.Test model is managed by management end equally, and model is one or several subitems of testing engineering.Control end provides patterned model construction instrument, and its interface as shown in Figure 7.By using this instrument can complete easily model construction work.Concrete modeling process is as follows:
First in the list of the tool box in left side, click " realistic model " and be dragged in design panel, " realistic model " is for describing equipment under test.Can revise the information such as title, position of model by the attribute column on right side, as shown in figure 11.From the list of tool box, left side, click afterwards " simulation model " and be dragged in design panel, " simulation model ", for describing the role of native system in test, native system needs which virtual unit of emulation and equipment under test to carry out communication.
Complete after the design of model, need to build the communication relation between model.By clicking " line " of left side toolbar and clicking respectively in order " simulation model " and " true model " just now set up, build one by the oriented line of " simulation model " sensing " true model ".This line represents that " simulation model " needs to send data to " true model ", represents to send data for native system.With clicking two models with contrary order above, build an oriented line by " true model " sensing " simulation model ".This line represents that " simulation model " need to receive data from " true model ", represents to receive data for native system.
For the form of definition data, solve by build variable on line.By being positioned at the variable window on modelling instrument right side, can on line, set up variable.Newly-built variable also, by its association attributes of property window editor on right side, mainly comprises the information such as name variable, type, cycle.Wherein name variable can use in test script.Test script is obtained or is revised the value of variable by this title.
3) step 3 compile script
Test script is the form of presentation of test case, and test script has specified on which kind of interface, to apply which kind of excitation when.Different test scripts has represented different test cases, and once test can be carried out multiple test scripts.User can specify Starting Executing Time, execution number of times and the time of implementation interval of script in test script.Can write easily test script by using general text editor (as notepad) or script-editor (as Python script).
4) step 4 is written into engineering
Completed after first three step work, test control end has preserved engineering and the model comprising and the script of test.User is by clicking the engineering menu of instrument of control end, clicks opening option and can select project file in popup menu.Open after engineering, in test script list, can list to this and test relevant script.By clicking the initialization button on script listing, as shown in figure 10.The mode that testing engineering is uploaded by network uploads to test implementation end, comprising test model and all relevant test scripts.Implementing termination receives after engineering, model and script file can be kept to this locality temporarily, then reading model file, by task manager analytic modell analytical model file, and initialization related resource, comprising to timer registration timed task (comprise the transmitting-receiving task of data, test result is collected task dispatching), open the network equipment, the binding network address and port, register the variable information etc. of required record to data recordin module to equipment manager request.Meanwhile, script interpreter is resolved test script file, and the cycle of script and data message are offered to task manager.
5) step 5 is implemented test
Complete after the 4th step work, control end can, by the start button on hit testing script listing, as shown in figure 10, be assigned test sign on by network to implementing end.Test implementation termination is received after this instruction, starts all test assignments that create before, comprises transmitting-receiving, the test result collection etc. of test data.And carry out item by item test script according to user-defined order and time in script, and after all scripts are all finished, implement end and automatically stop all test assignments, close the network equipment and discharge related resource.User also can stop test in test implementation process at any time.Data transmit-receive and collection are completed automatically by test macro.
6) step 6 collection
Complete after the 5th step, test control end can download to control end by the result of the test of implementing end preservation in test implementation process, use embedded real-time operating system owing to implementing end, be difficult in this system, test result be checked and analytical work, therefore need to, after test implementation finishes, by network, result data be transferred to control end.At control end, result is preserved with the form of database, and user can usage data analysis tool reading out data or data are exported as to the form such as Excel, OriginLab, as shown in figure 12.
In sum, the present invention is a kind of method of testing based on main frame/target machine structure, as shown in Figure 1 and Figure 4.Industry ethernet checkout equipment is made up of A. test control end (abbreviation control end) and B. test implementation end (be called for short and implement end).Wherein, control end for the configuration information of management testing engineering, start or stop real-time demonstration and the data analysis of test result etc. of test, test data.Implement end and in whole test, play the part of the role of data input and output.It has two ethernet network interface cards, be respectively used to equipment under test communication and with control end communication.
Test control end of the present invention runs on Microsoft Windows operating system platform, utilizes C# language exploitation.Test control end comprises model construction, script editor, test implementation and collection four module altogether.Wherein model construction is the initial period of test design, and in this stage, user can use patterned operation interface to describe the network topology structure at equipment under test place, and the network address of equipment under test etc. and protocol-dependent information; Script is compiled as user provides the text environments of compile script, and this environment has keyword automatic prompting function, is user-friendly to.In script, user can define the processing method of various system action events or interface event, realizes closed loop test; Test implementation is mainly used in controlling implements end, completes the human intervention work in test process; After test finishes, can use collection module to collect test data, and be kept in local data base.Collection module can also convert the discernible data format of other data analysis tools to test result.
Test control end is used for testing design and management, comprises following functions:
1) set up testing engineering;
2) build test model;
3) write test script, design test case;
4) control the real-time intervention in the test process such as beginning, end of testing;
5) collection of test result and derivation;
The system configuration of test control end as shown in Figure 2.Wherein comprise with lower module:
● engineering management module
Engineering management module is used for creating testing engineering, and testing engineering is for management testing model and script.
● model construction module
Model construction module provides patterned user interface.User can set up test model by this instrument, configures various test parameters.
● script editor module
Script editor module is the script editting function that user provides convenience by the intelligent information mode such as supplement.
● test is intervened in real time
Test intervenes in real time the main beginning of being responsible for test, stop and various real-time wrong process etc.
● test result is collected
After test finishes, test result downloads to test control end, preserves with database form.
● result database
Result database has been preserved test data, so that ex-post analysis and data readback are used.
● test data derives
Test data derives can be converted to test result data the analysis tool such as Excel, OriginLab acceptable form, so that user utilizes corresponding tool to determine fault or carries out the work such as failure predication, reliability assessment.
The software flow of test control end as shown in Figure 5.The operating process of this software and the step of whole method of testing are similar.First need to create engineering, this project comprises model and some test scripts.Create after engineering, need to build model and compile script, user can complete this task by model construction module and script editor module respectively.Afterwards, user is written into engineering and controls beginning, the execution of test and finish by testing real-time intervention module.After test finishes, by test result collection module, test data is collected in result database.
Test implementation end is mainly responsible for the functions such as the data buffer storage in transmitting-receiving and the test process of the explanation of test script and execution, test data.
Test implementation end uses the VxWorks real time operating system of WindRver company, uses 82543 ethernet network interface cards of Intel Company as data input and data output equipment.
Vxworks operating system is a kind of embedded real-time operating system (RTOS) that WindRiver company of the U.S. designed and developed in nineteen eighty-three, is the key components of embedded-development environment.VxWorks has following characteristics: 1, reliability: the user of operating system wishes, at a working stability, in the environment that can trust, to work, so the reliability of operating system is the problem that first user will consider.And stablize, be reliably an outstanding advantages of VxWorks always.2, real-time: real-time refers to the ability that can execute the function of regulation and outside asynchronous event is responded in limiting time.The power of real-time has been that predetermined function and the length of the time that responds are weighed.The expense of its system of VxWorks itself is very little, and the system utility programs such as process scheduling, interprocess communication, interruption processing are concise and effective, and the delay that they cause is very short.In the multi-task mechanism that VxWorks provides, adopt priority to seize and robin scheduling mechanism to the control of task, also fully ensured reliable real-time, make same hardware configuration can meet stronger requirement of real-time, for the exploitation of application leaves larger leeway.3, tailorability: VxWorks is made up of the very little kernel of volume and the system module that some can customize as required.VxWorks kernel minimum is 8kB, even if add other necessary module, shared space is also very little, and do not lose its in real time, the system features of multitask.Due to its high degree of flexibility, user can customize or do suitable exploitation to this operating system easily, meets the practical application needs of oneself.
Intel82543GC chip is the Intel second generation PCI-Express chip of just having released a calendar year 2001, and it is one of labeled product of pci interface PCI-Express.82543GC controller can be on a MAC single-chip network of integrated support 10Mbps, 100Mbps and 1000Mbps be connected, this can make Ethernet, Fast Ethernet and Billibit Ethernet Technique seamless synergistic application in consolidated network, old-fashioned Ethernet is moved a path is clearly provided at a high speed to Gigabit Ethernet of new generation simultaneously, it is more suitable for carrying use in LOM plate.
82543GC chip meets IEEE802.3ab and 802.3z specification, supports the even transmission speed of 1000M of 10M/100M; Network enabled is waken up and modulator-demodulator arousal function.Numerous operating system be can extensively support, Windows, Linux, Netware, Solaris and SCO UnixWare etc. comprised; There is advanced self adaptation (auto-negotiation) and self-induction (auto-sensing) function.Its main characteristics: Intel82543GC Gigabit controling appliance is for outstanding Gigabit Neng Biao Now; Transmission range can reach 275 meters (optical fiber SX transmission range can reach 550 meters) farthest.
The system configuration of end for process as shown in Figure 3 in real time.Wherein comprise with lower module:
● timer
Timer need to provide trigger event for task manager according to the time of specifying or cycle, more new variables or invoke script of notice task manager.
● task manager
Task manager is managed all variable tasks, script task, and in the time that variable changes notification event manager.
● script interpreter
Script interpreter is used for encapsulating existing interpreter, provides unified interface to call for task manager.
● task manager
Task manager is in charge of contingent variety of event in system, and by other functional units of this event notice.
● error manager
Error manager is responsible for collecting and storing the various software and hardware mistakes that occur in test run process, and offers in some way user.
● equipment manager
Equipment manager is responsible for the work such as the initialization, resource distribution, data transmit-receive of Network Interface Unit.
● data record
Data recordin module is responsible for the test data real time record work in test process.
As shown in Figure 6, in the incipient stage of test, implement end needs initialization related resource to test implementation end software flow, comprises script interpreter, timer and hardware etc.After test starts, script interpreter is resolved directive script item by item.According to instruction, implement transmission or the reception work of end executing data.Receiving after data, implementing end and also can calling data logging modle be preserved by test data.Data for preiodic type send, and it will continue to carry out script parsing and send instruction after waiting for designated period.After the test END instruction that receives test control end, implement end and can close the module such as script interpreter, timer, close ethernet device, releasing resource is also prepared test data to send to control end.

Claims (1)

1. an automatic test approach for the Ethernet interface equipment based on script technology, is characterized in that: the method concrete steps are as follows:
Step 1 is set up testing engineering
Testing engineering is the administrative unit of test, and each testing engineering comprises a predetermined test model and test script; Testing engineering is managed by test control end, is positioned at the supervision test software of control end by use, sets up testing engineering; Click engineering menu at the menu bar of supervision test software, in popup menu, click newly-built option, click rear ejection new construction dialog box; In this dialog box, need to input the title of engineering, in modelling file and test script list, import existing model file or script file simultaneously in newly-built engineering; Complete after the filling in of relevant information, click confirming button, engineering has been set up; If there is the test script of importing, script information can be listed in test script list box;
Step 2 builds model
Test model is the abstract of equipment under test and interface relationship thereof in test process, and by building test model, test macro distributes and initial work for once testing required various resources; Test model is managed by management end equally, and model is and a predetermined subitem of testing engineering; Control end provides patterned model construction instrument, by using this instrument to complete easily model construction work; Concrete modeling process is as follows:
First in the list of the tool box in left side, click " realistic model " and be dragged in design panel, " realistic model " is for describing equipment under test; Revise title, the positional information of model by the attribute column on right side; From the list of tool box, left side, click afterwards " simulation model " and be dragged in design panel, " simulation model ", for describing the role of native system in test, native system needs which virtual unit of emulation and equipment under test to carry out communication;
Complete after the design of model, need to build the communication relation between model; By clicking " line " of left side toolbar and clicking respectively in order " simulation model " and " realistic model " just now set up, build one by the oriented line of " simulation model " sensing " realistic model "; This line represents that " simulation model " needs to send data to " realistic model ", represents to send data for native system; With clicking two models with contrary order above, build an oriented line by " realistic model " sensing " simulation model "; This line represents that " simulation model " need to receive data from " realistic model ", represents to receive data for native system;
For the form of definition data, solve by build variable on line; By being positioned at the variable window on modelling instrument right side, on line, set up variable; Newly-built variable also, by its association attributes of property window editor on right side, mainly comprises name variable, type, cycle information; Wherein name variable uses in test script, and test script is obtained and revised the value of variable by this title;
Step 3 is write test script
Test script is the form of presentation of test case, and test script has specified on which kind of interface, to apply which kind of excitation when; Different test scripts has represented different test cases, the multiple test scripts of test execution; User specifies Starting Executing Time, execution number of times and the time of implementation interval of script in test script, by using general text editor and script-editor to write easily test script;
Step 4 is written into engineering
Completed after first three step work, test control end has preserved engineering and the model comprising and the script of test; User is by the engineering menu of the instrument of click control end, and the option of opening of clicking in popup menu is selected project file; Open after engineering, in test script list, can list to this and test relevant script, by clicking the initialization button on script listing, the mode that testing engineering is uploaded by network uploads to test implementation end, comprising test model and all relevant test scripts; Implementing termination receives after engineering, model and script file can be kept to this locality temporarily, then reading model file, by task manager analytic modell analytical model file, and initialization related resource, comprising registering timed task to timer, comprise the transmitting-receiving task of data, test result is collected task, open the network equipment, the binding network address and port, register the variable information of required record to data recordin module to equipment manager request, meanwhile, script interpreter is resolved test script file, and the cycle of script and data message are offered to task manager;
Step 5 is implemented test
Complete after the 4th step work, control end is by the start button on hit testing script listing, assign test sign on by network to implementing end, test implementation termination is received after this instruction, the all test assignments that create before starting, comprise the transmitting-receiving of test data, test result is collected, and carry out item by item test script according to user-defined order and time in script, after all scripts are all finished, implement end and automatically stop all test assignments, close the network equipment and discharge related resource, in user test implementation process, stop at any time test, data transmit-receive and collection are completed automatically by test macro,
Step 6 collection
Complete after the 5th step, the result of the test of implementing end preservation in test implementation process is downloaded to control end by test control end, use embedded real-time operating system owing to implementing end, be difficult in this system, test result be checked and analytical work, therefore need to be after test implementation finishes, by network, result data is transferred to control end, at control end, result is preserved with the form of database, user's usage data analysis tool reading out data or data are exported as to Excel, OriginLab form.
CN201210248818.6A 2012-07-13 2012-07-13 Automatic test method of Ethernet interface equipment based on script technology Expired - Fee Related CN102916848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210248818.6A CN102916848B (en) 2012-07-13 2012-07-13 Automatic test method of Ethernet interface equipment based on script technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210248818.6A CN102916848B (en) 2012-07-13 2012-07-13 Automatic test method of Ethernet interface equipment based on script technology

Publications (2)

Publication Number Publication Date
CN102916848A CN102916848A (en) 2013-02-06
CN102916848B true CN102916848B (en) 2014-12-10

Family

ID=47615086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210248818.6A Expired - Fee Related CN102916848B (en) 2012-07-13 2012-07-13 Automatic test method of Ethernet interface equipment based on script technology

Country Status (1)

Country Link
CN (1) CN102916848B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125117A (en) * 2014-08-04 2014-10-29 上海斐讯数据通信技术有限公司 Packet receiving and transmission testing method
CN104899150B (en) * 2015-06-30 2018-03-02 上海斐讯数据通信技术有限公司 Automated testing method and system and automation platform based on object-oriented
CN106326044B (en) * 2015-06-30 2019-09-03 华为技术有限公司 A kind of net card failure method for implanting and device
CN107733743B (en) * 2017-11-10 2021-01-22 中国电子科技集团公司第四十一研究所 Method and system for realizing automatic test of Ethernet bus data
CN110795993A (en) * 2019-09-12 2020-02-14 深圳云天励飞技术有限公司 Method and device for constructing model, terminal equipment and medium
CN110736920A (en) * 2019-09-25 2020-01-31 北京握奇智能科技有限公司 card testing method and system based on engineering management test script
CN112612710B (en) * 2020-12-28 2022-02-25 上海安畅网络科技股份有限公司 Automatic test method and system
CN115567564B (en) * 2022-12-06 2023-09-08 东方空间(西安)宇航技术有限公司 Method, device, system and equipment for testing aerospace equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000043880A1 (en) * 1999-01-21 2000-07-27 Bsquare Corporation A system and method for testing and validating devices having an embedded operating system
CN101136790A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Cluster managerial automatization test system and method of ethernet switchboard
CN101847118A (en) * 2009-03-24 2010-09-29 迈普通信技术股份有限公司 Automatic test system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320071A1 (en) * 2007-06-21 2008-12-25 International Business Machines Corporation Method, apparatus and program product for creating a test framework for testing operating system components in a cluster system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000043880A1 (en) * 1999-01-21 2000-07-27 Bsquare Corporation A system and method for testing and validating devices having an embedded operating system
CN101136790A (en) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 Cluster managerial automatization test system and method of ethernet switchboard
CN101847118A (en) * 2009-03-24 2010-09-29 迈普通信技术股份有限公司 Automatic test system

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Design and Research on Real-Time Interface Management Framework of the General Embedded Testing System for Model Driven Testing;Xiaoxu Diao,Bin Liu;《Second International Conference, ICHCC 2011》;20110531;第359-365页 *
On modeling approach for embedded real-time software simulation testing;Yin Yongfeng, Liu Bin, Zhong Deming, Jiang Tongmin;《Journal of Systems Engineering and Electronics》;20091231;第20卷(第2期);第420-426页 *
XiaoxuDiao Bin Liu.Design and Research on Real-Time Interface Management Framework of the General Embedded Testing System for Model Driven Testing.《Second International Conference *
Yin Yongfeng, Liu Bin, Zhong Deming, Jiang Tongmin.On modeling approach for embedded real-time software simulation testing.《Journal of Systems Engineering and Electronics》.2009,第20卷(第2期),420-426. *
白立平,刘斌,杨顺昆,蒋崇武.面向CAN应用的测试系统设计.《2009年研究生学术交流会 通信与信息技术论文集》.2009,45-49. *
蒋崇武,杨顺昆,刘斌.面向嵌入式软件测试的仿真建模.《计算机工程》.2008,第34卷(第4期),87-89. *

Also Published As

Publication number Publication date
CN102916848A (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN102916848B (en) Automatic test method of Ethernet interface equipment based on script technology
Riley et al. The ns-3 network simulator
CN106021099A (en) System and method for achieving UI automatic test of intelligent terminal
US7926024B2 (en) Method and apparatus for managing complex processes
CN110838961B (en) General aviation bus message scheduling system
CN103955373A (en) Design method of SDN (Software Defined Networking) application integration development environment
US20140040441A1 (en) System and method for the configuration of a clustered simulation network
CN116822135A (en) Real-time simulation platform system and simulation system construction method
CN113722020A (en) Interface calling method, device and computer readable storage medium
CN103049601A (en) Information system simulation modeling method
CN109100952B (en) Regional inference machine of health management system of distributed semi-physical simulation spacecraft
CN110471394A (en) Task test method and device, system, storage medium and processor
CN108959094A (en) A kind of definition and methods for using them of the test program based on data structure
CN110519092B (en) Edge gateway, configuration tool and soft PLC function scripting implementation method
Fu et al. Design of experiment platform for digital substation based on IEC 61850
Balasubramanian et al. A rapid testing framework for a mobile cloud
CN103856466A (en) Acquisition terminal device capable of configuring protocols automatically
CN101976196A (en) Quality of service oriented code automatic code generating method
CN105468431A (en) Multi-model real-time simulation system
CN102541647A (en) Method for calling external function of executable component in software integration process
Bodnarova et al. Virtual laboratory
CN103970652B (en) Wireless sense network software code verification method based on bounded model checking
Jiang et al. Study on real-time test script in automated test equipment
CN114390093B (en) Virtual gateway simulation system
CN103135986B (en) A kind of operation acquisition method and system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141210

Termination date: 20160713

CF01 Termination of patent right due to non-payment of annual fee