CN109831353A - A kind of automatic test device of network multiple business - Google Patents
A kind of automatic test device of network multiple business Download PDFInfo
- Publication number
- CN109831353A CN109831353A CN201910058165.7A CN201910058165A CN109831353A CN 109831353 A CN109831353 A CN 109831353A CN 201910058165 A CN201910058165 A CN 201910058165A CN 109831353 A CN109831353 A CN 109831353A
- Authority
- CN
- China
- Prior art keywords
- test
- host
- computer
- network
- 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.)
- Granted
Links
Abstract
The invention discloses a kind of automatic test devices of network multiple business, comprising: virtual computer host system, for generating first network application data;Computer is without disc system, for generating the second network application data;Control host connect to form automation control circuit with virtual computer host system, computer by the second network without disc system, egress gateways to be tested;Host is controlled for issuing test instruction, it identifies and virtual computer host system and computer is commanded to generate first network application data and the second network application data respectively without disc system, first network application data and the second network application data are transmitted separately to egress gateways to be tested to test, collect the test data generated in test process, the data of collection are returned into control host, test report is generated, the test accuracy rate and efficiency of the present apparatus are higher.
Description
Technical field
The present invention relates to automatic test fields, and in particular, to a kind of automatic test device of network multiple business.
Background technique
Gateway (Gateway) is also known as gateway, protocol converter.Gateway in network layer implementation above network interconnection,
It is most complicated network interconnection apparatus, network interconnection, the network interconnection different for two upper-layer protocols.
Egress gateways are the outlet devices of a local net network, carry times of forwarded and Internet resources distribution
Business.The network technology of today is flourishing, and the business that egress gateways face is not only webpage, Email, video, can also be handled various
The data forwarding of network application, such as game, various App, voice call etc..In this case, the industry of Different LANs
Business demand may require that egress gateways energy intelligence is traffic assignments bandwidth resources.Therefore egress gateways equipment in R&D process,
Various network service tests will be faced with.Using reasonable and comprehensive operational trials, outlet net can be more quickly and conveniently found out
The problem of closing equipment.
It is basic platform that general automated testing method, which needs expensive professional test instrument, in the industry, using analog service
The mode of data is tested.The network packet of such test method simulation is all fairly simple, in the actual network of client
Application and the complexity of data packet there is a big difference.
In conclusion present inventor has found above-mentioned technology extremely during realizing the present application technical solution
It has the following technical problems less:
Existing test method, since the network packet of simulation is all fairly simple, with answering in the actual network of client
With the complexity with data packet, there is a big difference, and needs a large amount of artificial participation, and therefore, existing test method, which exists, to be surveyed
Examination inaccuracy and the lower technical problem of testing efficiency.
Summary of the invention
For the real network business scenario being more really close to the users, the application devises a kind of the automatic of network multiple business
Change test device, building for hardware platform is completed without disc system with virtual computer host and computer, with the method in the present invention
With the tool of exploitation, a variety of true network service data traffics can be generated simultaneously, and test result is accurate, and utilizes automation
Control realizes independent data acquisition and analysis, quickly obtains test result, and testing efficiency is higher, can be realized pilot process without
People is on duty, reduces human input and equipment investment.
For achieving the above object, described this application provides a kind of automatic test device of network multiple business
Device includes:
Virtual computer host system, for generating first network application data, first network application data are as follows: web page access
The network application datas such as class, instant chat class, audio client class;
Computer is without disc system, for generating the second network application data, the second network application data are as follows: game class, video
The network application datas such as client class, resource downloading class;
Virtual computer host system, computer are connected without disc system, egress gateways to be tested by testing service switch
It connects, virtual computer host system and computer build the test topology of egress gateways without disc system according to testing requirement;
Control host, control host by automation control interchanger and virtual computer host system, computer without disc system,
Egress gateways to be tested connect to form automation control circuit;It is virtual for issuing test instruction, identifying and commanding to control host
Computer host system and computer generate first network application data and the second network application data without disc system respectively, by the first net
Network application data and the second network application data are transmitted separately to egress gateways to be tested and are tested, and collect and produce in test process
Raw test data generates test report by the data of collection back to control host.
Further, virtual computer host system and computer build the test of egress gateways without disc system according to testing requirement
Topology specifically includes:
Step 1: such as Fig. 2, fictitious host computer system virtualization multiple computers host generates first kind network application data.Computer
No disc system opens more without disk host computer, generates the second class network application data.Test business is accessed to by network interface to hand over
It changes planes, and the LAN mouth by being linked to egress gateways on test service switch.
Step 2: multiple WAN mouthfuls of difference of egress gateways 1 Internet route provided by different operators of each access.
Further, first network application data and the second network application data are transmitted separately to egress gateways to be tested
Tested, specifically included: the delay of test webpage opening, game delay, video cardton number, speed of download, egress gateways are more
WAN intelligent scheduling stability etc..
Further, the testing process of automatic test device are as follows:
Step 1: test environment is built, it is soft without corresponding network is installed in disc system in virtual computer host system and computer
Part client corresponding with control host;
Step 2: plan needs host computer number to be tested, starting up;Control the test in host automatically scanning network
Host computer, and the case where log show area returns to on-line testing host computer;
Step 3: when confirming all test host computers all normal controls and after connected wirelessly, test script being swept
Retouch storage;
Step 4: selection needs script to be tested, click operation from library, and control host is based on test script and carries out difference
Business test assignment, and show the log of the generation of current test run process in log show area;
Step 5: after the completion of test script operation, showing the test report of this test in test report show area.
Further, test script defines the network service that every test host computer needs to carry out, and passes through sweep test
Script can check the content of each script, and test script is able to carry out customized.
Further, the log that log show area is shown includes the exception information in operational process.
Further, the programming mode that the automation control software in host uses object-oriented, control host hair are controlled
Test is sent to instruct, corresponding test script calls the RemotePc object in Testbed, and RemotePc object corresponds to each virtually
Computer host system host computer or computer are without disc system host computer, the public identical API object of RemotePc, for grasping
Make computer to open webpage, viewing video, play games, audition etc., and collects and open network delay, game delay, video in webpage
Caton number test data.
The generating process that test includes are as follows: control host collects virtual computer and without all data generated on disk computer,
The brief data of each test item is shown in test report show area and whether is passed through;After clicking export test report button,
The detailed test report that html format is generated according to result includes testing time, the title of test environment and each test item, survey
Try is rapid, test data, judgment criteria, whether passes through information.
One or more technical solution provided by the present application, has at least the following technical effects or advantages:
This application provides the automatic test devices of an a variety of live network business datums, can effectively restore use
Egress gateways are carried out the test of pressure, performance, function, stability by family online environment.
By the automation control software in device, reduce manpower required for test and testing time, it is customized
Script greatly facilitates tester, flexibly carries out a variety of tests with script.
Also, reduce hard in whole device for light, application uses fictitious host computer technology and computer without disk technology again
Part cost improves the host computer number that may participate in test.
Detailed description of the invention
Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application
Point, do not constitute the restriction to the embodiment of the present invention;
Fig. 1 is to control software frame figure in control host;
Fig. 2 is test logical topology schematic diagram;
Fig. 3 is control software execution flow journey figure schematic diagram;
Fig. 4 is control software interface schematic diagram.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the case where not conflicting mutually, the application's
Feature in embodiment and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
Implemented with being different from the other modes being described herein in range using other, therefore, protection scope of the present invention is not by under
The limitation of specific embodiment disclosed in face.
In order to realize the truthful data for generating various network services, Fig. 1-Fig. 4, the implementation packet in the application are please referred to
It includes:
(1) a set of virtual computer host system is built, for generating the network application data of less demanding to computer hardware
(hereinafter referred to as light application), such as: QQ chat, access webpage, auditory network song etc.;In addition a set of computer is built without disc system,
For generating the network application data more demanding to computer hardware (hereinafter referred to as applying) again, for example, play online game, see it is straight
Broadcast, see network video, BT downloading resource etc..
(2) by all virtual computer hosts in system and without disk host computer, egress gateways are built according to testing requirement
Test topology.In addition prepare a control host, connected all devices using other set Ethernet, generate automation
Control loop;Realize that control data are separated with the business datum for participating in test.
(3) automation control software is write, control host issues test instruction, identifies and command virtual computer host and nothing
Disk host computer is opened and operates various network application softwares, generates true business datum and is tested, and collects and tested
The test data generated in journey generates test report by control protocol back to control host.Automation control software uses
Python writes, and communication protocol can be customized when control, such as json, rpyc technology of mainstream etc..
(4) automation control software uses the programming mode of object-oriented, such as Fig. 1.
A, test script object is the object that drive module can directly be run after user can operate on interface.
B, control host sends test instruction, and corresponding test script calls the RemotePc object in Testbed.
C, RemotePc object corresponds to each host computer (each virtual computer host or one is without disk host computer
It is all a host computer in the present system).The public identical API object of RemotePc, such as Pyweb, for operating computer
Webpage is opened, and collects the test data etc. opened and generated in webpage.
The specific implementation procedure of the present apparatus is as follows.
Step 1: according to Fig. 3, test environment is put up, precondition of the computer without disc system and virtual computer system is:
Install corresponding network software, such as QQ, browser, a sudden peal of thunder, all kinds of videoconference clients, game etc.;One is also installed simultaneously
The client of a automation control software.
Step 2: plan needs host computer number to be tested, starting up.It controls host computer and opens control software, such as scheme
4 interfaces shown.The host in software meeting automatically scanning network is controlled, and the case where log show area returns to online host,
User needs to check whether that All hosts are all online at this time.
Step 3: when confirming all host computers all normal controls and after connected wireless, then can control computer master
Machine carries out the test assignment of different business.Each script defines the network service that every host computer needs to carry out, tester
Member after script, can check the content of each script after through scanning.Tester can also facilitate spirit with custom script content
It is living.
Step 4: according to the actual situation, selection needs script to be tested, clicks operation.It can be shown currently in log show area
The log of the generation of test run process.Including the exception information in operational process.
Step 5: after the completion of operation, can show the bridging and data of this test in test report show area.If
Detailed test report and test report document are needed, clicks export test report, it will be seen that count in detail in this test process
According to the journal file generated in the test report document and test process with word version.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of automatic test device of network multiple business, which is characterized in that described device includes:
Virtual computer host system, for generating first network application data, first network application data are as follows: web page access class number
According to, instant chat class data, audio client class data;
Computer is without disc system, for generating the second network application data, the second network application data are as follows: game class data, video
Client class data, resource downloading class data;
Virtual computer host system, computer are attached without disc system, egress gateways to be tested by first network, virtual computer
Host system and computer build the test topology of egress gateways without disc system according to testing requirement;
Host is controlled, control host is by the second network and virtual computer host system, computer without disc system, outlet net to be tested
Connection connects to form automation control circuit;Host is controlled for issuing test instruction, identifies and commands virtual computer host system
Generate first network application data and the second network application data respectively without disc system with computer, by first network application data and
Second network application data is transmitted separately to egress gateways to be tested and is tested, and collects the test number generated in test process
According to, the data of collection are returned to and control host, generation test report.
2. the automatic test device of network multiple business according to claim 1, which is characterized in that virtual computer host
System and computer build the test topology of egress gateways without disc system according to testing requirement, specifically include:
Step 1: the virtual multiple computers host of virtual computer host system generates first kind network application data;Computer is without disk system
System opens more without disk host computer, generates the second class network application data;Test service switch is accessed to by network interface, and
By the LAN mouth for being linked to egress gateways on test service switch;
Step 2: multiple WAN mouthfuls of difference of egress gateways 1 Internet route provided by different operators of each access.
3. the automatic test device of network multiple business according to claim 1, which is characterized in that answer first network
Be transmitted separately to egress gateways to be tested with data and the second network application data to be tested, specifically include: test webpage is beaten
Open delay, game delay, video cardton number, speed of download, the multi-thread intelligent scheduling stability of egress gateways.
4. the automatic test device of network multiple business according to claim 1, which is characterized in that automatic test dress
The testing process set are as follows:
Step 1: build test environment, virtual computer host system and computer without installed in disc system corresponding network software and
Control the corresponding client of host;
Step 2: plan needs host computer number to be tested, starting up;Control the test computer in host automatically scanning network
Host, and the case where log show area returns to on-line testing host computer;
Step 3: when confirming all test host computers all normal controls and after connected wirelessly, test script being scanned into
Library;
Step 4: selection needs script to be tested from library, clicks operation, and control host carries out different industry based on test script
The test assignment of business, and the log of the generation of current test run process is shown in log show area;
Step 5: after the completion of test script operation, showing the test report of this test in test report show area.
5. the automatic test device of network multiple business according to claim 4, which is characterized in that test script definition
The network service that every test host computer needs to carry out, the content of each script can be checked by sweep test script, tested
Script is able to carry out customized.
6. the automatic test device of network multiple business according to claim 4, which is characterized in that log show area is aobvious
The log shown includes the exception information in operational process.
7. the automatic test device of network multiple business according to claim 4, which is characterized in that control host is collected
Virtual computer and without all data generated on disk computer, test report show area show each test item brief data and
Whether pass through;After clicking export test report button, is reported according to the detailed test that result generates html format, include test
Whether the time title for testing environment and each test item, testing procedure, test data, judgment criteria, passes through information.
8. the automatic test device of network multiple business according to claim 1, which is characterized in that in control host
Automation control software uses the programming mode of object-oriented, and control host sends test instruction, and corresponding test script calls
RemotePc object in Testbed, RemotePc object correspond to each virtual computer host system host computer or computer
Without disc system host computer, the public identical API object of RemotePc opens webpage for operating computer, viewing video, plays trip
Play, audition etc., and collect and open network delay, game delay, video cardton number test data in webpage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910058165.7A CN109831353B (en) | 2019-01-22 | 2019-01-22 | Automatic testing device for multiple network services |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910058165.7A CN109831353B (en) | 2019-01-22 | 2019-01-22 | Automatic testing device for multiple network services |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109831353A true CN109831353A (en) | 2019-05-31 |
CN109831353B CN109831353B (en) | 2020-09-15 |
Family
ID=66861775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910058165.7A Active CN109831353B (en) | 2019-01-22 | 2019-01-22 | Automatic testing device for multiple network services |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109831353B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111581065A (en) * | 2020-04-13 | 2020-08-25 | 微梦创科网络科技(中国)有限公司 | Mobile terminal message partial pressure test system and method based on live broadcast scene |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549541A (en) * | 2003-05-21 | 2004-11-24 | 华为技术有限公司 | Method and apparatus for automatic testing media gateway |
US20070025261A1 (en) * | 2001-10-01 | 2007-02-01 | Errol Ginsberg | Generating Traffic For Testing A System Under Test |
CN101944129A (en) * | 2010-09-21 | 2011-01-12 | 广东威创视讯科技股份有限公司 | Diskless system, workstation thereof, and building method of local root file by workstation |
CN102546807A (en) * | 2012-01-17 | 2012-07-04 | 上海宏舜电子科技有限公司 | Network service system based on cloud computing architecture |
CN104053164A (en) * | 2013-03-14 | 2014-09-17 | 深圳先进技术研究院 | Internet-of-things gateway testing system and method |
CN109218139A (en) * | 2018-10-23 | 2019-01-15 | 京信通信系统(中国)有限公司 | Gateway test macro |
-
2019
- 2019-01-22 CN CN201910058165.7A patent/CN109831353B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070025261A1 (en) * | 2001-10-01 | 2007-02-01 | Errol Ginsberg | Generating Traffic For Testing A System Under Test |
CN1549541A (en) * | 2003-05-21 | 2004-11-24 | 华为技术有限公司 | Method and apparatus for automatic testing media gateway |
CN101944129A (en) * | 2010-09-21 | 2011-01-12 | 广东威创视讯科技股份有限公司 | Diskless system, workstation thereof, and building method of local root file by workstation |
CN102546807A (en) * | 2012-01-17 | 2012-07-04 | 上海宏舜电子科技有限公司 | Network service system based on cloud computing architecture |
CN104053164A (en) * | 2013-03-14 | 2014-09-17 | 深圳先进技术研究院 | Internet-of-things gateway testing system and method |
CN109218139A (en) * | 2018-10-23 | 2019-01-15 | 京信通信系统(中国)有限公司 | Gateway test macro |
Non-Patent Citations (2)
Title |
---|
施炜利: "多业务网络性能测试方法研究", 《科技广场》 * |
陈华南: "IP网络设备多业务叠加测试方法探讨", 《电信网技术》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111581065A (en) * | 2020-04-13 | 2020-08-25 | 微梦创科网络科技(中国)有限公司 | Mobile terminal message partial pressure test system and method based on live broadcast scene |
Also Published As
Publication number | Publication date |
---|---|
CN109831353B (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1530847B1 (en) | Method and system for configuration control in telecommunications networks | |
US7412034B2 (en) | Multi-protocol, multi-interface communications device testing system | |
Werner-Allen et al. | Motelab: A wireless sensor network testbed | |
US5889954A (en) | Network manager providing advanced interconnection capability | |
CN105471982B (en) | The exchange method and system of things-internet gateway and cloud platform | |
CN106021099A (en) | System and method for achieving UI automatic test of intelligent terminal | |
CN109062780A (en) | The development approach and terminal device of automatic test cases | |
WO2002056541A2 (en) | Methods and systems for testing comminications network components | |
CN105207366B (en) | Distribution terminal plug and play model configuration tool and its implementation based on IEC61850 | |
JP2000508848A (en) | Testing UNIX Open Systems Interconnection Layer | |
CN106411637A (en) | Internet-of-things device scenario testing method | |
CN110083541A (en) | Game test method, device, computer storage medium and electronic equipment | |
CN105871643B (en) | Network operation emulation mode based on Routing Protocol | |
CN114338418B (en) | Virtual-real combined information network verification platform | |
CN106209513B (en) | 61850 multi-client implementation method of IEC based on burse mode | |
CN103049601A (en) | Information system simulation modeling method | |
CN109831353A (en) | A kind of automatic test device of network multiple business | |
CN102750143A (en) | Digital signal processing (DSP) developing method based on matrix laboratory (MATLAB) component object model (COM) component calling | |
CN109901830A (en) | A kind of symbol arranging method and system for scada system development | |
CN112866682A (en) | Audio and video quality evaluation system and method, computer equipment and storage medium | |
CN108415266A (en) | A kind of control method and system of nature imitation experiment device | |
Fu et al. | Design of experiment platform for digital substation based on IEC 61850 | |
CN110928526A (en) | Processing device for Internet of things | |
US20010015732A1 (en) | Setting up a communication procedure between instances and a protocol tester using the method | |
CN102546306B (en) | DSL transmission range test method and device adopting same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |