CN108718261A - Gateway automated testing method and system - Google Patents
Gateway automated testing method and system Download PDFInfo
- Publication number
- CN108718261A CN108718261A CN201810589453.0A CN201810589453A CN108718261A CN 108718261 A CN108718261 A CN 108718261A CN 201810589453 A CN201810589453 A CN 201810589453A CN 108718261 A CN108718261 A CN 108718261A
- Authority
- CN
- China
- Prior art keywords
- test
- gateway
- test event
- event
- gateway device
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0888—Throughput
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention discloses a kind of gateway automated testing method and system, can improve gateway testing efficiency.This method includes:Identify the test event of gateway to be measured;The corresponding test script of the test event is selected, the test event is tested;Record the test event test result.The gateway automated testing method and system of the embodiment of the present invention, identify the test event of gateway to be measured, select the corresponding test script of test event, test event is tested, test event test result is recorded, to realize that gateway is tested automatically, to improve gateway testing efficiency.
Description
Technical field
The present invention relates to computer realm more particularly to a kind of gateway automated testing method and systems.
Background technology
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, is only used for two different network interconnections of upper-layer protocol.Gateway both can be used for wide area network
Interconnection, can be used for local area network interconnection.Gateway is a kind of computer system or equipment for serving as conversion important task.Gateway use exists
Between different communication protocol, data format or language or even the entirely different two kinds of systems of architecture, gateway is one and turns over
Translate device.
Gateway usually requires to be tested using preceding, mostly uses the mode of instrument greatly to the test of radio network gateway at present, needs
Building for test environment is carried out by hand, and testing efficiency is to be improved.
Invention content
A kind of gateway automated testing method of offer of the embodiment of the present invention and system, can improve gateway testing efficiency.
The embodiment of the present invention adopts the following technical scheme that:
A kind of gateway automated testing method, including:
Identify the test event of gateway to be measured;
The corresponding test script of the test event is selected, the test event is tested;
Record the test event test result.
Optionally, the test event includes following at least one:
Testing throughput, routing function test, equipment management test, call testing.
Optionally, the agreement of the test event application includes following at least one:
Session Initiation Protocol, Real-time Transport Protocol, VOIP agreements.
Optionally, the test result includes:
Test event title, test configurations, testing procedure, test log.
Optionally, the corresponding test script of the test event uses python.
A kind of gateway automatic test test system, including PC and gateway device
Call server is installed on PC, PPPoE servers, Dynamic Host Configuration Protocol server, TR069 servers connect the gateway of PC
WAN and LAN mouthfuls of equipment, the phone port that the PC passes through com port connection Modem to the gateway device;
Identify the test event of the gateway device;
The corresponding test script of the test event is selected, the call server, the PPPoE servers, institute are selected
One of Dynamic Host Configuration Protocol server, the TR069 servers are stated, the test event is tested;
Record the test event test result.
Optionally, it tests the gateway device calling and uses Abacus call testing instrument.
Optionally, described gateway device wan mouthfuls and lan mouthfuls are tested and uses SmartBits testers.
Optionally, it tests the gateway device radio throughput and uses ixChariot.
Optionally, the corresponding test script of the test event uses python.
Gateway automated testing method based on the above-mentioned technical proposal and system identify the test event of gateway to be measured, choosing
Determine the corresponding test script of test event, test event is tested, test event test result is recorded, to realize gateway
Automatic test, to improve gateway testing efficiency.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart of the gateway automated testing method shown in the embodiment of the present invention.
Fig. 2 is the structural schematic diagram of the gateway automatic test test system shown in the embodiment of the present invention.
Fig. 3 is that the test result shown in the embodiment of the present invention records schematic diagram.
Fig. 4 is a kind of testing process schematic diagram shown in the embodiment of the present invention.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of gateway automated testing method, including:
11, the test event of gateway to be measured is identified;
12, the corresponding test script of the test event is selected, the test event is tested;
13, the test event test result is recorded.
Fig. 2 is that gateway automatic test provided in an embodiment of the present invention tests system, and the method for the embodiment of the present invention can be with
System is tested applied to gateway automatic test shown in Fig. 2.
Optional in one embodiment, the test event includes following at least one:
Testing throughput, routing function test, equipment management test, call testing.
Optional in one embodiment, the agreement of the test event application includes following at least one:
SIP (Session Initiation Protocol, session initiation protocol) agreement, RTP (Real-time
Transport Protocol, real-time transport protocol) agreement, VOIP (Voice over Internet Protocol) agreement.
Optional in one embodiment, the test result includes:
Test event title, test configurations, testing procedure, test log.
In one embodiment, mode as shown in Figure 3 may be used and record test result, test interface, including test
Option, test configurations and step, test log.
In one embodiment optionally, the corresponding test script of the test event uses python.
Testing process shown in Fig. 4 may be used in one embodiment of the invention and carry out gateway test.
The method of the embodiment of the present invention is applied to the automatic test of radio network gateway, includes the measurement of handling up of radio network gateway
Examination, routing function test, equipment management test and call testing, improve the testing efficiency of device version.
The embodiment of the present invention may be coupled to each interface of tested gateway, including WAN/LAN/FXS/ by a PC
Wifi。
Testing procedure can with as shown in figure 4, first step is the corresponding script of selection, after each testing procedure,
A test report of output.Test report can record beta version, and whether each test item passes through, final test result.
Connection of the embodiment of the present invention is simple, does not need test instrumentation or complex environment.Common clothes are installed on PC
Business device, including call server, PPPoE servers, Dynamic Host Configuration Protocol server, TR069 servers, the double netcard for connecting PC arrive equipment
WAN and LAN mouthfuls, the phone port that PC passes through com port connection Modem to equipment.
Test script of the embodiment of the present invention uses python, which is referred to as glue language, can by existing module,
For example splinter can be used for testing WEB, pyserial can carry out test script faster for testing phone port calling
It writes.
The gateway automated testing method of the embodiment of the present invention, identifies the test event of gateway to be measured, selectes test event
Corresponding test script, tests test event, records test event test result, to realize that gateway is tested automatically,
To improve gateway testing efficiency.
Embodiment 2
The embodiment of the present invention provides a kind of gateway automatic test test system, including PC and gateway device
Call server is installed on PC, PPPoE servers, Dynamic Host Configuration Protocol server, TR069 servers connect the gateway of PC
WAN and LAN mouthfuls of equipment, the phone port that the PC passes through com port connection Modem to the gateway device;
Identify the test event of the gateway device;
The corresponding test script of the test event is selected, the call server, the PPPoE servers, institute are selected
One of Dynamic Host Configuration Protocol server, the TR069 servers are stated, the test event is tested;
Record the test event test result.
It is optional in one embodiment, it tests the gateway device calling and uses Abacus call testing instrument.
It is optional in one embodiment, it tests described gateway device wan mouthfuls and lan mouthfuls and uses SmartBits testers;
It is optional in one embodiment, it tests the gateway device radio throughput and uses ixChariot.
In one embodiment optionally, the corresponding test script of the test event uses python.
The gateway automated testing method of above-described embodiment may be implemented in the gateway automatization test system of the present embodiment, in detail
Thin realization process is referred to above method embodiment the present embodiment and does not repeat.
The gateway automatization test system of the embodiment of the present invention, identifies the test event of gateway to be measured, selectes test event
Corresponding test script, tests test event, records test event test result, to realize that gateway is tested automatically,
To improve gateway testing efficiency.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or improvement to the technology in market for best explaining each embodiment, or make the art
Other those of ordinary skill can understand each embodiment disclosed herein.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.
Claims (10)
1. a kind of gateway automated testing method, which is characterized in that including:
Identify the test event of gateway to be measured;
The corresponding test script of the test event is selected, the test event is tested;
Record the test event test result.
2. according to the method described in claim 1, it is characterized in that, the test event includes following at least one:
Testing throughput, routing function test, equipment management test, call testing.
3. according to the method described in claim 2, it is characterized in that, the agreement of test event application includes following at least one
Kind:
Session Initiation Protocol, Real-time Transport Protocol, VOIP agreements.
4. according to the method in any one of claims 1 to 3, which is characterized in that the test result includes:
Test event title, test configurations, testing procedure, test log.
5. according to the method described in claim 1, it is characterized in that, the corresponding test script of the test event uses
python。
6. a kind of gateway automatic test tests system, which is characterized in that including PC and gateway device
Call server is installed on PC, PPPoE servers, Dynamic Host Configuration Protocol server, TR069 servers connect the gateway device of PC
WAN and LAN mouthfuls, the PC pass through com port connect Modem to the gateway device phone port;
Identify the test event of the gateway device;
The corresponding test script of the test event is selected, the call server is selected, the PPPoE servers are described
Dynamic Host Configuration Protocol server, one of described TR069 servers, tests the test event;
Record the test event test result.
7. system according to claim 6, which is characterized in that test the gateway device calling and surveyed using Abacus callings
Try instrument.
8. system according to claim 6, which is characterized in that test described gateway device wan mouthfuls and lan mouthfuls uses
SmartBits testers.
9. system according to claim 6, which is characterized in that test the gateway device radio throughput and use
ixChariot。
10. the system according to any one of claim 6 to 9, which is characterized in that the corresponding test foot of the test event
This uses python.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810589453.0A CN108718261A (en) | 2018-06-08 | 2018-06-08 | Gateway automated testing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810589453.0A CN108718261A (en) | 2018-06-08 | 2018-06-08 | Gateway automated testing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108718261A true CN108718261A (en) | 2018-10-30 |
Family
ID=63912005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810589453.0A Pending CN108718261A (en) | 2018-06-08 | 2018-06-08 | Gateway automated testing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108718261A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109683053A (en) * | 2018-12-20 | 2019-04-26 | 四川天邑康和通信股份有限公司 | A kind of interface test system and test method based on interface equipment factory test |
CN110188021A (en) * | 2019-04-11 | 2019-08-30 | 深圳市同泰怡信息技术有限公司 | A kind of automated testing method of server |
CN110601915A (en) * | 2019-08-12 | 2019-12-20 | 深圳市同维通信技术有限公司 | Method and device for testing gateway device |
WO2021003975A1 (en) * | 2019-07-11 | 2021-01-14 | 深圳壹账通智能科技有限公司 | Gateway interface test method, terminal device, storage medium and apparatus |
CN113438132A (en) * | 2021-06-24 | 2021-09-24 | 深圳市吉祥腾达科技有限公司 | System and method for testing data burst reliability of wireless routing equipment |
CN113794606A (en) * | 2021-09-17 | 2021-12-14 | 合肥润东通信科技股份有限公司 | Test system and method for efficiently testing coaxial voice gateway |
CN114448852A (en) * | 2021-12-30 | 2022-05-06 | 中国电信股份有限公司 | Gateway terminal testing method, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090279673A1 (en) * | 2008-05-09 | 2009-11-12 | Verizon Services Corporation | Method and system for test automation and dynamic test environment configuration |
CN103209101A (en) * | 2012-01-17 | 2013-07-17 | 深圳市共进电子股份有限公司 | Gateway testing method |
CN103714003A (en) * | 2013-12-31 | 2014-04-09 | 深圳市共进电子股份有限公司 | Terminal gateway equipment software automatic pretesting method |
CN107104827A (en) * | 2017-04-12 | 2017-08-29 | 上海斐讯数据通信技术有限公司 | DMZ method for automatically testing functions and system based on Socket |
-
2018
- 2018-06-08 CN CN201810589453.0A patent/CN108718261A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090279673A1 (en) * | 2008-05-09 | 2009-11-12 | Verizon Services Corporation | Method and system for test automation and dynamic test environment configuration |
CN103209101A (en) * | 2012-01-17 | 2013-07-17 | 深圳市共进电子股份有限公司 | Gateway testing method |
CN103714003A (en) * | 2013-12-31 | 2014-04-09 | 深圳市共进电子股份有限公司 | Terminal gateway equipment software automatic pretesting method |
CN107104827A (en) * | 2017-04-12 | 2017-08-29 | 上海斐讯数据通信技术有限公司 | DMZ method for automatically testing functions and system based on Socket |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109683053A (en) * | 2018-12-20 | 2019-04-26 | 四川天邑康和通信股份有限公司 | A kind of interface test system and test method based on interface equipment factory test |
CN110188021A (en) * | 2019-04-11 | 2019-08-30 | 深圳市同泰怡信息技术有限公司 | A kind of automated testing method of server |
WO2021003975A1 (en) * | 2019-07-11 | 2021-01-14 | 深圳壹账通智能科技有限公司 | Gateway interface test method, terminal device, storage medium and apparatus |
CN110601915A (en) * | 2019-08-12 | 2019-12-20 | 深圳市同维通信技术有限公司 | Method and device for testing gateway device |
CN113438132A (en) * | 2021-06-24 | 2021-09-24 | 深圳市吉祥腾达科技有限公司 | System and method for testing data burst reliability of wireless routing equipment |
CN113794606A (en) * | 2021-09-17 | 2021-12-14 | 合肥润东通信科技股份有限公司 | Test system and method for efficiently testing coaxial voice gateway |
CN114448852A (en) * | 2021-12-30 | 2022-05-06 | 中国电信股份有限公司 | Gateway terminal testing method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108718261A (en) | Gateway automated testing method and system | |
US8625767B2 (en) | Conference bridge audio quality diagnostic and self configuration system and method | |
US7231210B1 (en) | Method and apparatus for automatically generating call flow test scripts | |
US7653547B2 (en) | Method for testing a speech server | |
US10412220B2 (en) | Graphical user interface and method for testing and visually representing telephony state | |
US20070213966A1 (en) | Traffic generator program | |
CN108319552A (en) | One kind burying a test method, apparatus and system | |
US11811844B2 (en) | Product validation based on simulated enhanced calling or messaging communications services in telecommunications network | |
CN106209515B (en) | Access network equipment automatization test system | |
US20230020480A1 (en) | Unified query tool for network function virtualization architecture | |
US11770323B2 (en) | Unified interface and tracing tool for network function virtualization architecture | |
CN109446075A (en) | Interface testing method and device | |
CN108243033A (en) | A kind of method given a mark to video quality, cloud server terminal and system | |
CN113678494A (en) | Method and device for providing network experience testing | |
US8072890B2 (en) | System and method for testing a dynamic communication across a network | |
US20060187824A1 (en) | Method and apparatus for measuring data transport quality over an Internet Protocol | |
CN107844486A (en) | A kind of method and system of analysis webpage problem for client | |
CN108089972A (en) | interface test method and device | |
US20080146217A1 (en) | Automated audio stream testing | |
CN106598831A (en) | Method and device for testing SDK (software development kit) | |
CN104468861B (en) | The method, apparatus and system of terminal recognition | |
CN109587349A (en) | Multimedia is attended a banquet line testing process and device, electronic equipment, storage medium | |
CN108322617A (en) | A kind of phone Handless system audio self checking method | |
US20080137529A1 (en) | Method and apparatus for diagnosing VoIP-related communication faults | |
CN109213674A (en) | Test macro, method, storage medium and processor |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181030 |
|
RJ01 | Rejection of invention patent application after publication |