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

Application programming interface testing method, device, electronic equipment and storage medium

A programming interface and application technology, applied in the field of testing, can solve problems such as software system functions cannot be used normally, and achieve the effects of improving testing efficiency, improving usability, and reducing labor costs

Active Publication Date: 2022-06-03
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a new functional module is released using the grayscale test method, the testers of each team only test the API of the functional module they are responsible for, and do not conduct a comprehensive test on the entire software system. After the module is released, some functions of the software system cannot be used normally

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
  • Application programming interface testing method, device, electronic equipment and storage medium
  • Application programming interface testing method, device, electronic equipment and storage medium
  • Application programming interface testing method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 1”、“ test API2” corresponding “ test Embodiment 2”、“ test API3” corresponding “ test Embodiment 3

[0100] In some examples, an application programming interface testing method according to an embodiment of the present invention

[0102] S140, obtain a test case corresponding to each API to be tested in all APIs to be tested.

[0106] In some examples, the hosts include physical hosts or virtual hosts.

[0108] In some examples, when testing each API to be tested, the corresponding test of the API to be tested can be

[0109] For example, assuming that the above-mentioned electronic device tests the creation of the host API, the creation of the host API can be performed on the

[0112] In some examples, after each API to be tested is individually tested, the embodiment of the present invention is shown in FIG. 2 .

[0115] In some examples, the above-mentioned electronic device, in addition to performing individual tests on all APIs to be tested, can also

[0116] In some examples, the plurality of work scenarios include one or more of the following: creating a host scenario, shut...

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

Embodiments of the present invention provide an application programming interface testing method, device, electronic equipment, and storage medium, wherein the method includes: determining multiple working scenarios of the software system to be tested; combining multiple working scenarios to obtain multiple Based on the test cases corresponding to each API to be tested, test all the APIs to be tested corresponding to each combined working scenario, and obtain the test results corresponding to the combined working scenario. By testing all the APIs to be tested corresponding to all combined working scenarios, the combination of the actual working scenarios of the software system to be tested can be combined to realize a comprehensive test of all APIs to be tested in the software system to be tested, thereby ensuring The software system to be tested can be used normally in the combined work scenario. Moreover, since the testing process can be completely carried out in the electronic equipment, the labor cost can be reduced and the testing efficiency can be improved.

Description

Application programming interface testing method, device, electronic device and storage medium technical field The present invention relates to testing technology field, particularly relate to a kind of application programming interface testing method, device, electrical Sub-devices and storage media. Background technique [0002] API (Application Programming Interface, application programming interface) is some predefined The purpose is to provide applications and developers with the ability to access a set of routines based on software or hardware. through the soft The API is adopted in the software system, which can increase the functions of the software system or use the resources of the software system without changing the The source code of the software system. That is, the software system can provide its own services to external programs through APIs. exist After the software system exposes its API, it can attract more developers to develop various creative...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3664
Inventor 蔡志强
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD