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

Interface testing method and device based on automatic parameter recognition, equipment and medium

A technology for automatic identification and interface testing, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc. Effect

Pending Publication Date: 2021-09-17
PINGAN INT SMART CITY TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide an interface testing method, device, equipment and medium based on automatic parameter identification for the problem of low security after the software system goes online

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 testing method and device based on automatic parameter recognition, equipment and medium
  • Interface testing method and device based on automatic parameter recognition, equipment and medium
  • Interface testing method and device based on automatic parameter recognition, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0024] It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.

[0025] figure 1 It is an implementation environment diagram of the interface testing method based on automatic parameter identification provided in one embodiment, such as figure 1 As shown, in this implementation environment, a device 110 and a client 120 are included.

[0026]The device 110 may be a server device, f...

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 discloses an interface testing method and device based on automatic parameter recognition, equipment and a medium. The method comprises the steps: capturing application program interface information generated after triggering a function node when a triggering instruction for the function node in a to-be-tested system is detected; extracting request parameters in the application program interface information; recognizing and outputting the type of the request parameter; recognizing the request parameter according to a preset parameter analyzer and a pre-trained parameter type recognition model, and outputting the type of the request parameter; performing parameterization according to the type of the request parameter to generate a parameterization method, and splicing the parameterization method and the request data to generate a parameterization interface program; and executing the interface program to obtain a test case, binding the test case with the request parameter to generate a to-be-tested interface, and executing the to-be-tested interface to generate a test result. By adopting the method, the testing efficiency of software testing can be improved.

Description

technical field [0001] The invention relates to the technical field of data consistency testing, in particular to an interface testing method, device, equipment and medium based on automatic parameter identification. Background technique [0002] The testing of application programming interfaces in software testing needs to be tested according to the test flow of routine testing, boundary testing, exception testing, and fault testing. Each unit test of the test flow includes many sub-categories. Therefore, the interface testing work is multi-dimensional. Yes, which requires testers to do analysis before testing and prepare test data in advance to ensure more comprehensive coverage. [0003] In the prior art solution, when the application programming interface in the software system code needs to be tested, the application programming interface needs to be converted into an executable interface test program that can automatically cover the test. During the conversion, the te...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688G06F11/3696Y02D10/00
Inventor 陆海鹏
Owner PINGAN INT SMART CITY TECH CO LTD