WO2019179019A1 - Automated testing method and apparatus, and computer device and storage medium - Google Patents

Automated testing method and apparatus, and computer device and storage medium Download PDF

Info

Publication number
WO2019179019A1
WO2019179019A1 PCT/CN2018/101846 CN2018101846W WO2019179019A1 WO 2019179019 A1 WO2019179019 A1 WO 2019179019A1 CN 2018101846 W CN2018101846 W CN 2018101846W WO 2019179019 A1 WO2019179019 A1 WO 2019179019A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
media gateway
virtual media
ivr system
service
Prior art date
Application number
PCT/CN2018/101846
Other languages
French (fr)
Chinese (zh)
Inventor
刘玉治
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019179019A1 publication Critical patent/WO2019179019A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/26Arrangements for supervision, monitoring or testing with means for applying test signals or for measuring
    • H04M3/28Automatic routine testing ; Fault testing; Installation testing; Test methods, test equipment or test arrangements therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/487Arrangements for providing information services, e.g. recorded voice services or time announcements
    • H04M3/493Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals

Definitions

  • the present application relates to the field of computer technologies, and in particular, to an automated test method, apparatus, computer device, and storage medium.
  • test of the IVR (Interactive Voice Response) system flow does not have a complete tool to complete. If the test is performed manually by module, the test process is very time consuming, inefficient and workload. Very large; in addition, when the test content is very complicated, if you rely on manual testing and sorting out the test results, the error rate is also very high.
  • the embodiments of the present application provide an automated test method, apparatus, computer device, and storage medium, which can greatly reduce the time consuming of the testing process and improve the testing efficiency.
  • an embodiment of the present application provides an automated testing method, including: invoking a virtual media gateway service; initiating a test request to an IVR system through a virtual media gateway service; and establishing a virtual media gateway if receiving an acknowledgement command from the IVR system Service and test channels of the IVR system; automated testing based on the test channels.
  • the embodiment of the present application provides an automatic testing device, where the device includes: a calling unit, configured to invoke a virtual media gateway service; and a first initiating unit, configured to initiate a test request to the IVR system through the virtual media gateway service. And a establishing unit, configured to establish a test channel of the virtual media gateway service and the IVR system if receiving the confirmation instruction of the IVR system; and an automated testing unit, configured to perform an automated test according to the test channel.
  • an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program
  • a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program
  • an embodiment of the present application further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors Executed to implement an automated test method as described above.
  • the automated test method described in the embodiments of the present application can greatly reduce the time consuming of the test process and improve the test efficiency.
  • FIG. 1 is a schematic flow chart of an automated test method provided by an embodiment of the present application.
  • FIG. 2 is a schematic flow chart of an automated testing method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flow chart of an automated testing method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flow chart of an automated test method according to another embodiment of the present application.
  • FIG. 5 is a schematic diagram showing a demonstration of an automated test method according to an embodiment of the present application.
  • FIG. 6 is a schematic flow chart of an automated test method according to another embodiment of the present application.
  • FIG. 7 is a schematic block diagram of an automated test apparatus provided by an embodiment of the present application.
  • FIG. 8 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application.
  • FIG. 9 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application.
  • FIG. 10 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application.
  • FIG. 11 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of an automated testing method according to an embodiment of the present application.
  • the method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • the automated test method described in the embodiments of the present application can greatly reduce the time consuming of the test process and improve the test efficiency.
  • FIG. 1 is a schematic flow chart of an automated test method provided by an embodiment of the present application. The method includes steps S101 to S104.
  • the automated test is directed to an IVR (Interactive Voice Response) system.
  • the test process includes a process test process and a media test process, and the virtual media gateway service is used for bridging.
  • Voice and corresponding signaling transmission the specific method is to set between multiple endpoints located under the same or different NAT (Network Address Translation) or firewall, the setting method includes manual setting and automatic setting. Among them, manually set to select "TCP/IP Protocol" in the network properties dialog box, click “Properties”, fill in the IP address of the new default gateway in the "Default Gateway” tab, automatically set to use the DHCP server to automatically give The devices in the network are assigned IP addresses, subnet masks, and default gateways. For automatic settings, they can also be obtained automatically by installing a proxy server.
  • the step S101 includes steps S201 to S203.
  • the calling instruction includes a service identifier of a virtual media gateway service, and when the terminal needs to invoke a virtual media gateway service, sending the calling instruction to the virtual media gateway, and from the virtual media gateway Find related services.
  • the virtual media gateway stores a service list, and a mapping relationship between the service identifier and the required service is preset on the service list, where one service identifier corresponds to one service, and when the terminal When the service identifier is sent to the virtual media gateway, the service corresponding to the service identifier is found in the service list on the virtual media gateway according to the sent service identifier.
  • the target service is served as the virtual media gateway.
  • a test request is initiated to the IVR system by using a virtual media gateway service.
  • the virtual media gateway service if the virtual media gateway service is invoked, a test request is initiated to the IVR system, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a protocol used.
  • the domain name DNS of the input URL is parsed out of the IP address, and the virtual media gateway service establishes a connection with the IVR system according to the IP address and the default 80 port, and then assembles into a HTTP request header of the get type according to the URL, through the outputStream. .write is sent to the IVR system.
  • the HTTP request header assembled into this URL is sent to the target server of the IVR system.
  • test channel of the virtual media gateway service and the IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be A common channel for information transmission.
  • the test channel may be a graphical user interface, and the graphical user interface adopts a computer operation interface displayed in a graphical manner, because the graphical interface is used in connection with a command line interface used by the computer. It is visually more acceptable to users.
  • step S103 includes steps S301 to S304.
  • each of the virtual media gateway services corresponds to multiple test tasks of the IVR system, such as recording data operations, voice broadcast, collecting cases, process jumps, and call forwarding, each of which Test tasks correspond to unique source addresses.
  • the port forwarding and mapping technologies of the traditional Portforward table may be modified to re-engineer the source address of a test task; the source address of the test task is required to be described.
  • the method of refactoring may be to replace the old address, copy the address body of the new address to the address body of the old address, replace the address body of the old address, and modify all the places that refer to the old address to reference the new address.
  • mapping relationship between the test task source address and the at least one test channel of the IVR system.
  • the mapping between the one or more test channels and the source address of the test task is formed by using the test task source address and the destination route, and at least one mapping of one or more test channels and source addresses of the test task is formed. Test channel mapping relationships.
  • test case template generation function may be further controlled. In this example, the test case template generation function is activated. If the selection is closed, the test case template is not recorded in the background.
  • the tester invokes the virtual media gateway to initiate an IVR automatic test (for example, for the 95511-3 Ping An Bank IVR service); the virtual media gateway simulates incoming information (sets the caller number ANI, accompanying data (eg, call center number, area code, etc.))
  • the virtual media gateway initiates an HTTP request to the IVR system; the IVR system responds to the request of the virtual media gateway and writes a request instruction to the response to the virtual media gateway (eg, acquiring the recorded data, broadcasting the voice, broadcasting the voice, collecting the case, and transferring
  • the virtual media gateway obtains the response returned by the IVR system and parses the response request from the IVR system, and obtains the request instruction of the IVR system from the response; the virtual media gateway performs corresponding operations according to the instruction of the response information.
  • the operation type usually includes the recorded data operation, voice broadcast, collection of cases, process jump, call transfer, etc.
  • the virtual media gateway will further obtain the prompt voice and effective button for the broadcast from the instruction. (including the effective button, the number of buttons allowed to enter), the input timeout period, the maximum number of allowed failures, etc. Then use this information to control the voice announcement and input key check. The tester will hear the voice prompt and follow the prompts.
  • the interactive interface selects and inputs the corresponding data, such as inputting the customer debit card number); after the virtual media gateway successfully executes the instruction requested by the IVR system, the instruction information and the execution result information are processed correspondingly, and then cached for use. Form a test case template.
  • the processing results are organized and sent to the IVR system service through the HTTP request method according to the requirements of the IVR system; in the interactive test mode, the test personnel are directly interacted, including the media function (voice broadcast) and the interactive interface key operation.
  • the system records key data during the execution process and generates test reports for review by testers.
  • the test case data cached in the process is written according to the test process to the corresponding storage path of the test case template.
  • the embodiment of the present application invokes a virtual media gateway service; initiates a test request to the IVR system through the virtual media gateway service; and if a confirmation command of the IVR system is received, establishes a test channel of the virtual media gateway service and the IVR system; Automated testing of test channels can greatly reduce the time consuming of test procedures and increase test efficiency.
  • FIG. 4 is a schematic flow chart of an automated testing method provided by an embodiment of the present application.
  • the method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices.
  • the method includes steps S401 to S406.
  • the automated test is directed to an IVR (Interactive Voice Response) system.
  • the test process includes a process test process and a media test process, and the virtual media gateway service is used for bridging.
  • Voice and corresponding signaling transmission the specific method is to set between multiple endpoints located under the same or different NAT (Network Address Translation) or firewall, the setting method includes manual setting and automatic setting. Among them, manually set to select "TCP/IP Protocol" in the network properties dialog box, click “Properties”, fill in the IP address of the new default gateway in the "Default Gateway” tab, automatically set to use the DHCP server to automatically give The devices in the network are assigned IP addresses, subnet masks, and default gateways. For automatic settings, they can also be obtained automatically by installing a proxy server.
  • test request is initiated to the IVR system, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a protocol used.
  • the domain name DNS of the input URL is parsed out of the IP address, and the virtual media gateway service establishes a connection with the IVR system according to the IP address and the default 80 port, and then assembles into a HTTP request header of the get type according to the URL, through the outputStream. .write is sent to the IVR system.
  • the HTTP request header assembled into this URL is sent to the target server of the IVR system.
  • test channel of the virtual media gateway service and the IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be A common channel for information transmission.
  • the test channel may be a graphical user interface, and the graphical user interface adopts a computer operation interface displayed in a graphical manner, because the graphical interface is used in connection with a command line interface used by the computer. It is visually more acceptable to users.
  • test case template generation function may be further controlled. In this example, the test case template generation function is activated. If the selection is closed, the test case template is not recorded in the background.
  • the tester invokes the virtual media gateway to initiate an IVR automatic test, for example, for the 95511-3 Ping An Bank IVR service; the virtual media gateway simulates the incoming line information (sets the caller number ANI, the recorded data (eg, call center number, area code, etc.)); The virtual media gateway initiates an HTTP request to the IVR system; the IVR system responds to the request of the virtual media gateway and writes a request instruction to the response to the virtual media gateway (eg, acquiring the recorded data, broadcasting the voice, broadcasting the voice, collecting the case, transferring , the process jump, etc.; the virtual media gateway obtains the response returned by the IVR system, parses, and obtains the request instruction of the IVR system from the response; the virtual media gateway performs corresponding operations according to the instruction of the response information.
  • the virtual media gateway simulates the incoming line information (sets the caller number ANI, the recorded data (eg, call center number, area code, etc.));
  • the virtual media gateway initiates an HTTP request to the
  • the operation type usually includes the recorded data operation, voice broadcast, collection of cases, process jump, call transfer, etc.
  • the virtual media gateway will further obtain the prompt voice and effective button for the broadcast from the instruction. (including the effective button, the number of buttons allowed to enter), the input timeout period, the maximum number of allowed failures, etc. Then use this information to control the voice announcement and input key check. The tester will hear the voice prompt and follow the prompts.
  • the interactive interface selects and inputs the corresponding data, such as inputting the customer debit card number); after the virtual media gateway successfully executes the instruction requested by the IVR system, the instruction information and the execution result information are processed correspondingly, and then cached for use. Form a test case template.
  • the processing results are organized and sent to the IVR system service through the HTTP request method according to the requirements of the IVR system; in the interactive test mode, the test personnel are directly interacted, including the media function (voice broadcast) and the interactive interface key operation.
  • the system records critical data during the execution process and generates test reports for review by testers.
  • the test case data cached in the process is written according to the test process to the corresponding storage path of the test case template.
  • the query instruction may be a query operation input by the user on the terminal, and the query instruction may also be an SQL query instruction, such as a SQL query instruction: a Select query statement; in an automated test process, the terminal may refer to the IVR.
  • the system initiates a query request for querying the test steps of the test process, for example, the currently performed automated test step is to test the "voice broadcast" process, or the currently performed automated test step is to test the "call transfer" process and many more.
  • the currently executed test step is displayed on the preset display interface.
  • the preset display interface may be a designated area of the current interface of the terminal, for example, may be the middle of the current interface of the terminal.
  • the current interface G of the terminal 10 The "Testing of Call Forwarding Process" is displayed, which shows the user's ongoing testing steps, so that users can view and understand the process of automated testing at any time.
  • FIG. 6 is a schematic flow chart of an automated testing method provided by an embodiment of the present application.
  • the method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices. As shown in FIG. 6, the method includes steps S501 to S505.
  • the virtual media gateway service is invoked.
  • the automated test is directed to an IVR (Interactive Voice Response) system.
  • the test process includes a process test process and a media test process, and the virtual media gateway service is used for bridging.
  • Voice and corresponding signaling transmission the specific method is to set between multiple endpoints located under the same or different NAT (Network Address Translation) or firewall, the setting method includes manual setting and automatic setting.
  • test request is initiated to the IVR system, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a protocol used.
  • the domain name DNS of the input URL is parsed out of the IP address, and the virtual media gateway service establishes a connection with the IVR system according to the IP address and the default 80 port, and then assembles into a HTTP request header of the get type according to the URL, through the outputStream. .write is sent to the IVR system.
  • the HTTP request header assembled into this URL is sent to the target server of the IVR system.
  • test channel of the virtual media gateway service and the IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be A common channel for information transmission.
  • the test channel may be a graphical user interface, and the graphical user interface adopts a computer operation interface displayed in a graphical manner, because the graphical interface is used in connection with a command line interface used by the computer. It is visually more acceptable to users.
  • test case template generation function may be further controlled. In this example, the test case template generation function is activated. If the selection is closed, the test case template is not recorded in the background.
  • the tester invokes the virtual media gateway to initiate an IVR automatic test, for example, for the 95511-3 Ping An Bank IVR service; the virtual media gateway simulates the incoming line information (sets the caller number ANI, the recorded data (eg, call center number, area code, etc.)); The virtual media gateway initiates an HTTP request to the IVR system; the IVR system responds to the request of the virtual media gateway and writes a request instruction to the response to the virtual media gateway (eg, acquiring the recorded data, broadcasting the voice, broadcasting the voice, collecting the case, transferring , the process jump, etc.; the virtual media gateway obtains the response returned by the IVR system, parses, and obtains the request instruction of the IVR system from the response; the virtual media gateway performs corresponding operations according to the instruction of the response information.
  • the virtual media gateway simulates the incoming line information (sets the caller number ANI, the recorded data (eg, call center number, area code, etc.));
  • the virtual media gateway initiates an HTTP request to the
  • the operation type usually includes the recorded data operation, voice broadcast, collection of cases, process jump, call transfer, etc.
  • the virtual media gateway will further obtain the prompt voice and effective button for the broadcast from the instruction. (including the effective button, the number of buttons allowed to enter), the input timeout period, the maximum number of allowed failures, etc. Then use this information to control the voice announcement and input key check. The tester will hear the voice prompt and follow the prompts.
  • the interactive interface selects and inputs the corresponding data, such as inputting the customer debit card number); after the virtual media gateway successfully executes the instruction requested by the IVR system, the instruction information and the execution result information are processed correspondingly, and then cached for use. Form a test case template.
  • the processing results are organized and sent to the IVR system service through the HTTP request method according to the requirements of the IVR system; in the interactive test mode, the test personnel are directly interacted, including the media function (voice broadcast) and the interactive interface key operation.
  • the system records critical data during the execution process and generates test reports for review by testers.
  • the test case data cached in the process is written according to the test process to the corresponding storage path of the test case template.
  • the terminal may receive the description information of the test step returned by the IVR system, and present the information in the browser page.
  • the terminal may present the description information in a browser page by means of a list, and one row in the list may include all description information of a test step.
  • the terminal may further initiate a request for querying the currently executed test step to the IVR system; and in response to the query result returned by the IVR system, change the display effect of the description information corresponding to the currently executed test step.
  • an embodiment of the present application further provides an automated testing device.
  • the device 100 includes an invoking unit 101 , an initiating unit 102 , an establishing unit 103 , and an automated testing unit 104 .
  • the calling unit 101 is configured to invoke a virtual media gateway service.
  • the first initiating unit 102 is configured to initiate a test request to the IVR system through the virtual media gateway service.
  • the establishing unit 103 is configured to establish a test channel of the virtual media gateway service and the IVR system if the confirmation command of the IVR system is received.
  • the automated test unit 104 is configured to perform an automated test based on the test channel.
  • the embodiment of the present application invokes a virtual media gateway service; initiates a test request to the IVR system through the virtual media gateway service; and if a confirmation command of the IVR system is received, establishes a test channel of the virtual media gateway service and the IVR system; Automated testing of test channels can greatly reduce the time consuming of test procedures and increase test efficiency.
  • the calling unit 101 includes: a sending unit 1011, configured to send a calling instruction to a virtual media gateway.
  • the searching unit 1012 is configured to search, from the virtual media gateway, the target service that satisfies the calling instruction according to the calling instruction.
  • the executing unit 1013 is configured to serve the target service as the virtual media gateway.
  • the establishing unit 103 includes: a determining unit 1031, configured to determine a test task source address in the virtual media gateway service.
  • the reconstruction unit 1032 is configured to reconstruct the test task source address.
  • the creating unit 1033 is configured to create a mapping relationship between the test task source address and the at least one test channel of the IVR system.
  • the establishing subunit 1034 is configured to establish a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
  • an embodiment of the present application further provides an automated testing device.
  • the device 200 includes: a calling unit 201 , a first initiating unit 202 , an establishing unit 203 , an automated testing unit 204 , and a second The second initiating unit 205 and the display unit 206.
  • the calling unit 201 is configured to invoke a virtual media gateway service.
  • the first initiating unit 202 is configured to initiate a test request to the IVR system through the virtual media gateway service.
  • the establishing unit 203 is configured to establish a test channel of the virtual media gateway service and the IVR system if the confirmation command of the IVR system is received.
  • An automated test unit 204 is configured to perform an automated test based on the test channel.
  • the second initiating unit 205 is configured to initiate a request for querying the currently executed test step if receiving the query instruction.
  • the display unit 206 is configured to display the currently executed test step on the preset display interface in response to the request.
  • an embodiment of the present application further provides an automatic testing device, which includes: a calling unit 301, a first initiating unit 302, an establishing unit 303, an automated testing unit 304, and a rendering Unit 305.
  • the calling unit 301 is configured to invoke a virtual media gateway service.
  • the first initiating unit 302 is configured to initiate a test request to the IVR system by using the virtual media gateway service.
  • the establishing unit 303 is configured to establish a test channel of the virtual media gateway service and the IVR system if the confirmation command of the IVR system is received.
  • the automated test unit 304 is configured to perform an automated test according to the test channel.
  • the presentation unit 305 is configured to present description information about the automated testing process by using a preset browser page.
  • the above calling unit 101, the initiating unit 102, the establishing unit 103, the automated testing unit 104, and the like may be embedded in the hardware processing device or in a software form, or may be stored in the data processing device in software.
  • the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
  • the automated test apparatus described above can be implemented in the form of a computer program that can be run on a computer device as shown in FIG.
  • FIG. 12 is a schematic structural diagram of a computer device according to the present application.
  • the device may be a terminal or a server, wherein the terminal may be a communication device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.
  • the server can be a standalone server or a server cluster consisting of multiple servers.
  • the computer device 500 includes a processor 502, a non-volatile storage medium 503, an internal memory 504, and a network interface 505 connected by a system bus 501.
  • the non-volatile storage medium 503 of the computer device 500 can store an operating system 5031 and a computer program 5032 that, when executed, can cause the processor 502 to perform an automated test method.
  • the processor 502 of the computer device 500 is used to provide computing and control capabilities to support the operation of the entire computer device 500.
  • the internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, which when executed by the processor, causes the processor 502 to perform an automated test method.
  • the network interface 505 of the computer device 500 is used to perform network communications, such as sending assigned tasks and the like. It will be understood by those skilled in the art that the structure shown in FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied. The specific computer device may More or fewer components are shown in this figure, or some components are combined, or have different component arrangements.
  • the invoking virtual media gateway service comprises:
  • the target service is served as the virtual media gateway.
  • the test channel of the virtual media gateway service and the IVR system is established, including:
  • the processor 502 also performs the following operations when executing the computer program:
  • the currently executed test step is displayed on the preset display interface.
  • the processor 502 also performs the following operations when executing the computer program:
  • Descriptive information about the automated test process is presented through a preset browser page.
  • the embodiment of the computer device shown in FIG. 12 does not constitute a limitation on the specific configuration of the computer device.
  • the computer device may include more or less components of the illustration. Or combine some parts, or different parts.
  • the computer device includes only the memory and the processor. In such an embodiment, the structure and function of the memory and the processor are the same as those of the embodiment shown in FIG. 12, and details are not described herein again.
  • the application provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the methods described herein Automated test methods.
  • the foregoing storage medium of the present application includes: a magnetic disk, an optical disk, a read-only memory (ROM), and the like, which can store various program codes.
  • the units in all the embodiments of the present application may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).
  • the steps in the automated test method of the embodiment of the present application may be sequentially adjusted, merged, and deleted according to actual needs.
  • the units in the automatic testing device of the embodiment of the present application may be combined, divided, and deleted according to actual needs.

