Application programming interface automatic test method, system, device and storage medium

An application programming interface, automated testing technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem that the efficiency of API testing cannot be improved, test cases cannot be reused, and test case writing is time-consuming and laborious, etc. problems, to achieve flexible testing and maintenance, improve test efficiency, and improve the effect of reuse
CN107729243AActive Publication Date: 2018-02-23上海携程金融信息服务有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
上海携程金融信息服务有限公司
Publication Date
2018-02-23

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an application programming interface automatic test method, system and device, and a storage medium. The application programming interface automatic test method includes the following steps: obtaining Excel files to be processed; obtaining test case data from the Excel files according to a preset format, wherein the test case data includes a test name corresponding to each test case, an application programming interface service address, an interface name, test modes, test request parameters, and verification methods; and executing each test case according to the test case data. The method simplifies the writing method of the test case, and the tester can complete the the writing method of the test case by only filling in the corresponding position data in Excel, without the need of understanding the code itself. The existing test report of a preset format is modified into the test report corresponding to each test case according to the data in the Excels, which improves the conversion rate of the test case, and improves the reuse rate of the test case through the reuse of the test report.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of interface testing, in particular to an application programming interface automatic testing method, system, equipment and storage medium which simplifies the way of writing test cases and improves testing efficiency. Background technique

[0002] API (Application Programming Interface), that is, application programming interface, also known as application programming interface or application programming interface, is some predefined functions, the purpose of which is to provide applications and developers with access to a set of examples based on certain software or hardware. program without accessing the source code, or understanding the details of the inner workings.

[0003] API testing is to test and verify various aspects of the application programming interface provided by the system, such as calling the application programming interface and verifying whether the expected result can be returned under...

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