Unlock instant, AI-driven research and patent intelligence for your innovation.

Interface call test method and apparatus

A technology of interface calling and testing methods, applied in the field of cross-program testing and computer testing, can solve problems such as low efficiency and achieve the effect of improving testing efficiency

Active Publication Date: 2018-07-31
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, it is necessary to provide an interface call testing method and device for the low efficiency of the current method of interface call test through joint debugging test

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interface call test method and apparatus
  • Interface call test method and apparatus
  • Interface call test method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0024] figure 1 An application environment diagram for invoking a test method by an interface in an embodiment. refer to figure 1 , the interface call test method is applied to the interface call test system. The interface call testing system includes a terminal 110, a server 120 and an electronic device 130, and both the terminal 110 and the electronic device 130 are connected to the server 120 through a network. The electronic device 130 may be a terminal or a server.

[0025] Wherein, the terminal 110 is used for running the simulated response message setting program, and the simulated respo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an interface call test method and apparatus. The interface call test method comprises the steps of receiving an interface request message for a simulated interface, sent by asecond program through a network service used for simulating the interface which a first program belongs to, wherein the interface request message is triggered when call of the interface which the first program belongs to by the second program is tested; in response to the interface request message, querying a locally stored simulated response message; and returning the simulated response messageto the second program, thereby enabling the second program to continue processing the simulated response message to continue the test. According to the interface call test method and apparatus provided by the invention, the test efficiency can be improved.

Description

technical field [0001] The invention relates to the technical field of computer testing, in particular to the technical field of cross-program testing, in particular to an interface call testing method and device. Background technique [0002] With the advancement of computer technology, program developers continue to develop new programs, making computer functions more and more diverse. At present, the functions of many programs are no longer independent, and need to call the interface provided by another program through the network to realize their functions. The program here may be a program running on a personal computer, or an application system running on a server. [0003] During the development process, the program needs to be tested to ensure that its functions are perfect before it can be officially launched. At present, when testing a program's call to an external program interface, the joint debugging test can only be performed after the logical functions of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/54G06F11/22
CPCG06F9/548G06F11/2273
Inventor 潘鹏
Owner TENCENT TECH (SHENZHEN) CO LTD