Abstract

Disclosed in embodiments of the present application are an automated testing method and apparatus, and a computer device and a storage medium. The method comprises: invoking a virtual media gateway service; initiating a test request to an IVR system by means of the virtual media gateway service; if receiving the confirmation instruction of the IVR system, establishing a test channel between the virtual media gateway service and the IVR system; and performing automatic testing according to the test channel. According to the embodiments of the present application, the time consumed during the test process can be reduced to a great extent, and the test efficiency is improved.

Description

自动化测试方法、装置、计算机设备以及存储介质Automated test method, device, computer device, and storage medium
本申请要求于2018年3月22日提交中国专利局、申请号为CN 201810240229.0、申请名称为“自动化测试方法、装置、计算机设备以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on March 22, 2018, the Chinese Patent Office, the application number is CN 201810240229.0, and the application name is "automated test method, device, computer equipment and storage medium", the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种自动化测试方法、装置、计算机设备以及存储介质。The present application relates to the field of computer technologies, and in particular, to an automated test method, apparatus, computer device, and storage medium.
背景技术Background technique
现有技术中,对于IVR(Interactive Voice Response,交互式语音应答)系统流程的测试没有一个完整的工具去完成,如果通过人工逐个模块进行测试,会导致测试过程非常耗时,效率低下并且工作量非常大;另外,在测试内容非常复杂的时候,若依靠手动测试并整理这些测试结果,整理出来的出错率也特别高。In the prior art, the test of the IVR (Interactive Voice Response) system flow does not have a complete tool to complete. If the test is performed manually by module, the test process is very time consuming, inefficient and workload. Very large; in addition, when the test content is very complicated, if you rely on manual testing and sorting out the test results, the error rate is also very high.
发明内容Summary of the invention
有鉴于此,本申请实施例提供一种自动化测试方法、装置、计算机设备以及存储介质,能够在很大程度上减少测试过程的耗时,并提高测试效率。In view of this, the embodiments of the present application provide an automated test method, apparatus, computer device, and storage medium, which can greatly reduce the time consuming of the testing process and improve the testing efficiency.
一方面,本申请实施例提供了一种自动化测试方法,该方法包括:调用虚拟媒体网关服务;通过虚拟媒体网关服务向IVR系统发起测试请求;若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;根据所述测试通道进行自动化测试。In one aspect, an embodiment of the present application provides an automated testing method, including: invoking a virtual media gateway service; initiating a test request to an IVR system through a virtual media gateway service; and establishing a virtual media gateway if receiving an acknowledgement command from the IVR system Service and test channels of the IVR system; automated testing based on the test channels.
另一方面,本申请实施例提供了一种自动化测试装置,所述装置包括:调用单元,用于调用虚拟媒体网关服务;第一发起单元,用于通过虚拟媒体网关服务向IVR系统发起测试请求;建立单元,用于若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;自动化测试单元,用于根据所述测试通道进行自动化测试。On the other hand, the embodiment of the present application provides an automatic testing device, where the device includes: a calling unit, configured to invoke a virtual media gateway service; and a first initiating unit, configured to initiate a test request to the IVR system through the virtual media gateway service. And a establishing unit, configured to establish a test channel of the virtual media gateway service and the IVR system if receiving the confirmation instruction of the IVR system; and an automated testing unit, configured to perform an automated test according to the test channel.
又一方面,本申请实施例还提供了一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的自动化测试方法。In still another aspect, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program The automated test method as described above is implemented.
再一方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行,以实现如上所述的自动化测试方法。In still another aspect, an embodiment of the present application further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors Executed to implement an automated test method as described above.
本申请实施例所述的自动化测试方法,在很大程度上可以减少测试过程的耗时,并提高测试效率。The automated test method described in the embodiments of the present application can greatly reduce the time consuming of the test process and improve the test efficiency.
附图说明DRAWINGS
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are some embodiments of the present application, For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.
图1是本申请实施例提供的一种自动化测试方法的示意流程图;1 is a schematic flow chart of an automated test method provided by an embodiment of the present application;
图2是本申请实施例提供的一种自动化测试方法的示意流程图;2 is a schematic flow chart of an automated testing method provided by an embodiment of the present application;
图3是本申请实施例提供的一种自动化测试方法的示意流程图;3 is a schematic flow chart of an automated testing method provided by an embodiment of the present application;
图4是本申请另一实施例提供的一种自动化测试方法的示意流程图;4 is a schematic flow chart of an automated test method according to another embodiment of the present application;
图5是本申请实施例提供的一种自动化测试方法的演示示意图;FIG. 5 is a schematic diagram showing a demonstration of an automated test method according to an embodiment of the present application; FIG.
图6是本申请另一实施例提供的一种自动化测试方法的示意流程图;6 is a schematic flow chart of an automated test method according to another embodiment of the present application;
图7是本申请实施例提供的一种自动化测试装置的示意性框图;7 is a schematic block diagram of an automated test apparatus provided by an embodiment of the present application;
图8是本申请实施例提供的一种自动化测试装置的另一示意性框图;FIG. 8 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application; FIG.
图9是本申请实施例提供的一种自动化测试装置的另一示意性框图;FIG. 9 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application; FIG.
图10是本申请实施例提供的一种自动化测试装置的另一示意性框图;FIG. 10 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application; FIG.
图11是本申请实施例提供的一种自动化测试装置的另一示意性框图;11 is another schematic block diagram of an automated test apparatus according to an embodiment of the present application;
图12是本申请实施例提供的一种计算机设备的结构组成示意图。FIG. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部 的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。The use of the terms "comprising", "comprising", "","," The presence or addition of a plurality of other features, integers, steps, operations, elements, components, and/or collections thereof.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。The terminology used herein is for the purpose of describing particular embodiments and is not intended to be limiting. As used in the specification and the appended claims, the claims
请参阅图1,图1为本申请实施例提供的一种自动化测试方法的示意流程图。该方法可以运行在智能手机(如Android手机、IOS手机等)、平板电脑、笔记本电脑以及智能设备等终端中。本申请实施例所述的自动化测试方法,在很大程度上可以减少测试过程的耗时,并提高测试效率。图1是本申请实施例提供的自动化测试方法的示意流程图。该方法包括步骤S101~S104。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of an automated testing method according to an embodiment of the present application. The method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices. The automated test method described in the embodiments of the present application can greatly reduce the time consuming of the test process and improve the test efficiency. FIG. 1 is a schematic flow chart of an automated test method provided by an embodiment of the present application. The method includes steps S101 to S104.
S101,调用虚拟媒体网关服务。在本申请实施例中,自动化测试针对的是IVR(Interactive Voice Response,交互式语音应答)系统,可选的,测试流程包括流程测试过程和媒体测试过程,所述虚拟媒体网关服务用于桥联语音和相应的信令传输,具体的方法是在位于相同或者不同的NAT(Network Address Translation,网络地址转换)或者防火墙之后的多个端点之间进行设置,设置的方法包括手动设置以及自动设置,其中,手动设置为在网络属性对话框中选择“TCP/IP协议”,点击“属性”,在“默认网关”选项卡中填写新的默认网关的IP地址,自动设置为利用DHCP服务器来自动给网络中的设备分配IP地址、子网掩码和默认网关,对于自动设置还可以通过安装代理服务器的方式来自动获取。S101. Call a virtual media gateway service. In the embodiment of the present application, the automated test is directed to an IVR (Interactive Voice Response) system. Optionally, the test process includes a process test process and a media test process, and the virtual media gateway service is used for bridging. Voice and corresponding signaling transmission, the specific method is to set between multiple endpoints located under the same or different NAT (Network Address Translation) or firewall, the setting method includes manual setting and automatic setting. Among them, manually set to select "TCP/IP Protocol" in the network properties dialog box, click "Properties", fill in the IP address of the new default gateway in the "Default Gateway" tab, automatically set to use the DHCP server to automatically give The devices in the network are assigned IP addresses, subnet masks, and default gateways. For automatic settings, they can also be obtained automatically by installing a proxy server.
进一步地,如图2所示,所述步骤S101包括步骤S201~S203。Further, as shown in FIG. 2, the step S101 includes steps S201 to S203.
S201,发送调用指令至虚拟媒体网关。在本申请实施例中,所述调用指令包括有虚拟媒体网关服务的服务标识,当终端需要调用某个虚拟媒体网关服务时,通过发送所述调用指令至虚拟媒体网关,并从该虚拟媒体网关中找到相关的服务。S201: Send a call instruction to the virtual media gateway. In the embodiment of the present application, the calling instruction includes a service identifier of a virtual media gateway service, and when the terminal needs to invoke a virtual media gateway service, sending the calling instruction to the virtual media gateway, and from the virtual media gateway Find related services.
S202,根据所述调用指令从所述虚拟媒体网关中查找满足所述调用指令的目标服务。在本申请实施例中,所述虚拟媒体网关上存有服务列表,在该服务 列表上预设了服务标识与所需服务之间的映射关系,其中,一个服务标识对应一个服务,当终端将服务标识发送至虚拟媒体网关时,根据所发送的服务标识在虚拟媒体网关上的服务列表中查找到与该服务标识唯一对应的服务。S202. Search, according to the call instruction, a target service that satisfies the call instruction from the virtual media gateway. In the embodiment of the present application, the virtual media gateway stores a service list, and a mapping relationship between the service identifier and the required service is preset on the service list, where one service identifier corresponds to one service, and when the terminal When the service identifier is sent to the virtual media gateway, the service corresponding to the service identifier is found in the service list on the virtual media gateway according to the sent service identifier.
S203,将所述目标服务作为所述虚拟媒体网关服务。S203. The target service is served as the virtual media gateway.
S102,通过虚拟媒体网关服务向IVR系统发起测试请求。在本申请实施例中,若调用虚拟媒体网关服务,向IVR系统发起测试请求,该测试请求为HTTP请求,所谓HTTP请求包括消息首行、资源的请求方法、资源标识符以及所使用的协议,具体地,将输入的URL的域名DNS解析出IP地址,通过虚拟媒体网关服务根据这个IP地址和默认80端口与IVR系统建立连接,然后根据这个URL组装成一个get类型的HTTP请求头,通过outputStream.write发送到IVR系统中,可选的,将这个URL组装成的HTTP请求头发送至IVR系统的目标服务器中。S102. A test request is initiated to the IVR system by using a virtual media gateway service. In the embodiment of the present application, if the virtual media gateway service is invoked, a test request is initiated to the IVR system, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a protocol used. Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the virtual media gateway service establishes a connection with the IVR system according to the IP address and the default 80 port, and then assembles into a HTTP request header of the get type according to the URL, through the outputStream. .write is sent to the IVR system. Optionally, the HTTP request header assembled into this URL is sent to the target server of the IVR system.
S103,若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道。在本申请实施例中,在进行测试之前,通过终端(如PC机)建立虚拟媒体网关服务与IVR系统的测试通道,该测试通道可以是针对待测试的IVR系统特定的数据通道,也可以是用于信息传输的通用通道,在本实施例中,所述测试通道可以是图形用户界面,该图形用户界面采用图形方式显示的计算机操作接口,因为与计算机使用的命令行接口相此,图形接口对用户来说在视觉上更加容易接受。S103. If the confirmation command of the IVR system is received, establish a test channel of the virtual media gateway service and the IVR system. In the embodiment of the present application, before the test, the test channel of the virtual media gateway service and the IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be A common channel for information transmission. In this embodiment, the test channel may be a graphical user interface, and the graphical user interface adopts a computer operation interface displayed in a graphical manner, because the graphical interface is used in connection with a command line interface used by the computer. It is visually more acceptable to users.
进一步地,所述步骤S103包括步骤S301~S304。Further, the step S103 includes steps S301 to S304.
S301,确定所述虚拟媒体网关服务中的测试任务源地址。在本申请实施例中,每一个所述虚拟媒体网关服务对应IVR系统的多项测试任务,该测试任务例如随录数据操作、语音播报、收集案件、流程跳转、呼叫转接,每一项测试任务都对应唯一的源地址。S301. Determine a test task source address in the virtual media gateway service. In the embodiment of the present application, each of the virtual media gateway services corresponds to multiple test tasks of the IVR system, such as recording data operations, voice broadcast, collecting cases, process jumps, and call forwarding, each of which Test tasks correspond to unique source addresses.
S302,对所述测试任务源地址进行重构。在本申请实施例中,可以在传统的Portforward table(这里简称PORTFORWARD技术)端口转发、映射技术基础上进行改造,将一个测试任务的源地址进行重新改造;需要说明的是,对测试任务源地址进行重构的方法可以是对旧地址进行替换,将新地址的地址体复制到旧地址的地址体中,以替换掉旧地址的地址体;将所有引用旧地址的地方修改为引用新地址。S302. Reconfigure the test task source address. In the embodiment of the present application, the port forwarding and mapping technologies of the traditional Portforward table (herein referred to as PORTFORWARD technology) may be modified to re-engineer the source address of a test task; the source address of the test task is required to be described. The method of refactoring may be to replace the old address, copy the address body of the new address to the address body of the old address, replace the address body of the old address, and modify all the places that refer to the old address to reference the new address.
S303,创建所述测试任务源地址与所述IVR系统的至少一条测试通道映射关系。在本申请实施例中,通过所述测试任务源地址与目的路由,形成测试任务的一至多个测试通道和源地址的映射,将测试任务的一至多个测试通道和源地址的映射形成至少一条测试通道映射关系。S303. Create a mapping relationship between the test task source address and the at least one test channel of the IVR system. In the embodiment of the present application, the mapping between the one or more test channels and the source address of the test task is formed by using the test task source address and the destination route, and at least one mapping of one or more test channels and source addresses of the test task is formed. Test channel mapping relationships.
S304,根据测试通道映射关系建立所述虚拟媒体网关服务与IVR系统的测试通道。S304. Establish a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
S104,根据所述测试通道进行自动化测试。在本申请实施例中,通过建立的测试通道进行自动化测试,根据IVR系统对虚拟媒体网关服务的请求,对IVR系统的请求进行验证,通过虚拟媒体网关服务将测试人员输入的内容以HTTP请求的方式通过测试通道发送给IVR流程服务,以测试IVR系统中可独立于PBX/CTI等呼叫中心平台核心组件。需要说明的是,根据测试目的还可以进一步控制是否激活测试案例模板生成功能,本例中假设激活测试案例模板生成功能,如果选择关闭对交互过程没有影响,只是后台不再记录该测试案例模板。测试人员调用虚拟媒体网关发起IVR自动测试(例如针对95511-3平安银行IVR服务);虚拟媒体网关模拟进线信息(设置来电号码ANI、随录数据(如:呼叫中心编号、地区编码等));虚拟媒体网关向IVR系统发起HTTP请求;IVR系统响应虚拟媒体网关的请求,并向对虚拟媒体网关的响应中写入请求指令(例如获取随录数据、播报语音、播报语音并收集案件、转接、流程跳转等);虚拟媒体网关获取IVR系统返回的响应后进行解析,从响应中得到IVR系统的请求指令;虚拟媒体网关根据响应信息的指令,进行相应的操作。操作类型通常包括随录数据操作、语音播报、收集案件、流程跳转、呼叫转接等(如果指令为收集用户操作,则虚拟媒体网关会进一步从指令中获取用于播报的提示语音、有效按键(包括有效按键、允许输入的按键个数)、输入超时时间、允许失败的最大次数等。然后根据这些信息用于控制语音播报和输入按键检查。测试人员会听到语音提示,并根据提示在交互界面选择输入相应的数据,如输入客户借记卡卡号);虚拟媒体网关成功的执行了IVR系统请求的指令后,将指令信息、执行结果信息进行相应的加工处理后,缓存起来,用于构成测试案例模板。并将处理结果组织后按照IVR系统的要求,通过HTTP请求方式发送给IVR系统服务;交互测试模式下,会直接与测试人员进行互动,包括媒体功能(语音播报)与交互界面的按键操作。系统在执行过程中会记录关键数据,生成测试报 告,供测试人员查阅。并将过程中缓存的测试案例数据根据测试流程分类写出到测试案例模板相应的存储路径。S104, performing an automated test according to the test channel. In the embodiment of the present application, the test is performed through the established test channel, and the request of the IVR system is verified according to the request of the IVR system for the virtual media gateway service, and the content input by the tester is requested by the HTTP through the virtual media gateway service. The method is sent to the IVR process service through the test channel to test the core components of the IVR system that are independent of the call center platform such as PBX/CTI. It should be noted that, according to the purpose of the test, the test case template generation function may be further controlled. In this example, the test case template generation function is activated. If the selection is closed, the test case template is not recorded in the background. The tester invokes the virtual media gateway to initiate an IVR automatic test (for example, for the 95511-3 Ping An Bank IVR service); the virtual media gateway simulates incoming information (sets the caller number ANI, accompanying data (eg, call center number, area code, etc.)) The virtual media gateway initiates an HTTP request to the IVR system; the IVR system responds to the request of the virtual media gateway and writes a request instruction to the response to the virtual media gateway (eg, acquiring the recorded data, broadcasting the voice, broadcasting the voice, collecting the case, and transferring The virtual media gateway obtains the response returned by the IVR system and parses the response request from the IVR system, and obtains the request instruction of the IVR system from the response; the virtual media gateway performs corresponding operations according to the instruction of the response information. The operation type usually includes the recorded data operation, voice broadcast, collection of cases, process jump, call transfer, etc. (If the instruction is to collect user operations, the virtual media gateway will further obtain the prompt voice and effective button for the broadcast from the instruction. (including the effective button, the number of buttons allowed to enter), the input timeout period, the maximum number of allowed failures, etc. Then use this information to control the voice announcement and input key check. The tester will hear the voice prompt and follow the prompts. The interactive interface selects and inputs the corresponding data, such as inputting the customer debit card number); after the virtual media gateway successfully executes the instruction requested by the IVR system, the instruction information and the execution result information are processed correspondingly, and then cached for use. Form a test case template. The processing results are organized and sent to the IVR system service through the HTTP request method according to the requirements of the IVR system; in the interactive test mode, the test personnel are directly interacted, including the media function (voice broadcast) and the interactive interface key operation. The system records key data during the execution process and generates test reports for review by testers. The test case data cached in the process is written according to the test process to the corresponding storage path of the test case template.
由以上可见,本申请实施例通过调用虚拟媒体网关服务;通过虚拟媒体网关服务向IVR系统发起测试请求;若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;根据所述测试通道进行自动化测试,在很大程度上可以减少测试过程的耗时,并提高测试效率。It can be seen from the above that the embodiment of the present application invokes a virtual media gateway service; initiates a test request to the IVR system through the virtual media gateway service; and if a confirmation command of the IVR system is received, establishes a test channel of the virtual media gateway service and the IVR system; Automated testing of test channels can greatly reduce the time consuming of test procedures and increase test efficiency.
请参阅图4,图4是本申请实施例提供的一种自动化测试方法的示意流程图。该方法可以运行在智能手机(如Android手机、IOS手机等)、平板电脑、笔记本电脑以及智能设备等终端中。如图4所示,该方法包括步骤S401~S406。Please refer to FIG. 4. FIG. 4 is a schematic flow chart of an automated testing method provided by an embodiment of the present application. The method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices. As shown in FIG. 4, the method includes steps S401 to S406.
S401,调用虚拟媒体网关服务。在本申请实施例中,自动化测试针对的是IVR(Interactive Voice Response,交互式语音应答)系统,可选的,测试流程包括流程测试过程和媒体测试过程,所述虚拟媒体网关服务用于桥联语音和相应的信令传输,具体的方法是在位于相同或者不同的NAT(Network Address Translation,网络地址转换)或者防火墙之后的多个端点之间进行设置,设置的方法包括手动设置以及自动设置,其中,手动设置为在网络属性对话框中选择“TCP/IP协议”,点击“属性”,在“默认网关”选项卡中填写新的默认网关的IP地址,自动设置为利用DHCP服务器来自动给网络中的设备分配IP地址、子网掩码和默认网关,对于自动设置还可以通过安装代理服务器的方式来自动获取。S401, calling a virtual media gateway service. In the embodiment of the present application, the automated test is directed to an IVR (Interactive Voice Response) system. Optionally, the test process includes a process test process and a media test process, and the virtual media gateway service is used for bridging. Voice and corresponding signaling transmission, the specific method is to set between multiple endpoints located under the same or different NAT (Network Address Translation) or firewall, the setting method includes manual setting and automatic setting. Among them, manually set to select "TCP/IP Protocol" in the network properties dialog box, click "Properties", fill in the IP address of the new default gateway in the "Default Gateway" tab, automatically set to use the DHCP server to automatically give The devices in the network are assigned IP addresses, subnet masks, and default gateways. For automatic settings, they can also be obtained automatically by installing a proxy server.
S402,通过虚拟媒体网关服务向IVR系统发起测试请求。在本申请实施例中,若调用虚拟媒体网关服务,向IVR系统发起测试请求,该测试请求为HTTP请求,所谓HTTP请求包括消息首行、资源的请求方法、资源标识符以及所使用的协议,具体地,将输入的URL的域名DNS解析出IP地址,通过虚拟媒体网关服务根据这个IP地址和默认80端口与IVR系统建立连接,然后根据这个URL组装成一个get类型的HTTP请求头,通过outputStream.write发送到IVR系统中,可选的,将这个URL组装成的HTTP请求头发送至IVR系统的目标服务器中。S402. Initiate a test request to the IVR system through the virtual media gateway service. In the embodiment of the present application, if the virtual media gateway service is invoked, a test request is initiated to the IVR system, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a protocol used. Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the virtual media gateway service establishes a connection with the IVR system according to the IP address and the default 80 port, and then assembles into a HTTP request header of the get type according to the URL, through the outputStream. .write is sent to the IVR system. Optionally, the HTTP request header assembled into this URL is sent to the target server of the IVR system.
S403,若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道。在本申请实施例中,在进行测试之前,通过终端(如PC机)建立虚拟媒体网关服务与IVR系统的测试通道,该测试通道可以是针对待测试的IVR系统特定的数据通道,也可以是用于信息传输的通用通道,在本实施例中,所 述测试通道可以是图形用户界面,该图形用户界面采用图形方式显示的计算机操作接口,因为与计算机使用的命令行接口相此,图形接口对用户来说在视觉上更加容易接受。S403. If the confirmation command of the IVR system is received, establish a test channel of the virtual media gateway service and the IVR system. In the embodiment of the present application, before the test, the test channel of the virtual media gateway service and the IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be A common channel for information transmission. In this embodiment, the test channel may be a graphical user interface, and the graphical user interface adopts a computer operation interface displayed in a graphical manner, because the graphical interface is used in connection with a command line interface used by the computer. It is visually more acceptable to users.
S404,根据所述测试通道进行自动化测试。在本申请实施例中,通过建立的测试通道进行自动化测试,根据IVR系统对虚拟媒体网关服务的请求,对IVR系统的请求进行验证,通过虚拟媒体网关服务将测试人员输入的内容以HTTP请求的方式通过测试通道发送给IVR流程服务,以测试IVR系统中可独立于PBX/CTI等呼叫中心平台核心组件。需要说明的是,根据测试目的还可以进一步控制是否激活测试案例模板生成功能,本例中假设激活测试案例模板生成功能,如果选择关闭对交互过程没有影响,只是后台不再记录该测试案例模板。测试人员调用虚拟媒体网关发起IVR自动测试例如针对95511-3平安银行IVR服务);虚拟媒体网关模拟进线信息(设置来电号码ANI、随录数据(如:呼叫中心编号、地区编码等));虚拟媒体网关向IVR系统发起HTTP请求;IVR系统响应虚拟媒体网关的请求,并向对虚拟媒体网关的响应中写入请求指令(例如获取随录数据、播报语音、播报语音并收集案件、转接、流程跳转等);虚拟媒体网关获取IVR系统返回的响应后进行解析,从响应中得到IVR系统的请求指令;虚拟媒体网关根据响应信息的指令,进行相应的操作。操作类型通常包括随录数据操作、语音播报、收集案件、流程跳转、呼叫转接等(如果指令为收集用户操作,则虚拟媒体网关会进一步从指令中获取用于播报的提示语音、有效按键(包括有效按键、允许输入的按键个数)、输入超时时间、允许失败的最大次数等。然后根据这些信息用于控制语音播报和输入按键检查。测试人员会听到语音提示,并根据提示在交互界面选择输入相应的数据,如输入客户借记卡卡号);虚拟媒体网关成功的执行了IVR系统请求的指令后,将指令信息、执行结果信息进行相应的加工处理后,缓存起来,用于构成测试案例模板。并将处理结果组织后按照IVR系统的要求,通过HTTP请求方式发送给IVR系统服务;交互测试模式下,会直接与测试人员进行互动,包括媒体功能(语音播报)与交互界面的按键操作。系统在执行过程中会记录关键数据,生成测试报告,供测试人员查阅。并将过程中缓存的测试案例数据根据测试流程分类写出到测试案例模板相应的存储路径。S404, performing an automated test according to the test channel. In the embodiment of the present application, the test is performed through the established test channel, and the request of the IVR system is verified according to the request of the IVR system for the virtual media gateway service, and the content input by the tester is requested by the HTTP through the virtual media gateway service. The method is sent to the IVR process service through the test channel to test the core components of the IVR system that are independent of the call center platform such as PBX/CTI. It should be noted that, according to the purpose of the test, the test case template generation function may be further controlled. In this example, the test case template generation function is activated. If the selection is closed, the test case template is not recorded in the background. The tester invokes the virtual media gateway to initiate an IVR automatic test, for example, for the 95511-3 Ping An Bank IVR service; the virtual media gateway simulates the incoming line information (sets the caller number ANI, the recorded data (eg, call center number, area code, etc.)); The virtual media gateway initiates an HTTP request to the IVR system; the IVR system responds to the request of the virtual media gateway and writes a request instruction to the response to the virtual media gateway (eg, acquiring the recorded data, broadcasting the voice, broadcasting the voice, collecting the case, transferring , the process jump, etc.; the virtual media gateway obtains the response returned by the IVR system, parses, and obtains the request instruction of the IVR system from the response; the virtual media gateway performs corresponding operations according to the instruction of the response information. The operation type usually includes the recorded data operation, voice broadcast, collection of cases, process jump, call transfer, etc. (If the instruction is to collect user operations, the virtual media gateway will further obtain the prompt voice and effective button for the broadcast from the instruction. (including the effective button, the number of buttons allowed to enter), the input timeout period, the maximum number of allowed failures, etc. Then use this information to control the voice announcement and input key check. The tester will hear the voice prompt and follow the prompts. The interactive interface selects and inputs the corresponding data, such as inputting the customer debit card number); after the virtual media gateway successfully executes the instruction requested by the IVR system, the instruction information and the execution result information are processed correspondingly, and then cached for use. Form a test case template. The processing results are organized and sent to the IVR system service through the HTTP request method according to the requirements of the IVR system; in the interactive test mode, the test personnel are directly interacted, including the media function (voice broadcast) and the interactive interface key operation. The system records critical data during the execution process and generates test reports for review by testers. The test case data cached in the process is written according to the test process to the corresponding storage path of the test case template.
S405,若接收到查询指令,发起查询当前执行的测试步骤的请求。在本申 请实施例中,该查询指令可以是用户在终端上输入的查询操作,该查询指令也可以是SQL查询指令,例如SQL查询指令:Select查询语句;在自动化测试过程中,终端可以向IVR系统发起查询请求,该查询请求用于查询测试过程的测试步骤,例如,当前所执行的自动化测试步骤为测试“语音播报”过程,或者当前所执行的自动化测试步骤为测试“呼叫转接”过程等等。S405. If a query instruction is received, initiate a request for querying a currently executed test step. In the embodiment of the present application, the query instruction may be a query operation input by the user on the terminal, and the query instruction may also be an SQL query instruction, such as a SQL query instruction: a Select query statement; in an automated test process, the terminal may refer to the IVR. The system initiates a query request for querying the test steps of the test process, for example, the currently performed automated test step is to test the "voice broadcast" process, or the currently performed automated test step is to test the "call transfer" process and many more.
S406,响应于所述请求,在预设显示界面显示当前执行的测试步骤。在本申请实施例中,该预设显示界面可以是终端当前界面的指定区域,例如可以是终端当前界面的中部,如图5中所示,响应于用户的查询请求,在终端10当前界面G中显示“正在执行呼叫转接过程的测试”,通过显示当前执行的测试步骤,方便用户随时查看并了解自动化测试的过程。S406. In response to the request, the currently executed test step is displayed on the preset display interface. In the embodiment of the present application, the preset display interface may be a designated area of the current interface of the terminal, for example, may be the middle of the current interface of the terminal. As shown in FIG. 5, in response to the query request of the user, the current interface G of the terminal 10 The "Testing of Call Forwarding Process" is displayed, which shows the user's ongoing testing steps, so that users can view and understand the process of automated testing at any time.
请参阅图6,图6是本申请实施例提供的一种自动化测试方法的示意流程图。该方法可以运行在智能手机(如Android手机、IOS手机等)、平板电脑、笔记本电脑以及智能设备等终端中。如图6所示,该方法包括步骤S501~S505。Please refer to FIG. 6. FIG. 6 is a schematic flow chart of an automated testing method provided by an embodiment of the present application. The method can be run on terminals such as smart phones (such as Android phones, IOS phones, etc.), tablets, laptops, and smart devices. As shown in FIG. 6, the method includes steps S501 to S505.
S501,调用虚拟媒体网关服务。在本申请实施例中,自动化测试针对的是IVR(Interactive Voice Response,交互式语音应答)系统,可选的,测试流程包括流程测试过程和媒体测试过程,所述虚拟媒体网关服务用于桥联语音和相应的信令传输,具体的方法是在位于相同或者不同的NAT(Network Address Translation,网络地址转换)或者防火墙之后的多个端点之间进行设置,设置的方法包括手动设置以及自动设置,其中,手动设置为在网络属性对话框中选择“TCP/IP协议”,点击“属性”,在“默认网关”选项卡中填写新的默认网关的IP地址,自动设置为利用DHCP服务器来自动给网络中的设备分配IP地址、子网掩码和默认网关,对于自动设置还可以通过安装代理服务器的方式来自动获取。S501, the virtual media gateway service is invoked. In the embodiment of the present application, the automated test is directed to an IVR (Interactive Voice Response) system. Optionally, the test process includes a process test process and a media test process, and the virtual media gateway service is used for bridging. Voice and corresponding signaling transmission, the specific method is to set between multiple endpoints located under the same or different NAT (Network Address Translation) or firewall, the setting method includes manual setting and automatic setting. Among them, manually set to select "TCP/IP Protocol" in the network properties dialog box, click "Properties", fill in the IP address of the new default gateway in the "Default Gateway" tab, automatically set to use the DHCP server to automatically give The devices in the network are assigned IP addresses, subnet masks, and default gateways. For automatic settings, they can also be obtained automatically by installing a proxy server.
S502,通过虚拟媒体网关服务向IVR系统发起测试请求。在本申请实施例中,若调用虚拟媒体网关服务,向IVR系统发起测试请求,该测试请求为HTTP请求,所谓HTTP请求包括消息首行、资源的请求方法、资源标识符以及所使用的协议,具体地,将输入的URL的域名DNS解析出IP地址,通过虚拟媒体网关服务根据这个IP地址和默认80端口与IVR系统建立连接,然后根据这个URL组装成一个get类型的HTTP请求头,通过outputStream.write发送到IVR系统中,可选的,将这个URL组装成的HTTP请求头发送至IVR系统的目标服务器中。S502. Initiate a test request to the IVR system through the virtual media gateway service. In the embodiment of the present application, if the virtual media gateway service is invoked, a test request is initiated to the IVR system, where the test request is an HTTP request, and the so-called HTTP request includes a message first line, a resource request method, a resource identifier, and a protocol used. Specifically, the domain name DNS of the input URL is parsed out of the IP address, and the virtual media gateway service establishes a connection with the IVR system according to the IP address and the default 80 port, and then assembles into a HTTP request header of the get type according to the URL, through the outputStream. .write is sent to the IVR system. Optionally, the HTTP request header assembled into this URL is sent to the target server of the IVR system.
S503,若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道。在本申请实施例中,在进行测试之前,通过终端(如PC机)建立虚拟媒体网关服务与IVR系统的测试通道,该测试通道可以是针对待测试的IVR系统特定的数据通道,也可以是用于信息传输的通用通道,在本实施例中,所述测试通道可以是图形用户界面,该图形用户界面采用图形方式显示的计算机操作接口,因为与计算机使用的命令行接口相此,图形接口对用户来说在视觉上更加容易接受。S503: If the confirmation command of the IVR system is received, establish a test channel of the virtual media gateway service and the IVR system. In the embodiment of the present application, before the test, the test channel of the virtual media gateway service and the IVR system is established through a terminal (such as a PC), and the test channel may be a specific data channel for the IVR system to be tested, or may be A common channel for information transmission. In this embodiment, the test channel may be a graphical user interface, and the graphical user interface adopts a computer operation interface displayed in a graphical manner, because the graphical interface is used in connection with a command line interface used by the computer. It is visually more acceptable to users.
S504,根据所述测试通道进行自动化测试。在本申请实施例中,通过建立的测试通道进行自动化测试,根据IVR系统对虚拟媒体网关服务的请求,对IVR系统的请求进行验证,通过虚拟媒体网关服务将测试人员输入的内容以HTTP请求的方式通过测试通道发送给IVR流程服务,以测试IVR系统中可独立于PBX/CTI等呼叫中心平台核心组件。需要说明的是,根据测试目的还可以进一步控制是否激活测试案例模板生成功能,本例中假设激活测试案例模板生成功能,如果选择关闭对交互过程没有影响,只是后台不再记录该测试案例模板。测试人员调用虚拟媒体网关发起IVR自动测试例如针对95511-3平安银行IVR服务);虚拟媒体网关模拟进线信息(设置来电号码ANI、随录数据(如:呼叫中心编号、地区编码等));虚拟媒体网关向IVR系统发起HTTP请求;IVR系统响应虚拟媒体网关的请求,并向对虚拟媒体网关的响应中写入请求指令(例如获取随录数据、播报语音、播报语音并收集案件、转接、流程跳转等);虚拟媒体网关获取IVR系统返回的响应后进行解析,从响应中得到IVR系统的请求指令;虚拟媒体网关根据响应信息的指令,进行相应的操作。操作类型通常包括随录数据操作、语音播报、收集案件、流程跳转、呼叫转接等(如果指令为收集用户操作,则虚拟媒体网关会进一步从指令中获取用于播报的提示语音、有效按键(包括有效按键、允许输入的按键个数)、输入超时时间、允许失败的最大次数等。然后根据这些信息用于控制语音播报和输入按键检查。测试人员会听到语音提示,并根据提示在交互界面选择输入相应的数据,如输入客户借记卡卡号);虚拟媒体网关成功的执行了IVR系统请求的指令后,将指令信息、执行结果信息进行相应的加工处理后,缓存起来,用于构成测试案例模板。并将处理结果组织后按照IVR系统的要求,通过HTTP请求方式发送给IVR系统服务;交互测试模式下,会直接与测试人员进行互动,包括媒体功能(语音播 报)与交互界面的按键操作。系统在执行过程中会记录关键数据,生成测试报告,供测试人员查阅。并将过程中缓存的测试案例数据根据测试流程分类写出到测试案例模板相应的存储路径。S504, performing an automated test according to the test channel. In the embodiment of the present application, the test is performed through the established test channel, and the request of the IVR system is verified according to the request of the IVR system for the virtual media gateway service, and the content input by the tester is requested by the HTTP through the virtual media gateway service. The method is sent to the IVR process service through the test channel to test the core components of the IVR system that are independent of the call center platform such as PBX/CTI. It should be noted that, according to the purpose of the test, the test case template generation function may be further controlled. In this example, the test case template generation function is activated. If the selection is closed, the test case template is not recorded in the background. The tester invokes the virtual media gateway to initiate an IVR automatic test, for example, for the 95511-3 Ping An Bank IVR service; the virtual media gateway simulates the incoming line information (sets the caller number ANI, the recorded data (eg, call center number, area code, etc.)); The virtual media gateway initiates an HTTP request to the IVR system; the IVR system responds to the request of the virtual media gateway and writes a request instruction to the response to the virtual media gateway (eg, acquiring the recorded data, broadcasting the voice, broadcasting the voice, collecting the case, transferring , the process jump, etc.; the virtual media gateway obtains the response returned by the IVR system, parses, and obtains the request instruction of the IVR system from the response; the virtual media gateway performs corresponding operations according to the instruction of the response information. The operation type usually includes the recorded data operation, voice broadcast, collection of cases, process jump, call transfer, etc. (If the instruction is to collect user operations, the virtual media gateway will further obtain the prompt voice and effective button for the broadcast from the instruction. (including the effective button, the number of buttons allowed to enter), the input timeout period, the maximum number of allowed failures, etc. Then use this information to control the voice announcement and input key check. The tester will hear the voice prompt and follow the prompts. The interactive interface selects and inputs the corresponding data, such as inputting the customer debit card number); after the virtual media gateway successfully executes the instruction requested by the IVR system, the instruction information and the execution result information are processed correspondingly, and then cached for use. Form a test case template. The processing results are organized and sent to the IVR system service through the HTTP request method according to the requirements of the IVR system; in the interactive test mode, the test personnel are directly interacted, including the media function (voice broadcast) and the interactive interface key operation. The system records critical data during the execution process and generates test reports for review by testers. The test case data cached in the process is written according to the test process to the corresponding storage path of the test case template.
S505,通过预设浏览器页面呈现关于自动化测试过程的描述信息。在本申请实施例中,终端可以接收由IVR系统返回的测试步骤的描述信息,并将这些信息呈现于浏览器页面中。例如,终端可以通过列表的方式在浏览器页面中呈现描述信息,列表中的一行可以包括一个测试步骤的全部描述信息。可选地,终端还可以向IVR系统发起查询当前执行的测试步骤的请求;并响应于IVR系统返回的查询结果,改变当前执行的测试步骤所对应的描述信息的显示效果。S505. Presenting description information about the automated testing process by using a preset browser page. In the embodiment of the present application, the terminal may receive the description information of the test step returned by the IVR system, and present the information in the browser page. For example, the terminal may present the description information in a browser page by means of a list, and one row in the list may include all description information of a test step. Optionally, the terminal may further initiate a request for querying the currently executed test step to the IVR system; and in response to the query result returned by the IVR system, change the display effect of the description information corresponding to the currently executed test step.
请参阅图7,对应上述一种自动化测试方法,本申请实施例还提出一种自动化测试装置,该装置100包括:调用单元101、发起单元102、建立单元103、自动化测试单元104。Referring to FIG. 7 , an embodiment of the present application further provides an automated testing device. The device 100 includes an invoking unit 101 , an initiating unit 102 , an establishing unit 103 , and an automated testing unit 104 .
其中,所述调用单元101,用于调用虚拟媒体网关服务。第一发起单元102,用于通过虚拟媒体网关服务向IVR系统发起测试请求。建立单元103,用于若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道。自动化测试单元104,用于根据所述测试通道进行自动化测试。The calling unit 101 is configured to invoke a virtual media gateway service. The first initiating unit 102 is configured to initiate a test request to the IVR system through the virtual media gateway service. The establishing unit 103 is configured to establish a test channel of the virtual media gateway service and the IVR system if the confirmation command of the IVR system is received. The automated test unit 104 is configured to perform an automated test based on the test channel.
由以上可见,本申请实施例通过调用虚拟媒体网关服务;通过虚拟媒体网关服务向IVR系统发起测试请求;若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;根据所述测试通道进行自动化测试,在很大程度上可以减少测试过程的耗时,并提高测试效率。It can be seen from the above that the embodiment of the present application invokes a virtual media gateway service; initiates a test request to the IVR system through the virtual media gateway service; and if a confirmation command of the IVR system is received, establishes a test channel of the virtual media gateway service and the IVR system; Automated testing of test channels can greatly reduce the time consuming of test procedures and increase test efficiency.
如图8所示,所述调用单元101,包括:发送单元1011,用于发送调用指令至虚拟媒体网关。查找单元1012,用于根据所述调用指令从所述虚拟媒体网关中查找满足所述调用指令的目标服务。执行单元1013,用于将所述目标服务作为所述虚拟媒体网关服务。As shown in FIG. 8, the calling unit 101 includes: a sending unit 1011, configured to send a calling instruction to a virtual media gateway. The searching unit 1012 is configured to search, from the virtual media gateway, the target service that satisfies the calling instruction according to the calling instruction. The executing unit 1013 is configured to serve the target service as the virtual media gateway.
如图9所示,所述建立单元103,包括:确定单元1031,用于确定所述虚拟媒体网关服务中的测试任务源地址。重构单元1032,用于对所述测试任务源地址进行重构。创建单元1033,用于创建所述测试任务源地址与所述IVR系统的至少一条测试通道映射关系。建立子单元1034,用于根据测试通道映射关系建立所述虚拟媒体网关服务与IVR系统的测试通道。As shown in FIG. 9, the establishing unit 103 includes: a determining unit 1031, configured to determine a test task source address in the virtual media gateway service. The reconstruction unit 1032 is configured to reconstruct the test task source address. The creating unit 1033 is configured to create a mapping relationship between the test task source address and the at least one test channel of the IVR system. The establishing subunit 1034 is configured to establish a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
请参阅图10,对应上述一种自动化测试方法,本申请实施例还提出一种自 动化测试装置,该装置200包括:调用单元201、第一发起单元202、建立单元203、自动化测试单元204、第二发起单元205、显示单元206。Referring to FIG. 10 , an embodiment of the present application further provides an automated testing device. The device 200 includes: a calling unit 201 , a first initiating unit 202 , an establishing unit 203 , an automated testing unit 204 , and a second The second initiating unit 205 and the display unit 206.
其中,所述调用单元201,用于调用虚拟媒体网关服务。第一发起单元202,用于通过虚拟媒体网关服务向IVR系统发起测试请求。建立单元203,用于若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道。自动化测试单元204,用于根据所述测试通道进行自动化测试。第二发起单元205,用于若接收到查询指令,发起查询当前执行的测试步骤的请求。显示单元206,用于响应于所述请求,在预设显示界面显示当前执行的测试步骤。The calling unit 201 is configured to invoke a virtual media gateway service. The first initiating unit 202 is configured to initiate a test request to the IVR system through the virtual media gateway service. The establishing unit 203 is configured to establish a test channel of the virtual media gateway service and the IVR system if the confirmation command of the IVR system is received. An automated test unit 204 is configured to perform an automated test based on the test channel. The second initiating unit 205 is configured to initiate a request for querying the currently executed test step if receiving the query instruction. The display unit 206 is configured to display the currently executed test step on the preset display interface in response to the request.
请参阅图11,对应上述一种自动化测试方法,本申请实施例还提出一种自动化测试装置,该装置300包括:调用单元301、第一发起单元302、建立单元303、自动化测试单元304、呈现单元305。Referring to FIG. 11 , corresponding to the above-mentioned one-automatic testing method, an embodiment of the present application further provides an automatic testing device, which includes: a calling unit 301, a first initiating unit 302, an establishing unit 303, an automated testing unit 304, and a rendering Unit 305.
其中,所述调用单元301,用于调用虚拟媒体网关服务。第一发起单元302,用于通过虚拟媒体网关服务向IVR系统发起测试请求。建立单元303,用于若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道。自动化测试单元304,用于根据所述测试通道进行自动化测试。呈现单元305,用于通过预设浏览器页面呈现关于自动化测试过程的描述信息。The calling unit 301 is configured to invoke a virtual media gateway service. The first initiating unit 302 is configured to initiate a test request to the IVR system by using the virtual media gateway service. The establishing unit 303 is configured to establish a test channel of the virtual media gateway service and the IVR system if the confirmation command of the IVR system is received. The automated test unit 304 is configured to perform an automated test according to the test channel. The presentation unit 305 is configured to present description information about the automated testing process by using a preset browser page.
在硬件实现上,以上调用单元101、发起单元102、建立单元103、自动化测试单元104等可以以硬件形式内嵌于或独立于数据处理的装置中,也可以以软件形式存储于数据处理装置的存储器中,以便处理器调用执行以上各个单元对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。In hardware implementation, the above calling unit 101, the initiating unit 102, the establishing unit 103, the automated testing unit 104, and the like may be embedded in the hardware processing device or in a software form, or may be stored in the data processing device in software. In the memory, so that the processor calls to perform the operations corresponding to the above units. The processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
上述自动化测试装置可以实现为一种计算机程序的形式,计算机程序可以在如图12所示的计算机设备上运行。The automated test apparatus described above can be implemented in the form of a computer program that can be run on a computer device as shown in FIG.
图12为本申请一种计算机设备的结构组成示意图。该设备可以是终端,也可以是服务器,其中,终端可以是智能手机、平板电脑、笔记本电脑、台式电脑、个人数字助理和穿戴式装置等具有通信功能的电子装置。服务器可以是独立的服务器,也可以是多个服务器组成的服务器集群。参照图12,该计算机设备500包括通过系统总线501连接的处理器502、非易失性存储介质503、内存储器504和网络接口505。其中,该计算机设备500的非易失性存储介质503可存储操作系统5031和计算机程序5032,该计算机程序5032被执行时,可使得处理器502执行一种自动化测试方法。该计算机设备500的处理器502用于提 供计算和控制能力,支撑整个计算机设备500的运行。该内存储器504为非易失性存储介质503中的计算机程序5032的运行提供环境,该计算机程序被处理器执行时,可使得处理器502执行一种自动化测试方法。计算机设备500的网络接口505用于进行网络通信,如发送分配的任务等。本领域技术人员可以理解,图12中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括此图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 12 is a schematic structural diagram of a computer device according to the present application. The device may be a terminal or a server, wherein the terminal may be a communication device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server can be a standalone server or a server cluster consisting of multiple servers. Referring to FIG. 12, the computer device 500 includes a processor 502, a non-volatile storage medium 503, an internal memory 504, and a network interface 505 connected by a system bus 501. The non-volatile storage medium 503 of the computer device 500 can store an operating system 5031 and a computer program 5032 that, when executed, can cause the processor 502 to perform an automated test method. The processor 502 of the computer device 500 is used to provide computing and control capabilities to support the operation of the entire computer device 500. The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, which when executed by the processor, causes the processor 502 to perform an automated test method. The network interface 505 of the computer device 500 is used to perform network communications, such as sending assigned tasks and the like. It will be understood by those skilled in the art that the structure shown in FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied. The specific computer device may More or fewer components are shown in this figure, or some components are combined, or have different component arrangements.
其中,所述处理器502执行所述计算机程序时实现如下操作:Wherein, when the processor 502 executes the computer program, the following operations are implemented:
调用虚拟媒体网关服务;Calling the virtual media gateway service;
通过虚拟媒体网关服务向IVR系统发起测试请求;Initiating a test request to the IVR system through the virtual media gateway service;
若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;If the confirmation command of the IVR system is received, a test channel of the virtual media gateway service and the IVR system is established;
根据所述测试通道进行自动化测试。Automated testing is performed according to the test channel.
在一个实施例中,所述调用虚拟媒体网关服务,包括:In one embodiment, the invoking virtual media gateway service comprises:
发送调用指令至虚拟媒体网关;Send a call instruction to the virtual media gateway;
根据所述调用指令从所述虚拟媒体网关中查找满足所述调用指令的目标服务;And searching, according to the calling instruction, a target service that satisfies the call instruction from the virtual media gateway;
将所述目标服务作为所述虚拟媒体网关服务。The target service is served as the virtual media gateway.
在一个实施例中,所述若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道,包括:In an embodiment, if the confirmation command of the IVR system is received, the test channel of the virtual media gateway service and the IVR system is established, including:
确定所述虚拟媒体网关服务中的测试任务源地址;Determining a test task source address in the virtual media gateway service;
对所述测试任务源地址进行重构;Reconstructing the test task source address;
创建所述测试任务源地址与所述IVR系统的至少一条测试通道映射关系;Creating a mapping relationship between the test task source address and at least one test channel of the IVR system;
根据测试通道映射关系建立所述虚拟媒体网关服务与IVR系统的测试通道。Establishing a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
在一个实施例中,所述处理器502执行所述计算机程序时还实现如下操作:In one embodiment, the processor 502 also performs the following operations when executing the computer program:
若接收到查询指令,发起查询当前执行的测试步骤的请求;If a query command is received, a request to query the currently executed test step is initiated;
响应于所述请求,在预设显示界面显示当前执行的测试步骤。In response to the request, the currently executed test step is displayed on the preset display interface.
在一个实施例中,所述处理器502执行所述计算机程序时还实现如下操作:In one embodiment, the processor 502 also performs the following operations when executing the computer program:
通过预设浏览器页面呈现关于自动化测试过程的描述信息。Descriptive information about the automated test process is presented through a preset browser page.
本领域技术人员可以理解,图12中示出的计算机设备的实施例并不构成对计算机设备具体构成的限定,在其他实施例中,计算机设备可以包括此图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。例如,在一些实施例中,计算机设备仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图12所示实施例一致,在此不再赘述。It will be understood by those skilled in the art that the embodiment of the computer device shown in FIG. 12 does not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or less components of the illustration. Or combine some parts, or different parts. For example, in some embodiments, the computer device includes only the memory and the processor. In such an embodiment, the structure and function of the memory and the processor are the same as those of the embodiment shown in FIG. 12, and details are not described herein again.
本申请提供了一种计算机可读存储介质,计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行,以实现本申请所述的自动化测试方法。The application provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the methods described herein Automated test methods.
本申请前述的存储介质包括:磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等各种可以存储程序代码的介质。The foregoing storage medium of the present application includes: a magnetic disk, an optical disk, a read-only memory (ROM), and the like, which can store various program codes.
本申请所有实施例中的单元可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The units in all the embodiments of the present application may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit), or by an ASIC (Application Specific Integrated Circuit).
本申请实施例自动化测试方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the automated test method of the embodiment of the present application may be sequentially adjusted, merged, and deleted according to actual needs.
本申请实施例自动化测试装置中的单元可以根据实际需要进行合并、划分和删减。The units in the automatic testing device of the embodiment of the present application may be combined, divided, and deleted according to actual needs.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any equivalents can be easily conceived by those skilled in the art within the technical scope disclosed in the present application. Modifications or substitutions are intended to be included within the scope of the present application. Therefore, the scope of protection of this application should be determined by the scope of protection of the claims.

