CN102664762B - Automatic testing method for voice over internet protocol based on Abacus call test system - Google Patents
Automatic testing method for voice over internet protocol based on Abacus call test system Download PDFInfo
- Publication number
- CN102664762B CN102664762B CN201110437465.XA CN201110437465A CN102664762B CN 102664762 B CN102664762 B CN 102664762B CN 201110437465 A CN201110437465 A CN 201110437465A CN 102664762 B CN102664762 B CN 102664762B
- Authority
- CN
- China
- Prior art keywords
- case
- test
- script
- configuration
- abacus
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 claims description 11
- 238000002592 echocardiography Methods 0.000 claims description 8
- 230000000875 corresponding Effects 0.000 claims description 7
- 230000000576 supplementary Effects 0.000 claims description 5
- 230000001629 suppression Effects 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 4
- 230000001276 controlling effect Effects 0.000 claims 1
- 230000000977 initiatory Effects 0.000 abstract 1
- 238000000034 method Methods 0.000 description 6
- 238000011056 performance test Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 101700064519 PSTN Proteins 0.000 description 1
- 238000010835 comparative analysis Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Abstract
Discloses is an automatic testing method for voice over internet protocol based on an Abacus call test system. The method includes steps of a, implementing user configuration and test case configuration on the Abacus call test system interface; b, initiating user configuration and test case script and forming executable script files; c, obtaining a case from the executable script files, starting to record log information of the case and capturing packages, implementing relevant parameter configuration to CPE (customer premises equipment) according to the user configuration information, and loading network environment; d, connecting to the Abacus call test system, configuring parameters the script needed, invoking and executing the script to obtain a result, and obtaining, analyzing and returning a test result; e, executing a next test case according to step c and step d until the last test case is executed; f, generating a report and finishing the test. By the method, automatic testing of function and performance of the VOIP (voice over internet protocol) is realized, test efficiency and test accuracy are high and selection range is high.
Description
Technical field
The present invention relates to network voice communication, particularly relate to a kind of network voice communication automated testing method based on Abacus call testing system.
Background technology
Universal along with communication and network, network voice communication VOIP(Voice over Internet Protocol) technology obtains applying more and more widely.Due to the low cost of VOIP speech business, make telecom operators also all in this business of popularization, and how to ensure that VOIP terminal can reach and traditional public switched telephone network (Public Switched Telephone Network, be called for short PSTN) the same effect, then need to test VOIP.At present functional test and performance test are mainly contained to the test of home voice terminal series products, wherein performance test uses Abacus instrument (Bulk Call call testing instrument) to test usually, it is that current capacity in the world on Speech Communication field is high, the comprehensive Bulk Call call testing instrument that interface type is abundant.Owing to can carry out the test of Bulk Call call performance test, voice and facsimile function, the decoding of VoIP protocol uniformity test and agreement and analysis, Abacus is also for product network access testing, equipment performance analysis and selection test.But its functional test major part is all manually carried out, and thus has the following disadvantages:
1, during manual testing, the sense of hearing of people, to the detection inaccuracy of signal tone, accurately cannot judge whether signal tone meets standard.
2, manual testing cannot avoid lower level error completely.
In addition, the test due to VOIP terminal needs to drop into certain manpower and time, is unfavorable for cost-saving and raises the efficiency.
Summary of the invention
The present invention is intended to solve the problem, and provides a kind of automatic test realizing VOIP function and performance, testing efficiency and test accuracy high, the network voice communication automated testing method based on Abacus call testing system that Application Range is wide.
For achieving the above object, the invention provides a kind of network voice communication automated testing method based on Abacus call testing system, the method comprises the steps:
A, Abacus call testing system interface carry out user's configuration and test case configuration;
The configuration of b, initialising subscriber and test case script, and form executable script file;
C, from obtained script file obtain a use-case, start log information and the packet capturing of recording current use-case, judge to control subscriber terminal equipment CPE(Customer Premises Equipment according to user configuration information) pattern be telnet, or serial ports or TR069 and network loss environment, relevant parameter configuration is carried out to subscriber terminal equipment CPE, and network loss environment is loaded;
D, connect Abacus call testing system and parameter needed for configuration script, after connecting, (test case of network voice communication has been written as Abacus script to loading environment file, and these scripts are all kept in the environment file of Abacus), and invoke script performs, obtain result, then obtain and analytical test result returning, final result is recorded in test report, stop record and the packet capturing of log information simultaneously, if also have second script, then again subscriber terminal equipment CPE is configured;
E, by described step c, d, order perform next test case, until execute last use-case;
F, generation are reported and terminate test.
In step b, initialising subscriber configuration and test case script are according to the automatic generation script file of user-selected use-case, and perform in order.
In step c, the relevant configuration of described subscriber terminal equipment CPE comprises log-on message configuration, log information configuration and the configuration of daily record (log) rank.
In steps d, according to the calling interface connection Abacus call testing system of the connection Abacus that manufacturer (Spirent company) provides, and the parameter needed for configuration script, the script simultaneously called in corresponding environment file according to use-case and script name performs, and obtains result; If use-case also has second script to perform, then the action repeating first script execution is again tested.
When execution second script, the parameter that the configuration of subscriber terminal equipment CPE need pass by second script is configured, and judge whether Water demand result according to tested object, voice quality is tested, echo suppresses the use-case needing execution twice script in test and supplementary service, then Water demand result is to return results, and voice quality test and echo are suppressed to the use-case of test, also test value will be returned, the final result returned is recorded in test report, for the test value that returns be recorded in corresponding test data report according to use-case, stop record and the packet capturing of log information simultaneously.
Parameter needed for script comprises signal tone, telephone number, call duration.
In step e, after executing a test case, from initialized use-case, obtain next use-case continue to perform, until execute last use-case.
Contribution of the present invention is, it achieves the automatic test of VOIP function and performance.Method of the present invention can operate at the visualization interface of Abacus call testing system, easy to operate, and effectively improves operating efficiency and the test accuracy of test.The script and the VOIP automatization test system that use due to VOIP are relatively independent, and it can edit preservation in Abacus call testing system, therefore not only increase the flexibility ratio of system use, also reduce the cost that automatized script is developed simultaneously.For the terminal of different command level, amendment can be configured simply and just can realize automatic test, improve the scope that VOIP automatization test system is suitable for.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
The following example is further explanation of the present invention, does not constitute any limitation the present invention.
As shown in Figure 1, the network voice communication automated testing method based on Abacus call testing system of the present invention comprises the following steps:
Step 01, tester carries out user's configuration and test case configuration at Abacus call testing system interface, and starts to perform.
Step 02, the configuration of program according to tester and the use-case of selection, initialization test use-case, forms executable file, and program will be carried out order by this file and be performed.
Step 03, obtains a use-case in order and performs, and start the log information of register system, if tester have selected daily record and the packet capturing of recording user terminal equipment CPE, then start record.
Step 04, due to the number that uses between use-case with use-case and server not necessarily consistent, therefore must judge whether the number of current use-case changes.Contrast according to the number sets that the number sets used in use-case and a upper use-case use, if identical, forward step 07 to, if different, then forward step 05 to.For first use-case, because a upper use-case group is empty to, step 05 will be forwarded.
Step 05, according to a kind of control model to subscriber terminal equipment CPE that tester selects, as telnet, serial ports or TR069, to subscriber terminal equipment CPE configuration registry information.
Step 06, judges that whether the configuration of system of users terminal equipment CPE is successful, if success, forwards step 07 to, if failure, then forward step 08 to.
Step 07, according to the current use-case of the configuration determination of tester the need of interpolation network loss.If be chosen as 1 in systems in which, then forwarding step 09 to, as being chosen as 0, then forwarding step 11 to.
Step 08, returns mistake.If the operation to subscriber terminal equipment CPE or the non-configuration successful of the operation to Other Instruments can have influence on the test of whole use-case, this step will be forwarded to, return the reason of mistake.
Step 09, use-case is divided into five test modules by Abacus call testing system platform, i.e. basic call, supplementary service, fax, voice quality and echo suppression module, during configuration network loss environment, configures occurrence according to current use-case said module and network loss parameter.For the use-case with network loss parameter, the value that configuration testing personnel setting is good, otherwise configuration network loss value is 0.
Whether step 10, judge the configuration of network loss successful, if success, forward step 11 to, otherwise forward step 08 to.
Step 11, arranges daily record (log) rank according to the current use-case of the configuration determination of tester the need of to subscriber terminal equipment CPE.If be chosen as 1, then forward step 12 to, if be chosen as 0, then forward step 14 to.
Step 12, configures log rank to subscriber terminal equipment CPE.Carry out the configuration of rank according to use-case, if current use-case said module is set to 1, then the highest log rank is configured to subscriber terminal equipment CPE, if be set to 0, then common log rank is configured to subscriber terminal equipment CPE.
Step 13, judges that whether the configuration of log rank is successful.If success, forwards step 14 to, otherwise forwards step 08 to.
Step 14, judges whether current script also needs to carry out subscriber terminal equipment CPE the configuration of other parameter.If with other parameter, then forward step 15 to, otherwise forward step 17 to.
Step 15, to subscriber terminal equipment CPE configure with other parameter.
Step 16, judges that whether other parameter configuration is successful.If success, forwards step 17 to, otherwise forwards step 18 to.
Step 17, judges whether the subscriber terminal equipment CPE involved by current use-case succeeds in registration.If inquiring user terminal equipment CPE succeeds in registration, forward step 19 to; If inquiry first time unregistered success, system will continue inquiry again every 7 seconds, as long as inquiry is succeeded in registration, just forward step 19 to, at most inquiry three times, if the 4th inquiry or unregistered, then forward step 08 to.
Step 18, obtains mistake.If when needing the parameter used to be configured unsuccessfully to subscriber terminal equipment CPE script, this step will be entered into, obtain the reason of mistake.If also have second script to perform continuation is performed.
Step 19, connects and configuration Abacus.Connect Abacus call testing system, and according to the configuration of tester to the parameter needed for the script of Abacus call testing system, as signal tone, telephone number, call duration etc. are configured.
Whether successful step 20, judge to connect and configure Abacus, if success, forward step 21 to, if unsuccessful, then forward step 08 to.
Step 21, calls Abacus script according to script name and performs, and start timer.
Step 22, wait for the time that script is arranged, namely timer time arrives, and system will inquire about Abacus script, and whether executed is complete, if execute, then obtain execution result, if do not execute, then continued inquiry Abacus script executing state every 10 seconds, until the maximum time time-out that internal system is arranged, then force Abacus script to stop, obtaining corresponding mistake as execution result.
Step 23, judges whether current execution script is second script, if so, forwards step 25 to and processes, if not, then forward step 24 to and process.
Step 24, judges whether current use-case also needs execution second script.If so, forward step 14 to and process, otherwise forward step 25 to and process.
Step 25, judges whether to need comparing result according to use-case said module.If current test case belongs to voice-quality module, echo is suppressed or need the use-case of execution twice script in supplementary service, need comparing result, forward step 26 to and process, otherwise forward step 27 to and process.
Step 26, comparative analysis result, is analyzed result according to use-case said module, if belong to voice quality use-case, then the standard value of test result and setting is contrasted, meets the requirements, then think and test successfully, otherwise thinks failure; If belong to echo to suppress use-case, then compare the value of open and close, meet the requirements, then think and test successfully, otherwise think failure; If belong in supplementary service the use-case needing execution twice script, then compare two script execution results, all success is then thought and is tested successfully, otherwise thinks test crash.
Step 27, returns results, and the result according to the result analyzed or test returns test result and test value.
Step 28, is recorded in test item corresponding in test report by final testing result, stop and preserving log information and packet capturing, for the use-case belonging to voice quality and echo suppression, will generate corresponding test data report, for recording the occurrence of test.
Step 29, is configured recovery to subscriber terminal equipment CPE, and the configuration special to subscriber terminal equipment CPE according to the parameter configured in use-case recovers, to ensure the execution not affecting follow-up use-case.
Step 30, judges whether current use-case is last use-case, if so, forwards step 31 to, if not, then forward step 03 to, continue to perform next use-case.
Step 31, test terminates.
Claims (7)
1., based on a network voice communication automated testing method for Abacus call testing system, it is characterized in that, the method comprises the steps:
A, Abacus call testing system interface carry out user's configuration and test case configuration;
The configuration of b, initialising subscriber and test case script, and form executable script file;
C, from obtained script file obtain a use-case, start log information and the packet capturing of recording current use-case; Contrast according to the number sets that the number sets used in current use-case and a upper use-case use, if identical, judge that current use-case is the need of interpolation network loss according to user configuration information; If not identical, judge that the pattern controlling subscriber terminal equipment (CPE) is telnet according to user configuration information, or serial ports or TR069 and network loss environment; Relevant parameter configuration is carried out to subscriber terminal equipment (CPE), and network loss environment is loaded; Wherein, for first use-case, a upper use-case is empty;
D, connect Abacus call testing system and parameter needed for configuration script, loading environment file after connecting, and invoke script performs, obtain result, then obtain and analytical test result returning, final result is recorded in test report, stops record and the packet capturing of log information simultaneously, if also have second script, then again subscriber terminal equipment (CPE) is configured;
E, by described step c, d, order perform next test case, until execute last use-case;
F, generation are reported and terminate test.
2. the method for claim 1, is characterized in that, in step (b), initialising subscriber configuration and test case script are according to the automatic generation script file of user-selected use-case, and perform in order.
3. the method for claim 1, is characterized in that, in step (c), the relevant configuration of described subscriber terminal equipment (CPE) comprises log-on message configuration, log information configuration and the configuration of daily record rank.
4. the method for claim 1, it is characterized in that, in step (d), according to the calling interface connection Abacus call testing system of the connection Abacus that manufacturer provides, and the parameter needed for configuration script, the script simultaneously called in corresponding environment file according to use-case and script name performs, and obtains result; If use-case also has second script to perform, then the action repeating first script execution is again tested.
5. method as claimed in claim 4, it is characterized in that, when execution second script, the configuration of subscriber terminal equipment (CPE) is configured by the parameter needed for second script, and judge whether Water demand result according to tested object, voice quality is tested, echo suppresses the use-case needing execution twice script in test and supplementary service, then Water demand result is to return results, and voice quality test and echo are suppressed to the use-case of test, also test value will be returned, the final result returned is recorded in test report, the test value returned is recorded in corresponding test data report according to use-case, stop record and the packet capturing of log information simultaneously.
6. method as claimed in claim 4, it is characterized in that, the parameter needed for script comprises signal tone, telephone number and call duration.
7. the method for claim 1, is characterized in that, in step (e), after executing a test case, obtains next use-case and continue to perform, until execute last use-case from initialized use-case.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110437465.XA CN102664762B (en) | 2011-12-23 | 2011-12-23 | Automatic testing method for voice over internet protocol based on Abacus call test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110437465.XA CN102664762B (en) | 2011-12-23 | 2011-12-23 | Automatic testing method for voice over internet protocol based on Abacus call test system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102664762A CN102664762A (en) | 2012-09-12 |
CN102664762B true CN102664762B (en) | 2015-07-15 |
Family
ID=46774181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110437465.XA Active CN102664762B (en) | 2011-12-23 | 2011-12-23 | Automatic testing method for voice over internet protocol based on Abacus call test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102664762B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105101242A (en) * | 2014-05-20 | 2015-11-25 | 北京信威通信技术股份有限公司 | Call automated testing implementation method |
CN105099817A (en) * | 2015-07-14 | 2015-11-25 | 上海斐讯数据通信技术有限公司 | Remote management automation test method |
CN109660681A (en) * | 2018-12-05 | 2019-04-19 | 福建星网智慧软件有限公司 | A kind of automated testing method and system of IP-PBX voice broadcast |
CN113590401B (en) * | 2021-07-30 | 2022-03-22 | 深圳通康创智技术有限公司 | CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141753A (en) * | 2006-09-06 | 2008-03-12 | 中兴通讯股份有限公司 | Big traffic automatization testing device and method |
CN102231686A (en) * | 2011-06-24 | 2011-11-02 | 北京天融信科技有限公司 | System and method for implementing automated test of network security equipment |
-
2011
- 2011-12-23 CN CN201110437465.XA patent/CN102664762B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141753A (en) * | 2006-09-06 | 2008-03-12 | 中兴通讯股份有限公司 | Big traffic automatization testing device and method |
CN102231686A (en) * | 2011-06-24 | 2011-11-02 | 北京天融信科技有限公司 | System and method for implementing automated test of network security equipment |
Non-Patent Citations (1)
Title |
---|
思博伦通信.《思博伦家庭网关/IAD语音测试解决方案》.《电信网技术》.2008,第65页-68页. * |
Also Published As
Publication number | Publication date |
---|---|
CN102664762A (en) | 2012-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6189031B1 (en) | Method and system for emulating a signaling point for testing a telecommunications network | |
US8526314B2 (en) | Methods and apparatus to provide service assurance for communication networks | |
US7099438B2 (en) | Multi-protocol, multi-interface communications device testing system | |
CN102664762B (en) | Automatic testing method for voice over internet protocol based on Abacus call test system | |
CN101052066B (en) | Detecting method for prompting voice, voice server and prompting voice detector | |
CN108376115B (en) | Automatic testing method and system across Android platform | |
US8363557B2 (en) | Methods, systems, and computer readable media for remotely evaluating and controlling voice over IP (VoIP) subscriber terminal equipment | |
CN101729681A (en) | Automatic testing method, testing terminal and communication system | |
CN102801875B (en) | A kind of Bulk Call test module, system and method | |
WO2018192149A1 (en) | Dial testing method, apparatus and system | |
CN105471680A (en) | Network voice communication testing system and method | |
WO2010080930A2 (en) | Methods, systems, and computer readable media for remotely evaluating and controlling voice ip (voip) subscriber terminal equipment | |
US9232420B1 (en) | Automated network testing using in-progress call detail records | |
US20230081333A1 (en) | Unified interface and tracing tool for network function virtualization architecture | |
US20230029818A1 (en) | Product validation based on simulated enhanced calling or messaging communications services in telecommunications network | |
US20230020480A1 (en) | Unified query tool for network function virtualization architecture | |
CN101159773A (en) | A auto-dial testing system, device and method thereof | |
US9203637B2 (en) | Automated audio stream testing | |
CN110532305B (en) | Service data cutting-over method and system | |
CN101227342A (en) | Method and apparatus for implementing large traffic automatic calling | |
US8873405B2 (en) | Automated session initiation protocol (SIP) device | |
CN105812589B (en) | Home gateway voice hardware diagnostic system and method | |
US8477909B2 (en) | Testing call routing | |
CN105516518A (en) | Network voice testing method | |
CN102006370A (en) | Realization method and device for carrying out call loss analysis to narrow-band user in NGN (Next Generation Network) |
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 |