Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for testing application program interface

An application program interface and test device technology, applied in the computer field, can solve problems such as insufficient and difficult test results correctness, and achieve the effect of avoiding human error, good test correctness, and completely consistent interface and requirement definition.

Inactive Publication Date: 2009-11-11
ALIBABA GRP HLDG LTD
View PDF0 Cites 74 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to provide a method and device for testing the application program interface, to solve the problems existing in the prior art that it is difficult to locate the problems in the test and the correctness of the test results is not enough. The embodiment of the present invention provides the following technical solutions :

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
  • Method and device for testing application program interface
  • Method and device for testing application program interface
  • Method and device for testing application program interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In view of the shortcomings of the efficiency and test quality of the application program interface test scheme in the prior art, the embodiment of the present invention provides a method and system for testing application program interface, and receives the parameter information of the application program through the man-machine interface. According to the communication mode of the interface of the application program, the parameter information is encapsulated into interface test data conforming to the communication mode and sent to the application program; the application program receives the interface test data through the interface, according to the parameters The information is calculated and processed and the processing result is output through the interface; according to the processing result, it is determined whether the interface of the application program is normal.

[0039] In the embodiment of the present invention, the parameter information of the application p...

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 provides a method and a device for testing an application program interface. The method comprises the following steps: the testing device receives the parameter information of an application program by a human-computer interface; the testing device packs the parameter information into interface testing data conforming to a communication mode between the application program interface and the testing device according to the communication mode and transmits the interface testing data to a server in which the application program is arranged; the server receives the interface testing data by the application program interface and carries out calculation processing according to the parameter information; the server transmits a processing result to the testing device; and the testing device receives and displays the processing result by the human-computer interface. By using the method and the device provided by the embodiment of the invention, simple configuration is carried out in a browser to test different interfaces, and favorable test correctness can be achieved.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for testing application program interfaces. Background technique [0002] As various Internet-based application services become more and more popular, there are more and more mutual calls between various Internet service providers. The call of an application program means that the calling program sends variables to the called program, and the called program returns the result to the calling program after calculating according to the variables. Specifically, there are two main ways to call an application: synchronously returning and asynchronously returning, as shown in Figure 1(a) and Figure 1(b), respectively. When the applications of various Internet service providers call each other, the application A and the opposite application B in Figure 1 (a) and Figure 1 (b) belong to different Internet service providers. When it is necessary to test the calling ...

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): G06F11/36H04L12/26
Inventor 王亚宏
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products