Claims (20)

  1. 一种自动化测试方法,其特征在于,所述方法包括:An automated test method, characterized in that the method comprises:
    调用虚拟媒体网关服务;Calling the virtual media gateway service;
    通过虚拟媒体网关服务向IVR系统发起测试请求;Initiating a test request to the IVR system through the virtual media gateway service;
    若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;If the confirmation command of the IVR system is received, a test channel of the virtual media gateway service and the IVR system is established;
    根据所述测试通道进行自动化测试。Automated testing is performed according to the test channel.
  2. 如权利要求1所述的方法,其特征在于,所述调用虚拟媒体网关服务,包括:The method of claim 1, wherein the invoking a virtual media gateway service comprises:
    发送调用指令至虚拟媒体网关;Send a call instruction to the virtual media gateway;
    根据所述调用指令从所述虚拟媒体网关中查找满足所述调用指令的目标服务;And searching, according to the calling instruction, a target service that satisfies the call instruction from the virtual media gateway;
    将所述目标服务作为所述虚拟媒体网关服务。The target service is served as the virtual media gateway.
  3. 如权利要求1所述的方法,其特征在于,所述若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道,包括:The method according to claim 1, wherein the receiving the confirmation command of the IVR system, establishing a test channel of the virtual media gateway service and the IVR system, comprising:
    确定所述虚拟媒体网关服务中的测试任务源地址;Determining a test task source address in the virtual media gateway service;
    对所述测试任务源地址进行重构;Reconstructing the test task source address;
    创建所述测试任务源地址与所述IVR系统的至少一条测试通道映射关系;Creating a mapping relationship between the test task source address and at least one test channel of the IVR system;
    根据测试通道映射关系建立所述虚拟媒体网关服务与IVR系统的测试通道。Establishing a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
  4. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    若接收到查询指令,发起查询当前执行的测试步骤的请求;If a query command is received, a request to query the currently executed test step is initiated;
    响应于所述请求,在预设显示界面显示当前执行的测试步骤。In response to the request, the currently executed test step is displayed on the preset display interface.
  5. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    通过预设浏览器页面呈现关于自动化测试过程的描述信息。Descriptive information about the automated test process is presented through a preset browser page.
  6. 一种自动化测试装置,其特征在于,所述装置包括:An automated test device, characterized in that the device comprises:
    调用单元,用于调用虚拟媒体网关服务;a calling unit for calling a virtual media gateway service;
    第一发起单元,用于通过虚拟媒体网关服务向IVR系统发起测试请求;a first initiating unit, configured to initiate a test request to the IVR system by using a virtual media gateway service;
    建立单元,用于若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;Establishing a unit, if receiving an acknowledgement instruction of the IVR system, establishing a test channel of the virtual media gateway service and the IVR system;
    自动化测试单元,用于根据所述测试通道进行自动化测试。An automated test unit for automated testing based on the test channel.
  7. 如权利要求6所述的装置,其特征在于,所述调用单元,包括:The device according to claim 6, wherein the calling unit comprises:
    发送单元,用于发送调用指令至虚拟媒体网关;a sending unit, configured to send a call instruction to the virtual media gateway;
    查找单元,用于根据所述调用指令从所述虚拟媒体网关中查找满足所述调用指令的目标服务;a searching unit, configured to search, according to the calling instruction, a target service that satisfies the calling instruction from the virtual media gateway;
    执行单元,用于将所述目标服务作为所述虚拟媒体网关服务。An execution unit, configured to serve the target service as the virtual media gateway.
  8. 如权利要求6所述的装置,其特征在于,所述建立单元,包括:The device of claim 6, wherein the establishing unit comprises:
    确定单元,用于确定所述虚拟媒体网关服务中的测试任务源地址;a determining unit, configured to determine a test task source address in the virtual media gateway service;
    重构单元,用于对所述测试任务源地址进行重构;a reconstruction unit, configured to reconstruct a source address of the test task;
    创建单元,用于创建所述测试任务源地址与所述IVR系统的至少一条测试通道映射关系;a creating unit, configured to create a mapping relationship between the test task source address and the at least one test channel of the IVR system;
    建立子单元,用于根据测试通道映射关系建立所述虚拟媒体网关服务与IVR系统的测试通道。And establishing a subunit, configured to establish a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
  9. 如权利要求6所述的装置,其特征在于,所述装置还包括:The device of claim 6 wherein said device further comprises:
    第二发起单元,用于若接收到查询指令,发起查询当前执行的测试步骤的请求;a second initiating unit, configured to: if receiving a query instruction, initiate a request for querying a currently executed test step;
    显示单元,用于响应于所述请求,在预设显示界面显示当前执行的测试步骤。And a display unit, configured to display the currently executed test step on the preset display interface in response to the request.
  10. 如权利要求6所述的装置,其特征在于,所述装置还包括:The device of claim 6 wherein said device further comprises:
    呈现单元,用于通过预设浏览器页面呈现关于自动化测试过程的描述信息。a presentation unit for presenting description information about the automated testing process through the preset browser page.
  11. 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如下操作:A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the following operations when the computer program is executed:
    调用虚拟媒体网关服务;Calling the virtual media gateway service;
    通过虚拟媒体网关服务向IVR系统发起测试请求;Initiating a test request to the IVR system through the virtual media gateway service;
    若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;If the confirmation command of the IVR system is received, a test channel of the virtual media gateway service and the IVR system is established;
    根据所述测试通道进行自动化测试。Automated testing is performed according to the test channel.
  12. 如权利要求11所述的计算机设备,其特征在于,所述调用虚拟媒体网关服务,包括:The computer device according to claim 11, wherein the invoking the virtual media gateway service comprises:
    发送调用指令至虚拟媒体网关;Send a call instruction to the virtual media gateway;
    根据所述调用指令从所述虚拟媒体网关中查找满足所述调用指令的目标服务;And searching, according to the calling instruction, a target service that satisfies the call instruction from the virtual media gateway;
    将所述目标服务作为所述虚拟媒体网关服务。The target service is served as the virtual media gateway.
  13. 如权利要求11所述的计算机设备,其特征在于,所述若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道,包括:The computer device according to claim 11, wherein the receiving the confirmation command of the IVR system, establishing a test channel of the virtual media gateway service and the IVR system, comprising:
    确定所述虚拟媒体网关服务中的测试任务源地址;Determining a test task source address in the virtual media gateway service;
    对所述测试任务源地址进行重构;Reconstructing the test task source address;
    创建所述测试任务源地址与所述IVR系统的至少一条测试通道映射关系;Creating a mapping relationship between the test task source address and at least one test channel of the IVR system;
    根据测试通道映射关系建立所述虚拟媒体网关服务与IVR系统的测试通道。Establishing a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
  14. 如权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机程序时还实现如下操作:The computer apparatus according to claim 11, wherein said processor further implements the following operations when said computer program is executed:
    若接收到查询指令,发起查询当前执行的测试步骤的请求;If a query command is received, a request to query the currently executed test step is initiated;
    响应于所述请求,在预设显示界面显示当前执行的测试步骤。In response to the request, the currently executed test step is displayed on the preset display interface.
  15. 如权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机程序时还实现如下操作:The computer apparatus according to claim 11, wherein said processor further implements the following operations when said computer program is executed:
    通过预设浏览器页面呈现关于自动化测试过程的描述信息。Descriptive information about the automated test process is presented through a preset browser page.
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行,以实现如下步骤:A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement the steps of:
    调用虚拟媒体网关服务;Calling the virtual media gateway service;
    通过虚拟媒体网关服务向IVR系统发起测试请求;Initiating a test request to the IVR system through the virtual media gateway service;
    若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道;If the confirmation command of the IVR system is received, a test channel of the virtual media gateway service and the IVR system is established;
    根据所述测试通道进行自动化测试。Automated testing is performed according to the test channel.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述调用虚拟媒体网关服务,包括:The computer readable storage medium of claim 16, wherein the invoking a virtual media gateway service comprises:
    发送调用指令至虚拟媒体网关;Send a call instruction to the virtual media gateway;
    根据所述调用指令从所述虚拟媒体网关中查找满足所述调用指令的目标服务;And searching, according to the calling instruction, a target service that satisfies the call instruction from the virtual media gateway;
    将所述目标服务作为所述虚拟媒体网关服务。The target service is served as the virtual media gateway.
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,所述若接收到IVR系统的确认指令,建立虚拟媒体网关服务与IVR系统的测试通道,包括:The computer readable storage medium according to claim 16, wherein the receiving the confirmation command of the IVR system, establishing a test channel of the virtual media gateway service and the IVR system, comprising:
    确定所述虚拟媒体网关服务中的测试任务源地址;Determining a test task source address in the virtual media gateway service;
    对所述测试任务源地址进行重构;Reconstructing the test task source address;
    创建所述测试任务源地址与所述IVR系统的至少一条测试通道映射关系;Creating a mapping relationship between the test task source address and at least one test channel of the IVR system;
    根据测试通道映射关系建立所述虚拟媒体网关服务与IVR系统的测试通道。Establishing a test channel of the virtual media gateway service and the IVR system according to the test channel mapping relationship.
  19. 如权利要求16所述的计算机可读存储介质,其特征在于,所述一个或者一个以上程序被一个或者一个以上的处理器执行时,还实现如下步骤:The computer readable storage medium of claim 16 wherein when said one or more programs are executed by one or more processors, the steps of:
    若接收到查询指令,发起查询当前执行的测试步骤的请求;If a query command is received, a request to query the currently executed test step is initiated;
    响应于所述请求,在预设显示界面显示当前执行的测试步骤。In response to the request, the currently executed test step is displayed on the preset display interface.
  20. 如权利要求16所述的计算机可读存储介质,其特征在于,所述一个或者一个以上程序被一个或者一个以上的处理器执行时,还实现如下步骤:The computer readable storage medium of claim 16 wherein when said one or more programs are executed by one or more processors, the steps of:
    通过预设浏览器页面呈现关于自动化测试过程的描述信息。Descriptive information about the automated test process is presented through a preset browser page.
PCT/CN2018/101846 2018-03-22 2018-08-23 Automated testing method and apparatus, and computer device and storage medium WO2019179019A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810240229.0 2018-03-22
CN201810240229.0A CN108540674B (en) 2018-03-22 2018-03-22 Automatic testing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2019179019A1 true WO2019179019A1 (en) 2019-09-26

Family

ID=63484127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101846 WO2019179019A1 (en) 2018-03-22 2018-08-23 Automated testing method and apparatus, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN108540674B (en)
WO (1) WO2019179019A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495655B (en) * 2018-11-14 2021-11-16 平安科技(深圳)有限公司 Call center agent line testing method and device, electronic equipment and storage medium
CN109660681A (en) * 2018-12-05 2019-04-19 福建星网智慧软件有限公司 A kind of automated testing method and system of IP-PBX voice broadcast
CN109814916B (en) * 2019-01-04 2023-09-01 平安科技(深圳)有限公司 IVR flow configuration method, device, storage medium and server
CN110392165A (en) * 2019-06-28 2019-10-29 贵阳朗玛信息技术股份有限公司 A kind of method and device of the pressure test of IVR system
CN111078534B (en) * 2019-11-26 2023-06-09 深圳云天励飞技术有限公司 Test scheduling method and related equipment
CN111090587A (en) * 2019-12-11 2020-05-01 中国建设银行股份有限公司 Method, device and equipment for testing production point service and storage medium
CN111885268B (en) * 2020-06-12 2022-03-22 北京百度网讯科技有限公司 Testing method and device for conversation platform, electronic equipment and storage medium
CN114938342A (en) * 2022-01-27 2022-08-23 浙江浩瀚能源科技有限公司 Automatic testing and monitoring method capable of remotely triggering local UI

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783817A (en) * 2004-12-02 2006-06-07 华为技术有限公司 System and method for detecting large volume of medium service
CN101729681A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Automatic testing method, testing terminal and communication system
US8019057B2 (en) * 2005-12-21 2011-09-13 Verizon Business Global Llc Systems and methods for generating and testing interactive voice response applications
US9438729B2 (en) * 2014-08-15 2016-09-06 Accenture Global Services Limited Automated testing of interactive voice response systems

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100380872C (en) * 2002-07-02 2008-04-09 西门子公司 Testing of transmission quality in packet-based networks
US8009811B2 (en) * 2006-11-10 2011-08-30 Verizon Patent And Licensing Inc. Testing and quality assurance of interactive voice response (IVR) applications
CN101383822A (en) * 2008-07-10 2009-03-11 北京邮电大学 Router virtual machine for aviation telecommunication network
CN101437086B (en) * 2008-12-19 2011-11-30 中兴通讯股份有限公司 System and method for implementing voice test
CN103152316A (en) * 2011-12-07 2013-06-12 中兴通讯股份有限公司 Achieving method, device and system for interactive voice response (IVR)
CN203279191U (en) * 2013-04-18 2013-11-06 浙江金之路信息科技有限公司 Multi-system network integrated business monitoring system
CN105791602B (en) * 2014-12-26 2019-12-17 深圳市腾讯计算机系统有限公司 Sound quality testing method and system
CN107493587B (en) * 2016-06-13 2021-04-20 中兴通讯股份有限公司 Media gateway testing method, device and system
CN107819639B (en) * 2016-09-14 2021-12-24 西门子公司 Test method and device
CN106878570A (en) * 2017-03-08 2017-06-20 广州芯德通信科技股份有限公司 A kind of speech business method of testing and system
CN107678956A (en) * 2017-09-22 2018-02-09 郑州云海信息技术有限公司 A kind of server automated test and management system and method
CN107769984B (en) * 2017-12-04 2020-08-28 阳光凯讯(北京)科技有限公司 Low-cost active/standby hot switching system and method based on gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783817A (en) * 2004-12-02 2006-06-07 华为技术有限公司 System and method for detecting large volume of medium service
US8019057B2 (en) * 2005-12-21 2011-09-13 Verizon Business Global Llc Systems and methods for generating and testing interactive voice response applications
CN101729681A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Automatic testing method, testing terminal and communication system
US9438729B2 (en) * 2014-08-15 2016-09-06 Accenture Global Services Limited Automated testing of interactive voice response systems

Also Published As

Publication number Publication date
CN108540674A (en) 2018-09-14
CN108540674B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
WO2019179019A1 (en) Automated testing method and apparatus, and computer device and storage medium
US20060229054A1 (en) Help desk connect
US8848893B2 (en) Method and apparatus for callback processing in telecommunication capability opening
US10477013B1 (en) Systems and methods for providing caller identification over a public switched telephone network
CN108989583B (en) Pressure testing method and system for call center, electronic equipment and storage medium
EP2654281A2 (en) Communication method, system and apparatus
US10044597B2 (en) System and method for processing service requests using logical environments
US9992343B2 (en) Text translation of an audio recording during recording capture
US11379446B1 (en) Session-based data storage for chat-based communication sessions
JP5649840B2 (en) SIP servlet application cohosting
US9923989B2 (en) Customizing network-level settings for a network device on a communication network
JP2018521583A (en) Application implementation method and service controller
US20230032477A1 (en) Call Recording Authentication Using Distributed Transaction Ledgers
CN111246030B (en) Method, device and system for judging number validity
CN114327823A (en) Method, system, terminal and storage medium for calling resources of micro-service cluster
Cisco Release Notes for uOne 6.1(3)
CN113163059A (en) IPPBX performance detection method, terminal device and storage medium
CN113497764A (en) Service routing method, system, computer storage medium and electronic device
Puente Elastix Unified Communications Server Cookbook
WO2019184208A1 (en) Visualization ivr implementation method and apparatus, computer device and storage medium
EP1649393B1 (en) Providing modular telephony service
US7649982B2 (en) Network-test system and method using script command in a server to emulate a tty device and define a tty test case
CN105162861B (en) For establishing the method and server of session communication
CN112134910B (en) Network request debugging method, device, equipment and storage medium
US11818295B1 (en) Lifecyle call routing and management in a customer service representative management computing system with a remote voice processing gateway

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18911223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 12.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18911223

Country of ref document: EP

Kind code of ref document: A1