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

Interface parameter verification method and device, computer device and storage medium

A technology of interface parameters and verification methods, which is applied in the field of performance testing, can solve problems such as high testing costs, and achieve the effect of saving inspection costs and manual testing costs

Pending Publication Date: 2019-05-17
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of interface testing, it is necessary to test whether the input parameters of the interface are required, that is, to test whether the input parameters of the interface are required. The traditional test method: check the interface performance when the input parameters do not enter content, but when When there are many input parameters in the interface, the test cost is high, and it is also necessary to pay attention to whether the prompt given is correct when the required fields are not filled in; in addition, it is also necessary to test the format verification of the input parameters of the interface. The traditional test method: all Arrange and combine input parameters in various formats to check the interface performance. When there are many input parameters in the interface, the test cost is relatively high, and it is also necessary to pay attention to whether the prompt given when the input parameters do not meet the expected format is correct; moreover, the interface parameters Verification generally does not change frequently, and its regression test is a repetitive work, but it is inevitable

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 parameter verification method and device, computer device and storage medium
  • Interface parameter verification method and device, computer device and storage medium
  • Interface parameter verification method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0044] Interface testing is a type of testing that tests the interfaces between system components. Interface testing is mainly used to detect the interaction points between external systems and internal subsystems. The focus of the test is to check the exchange of data, the process of delivery and control management, and the mutual logical dependencies between the systems. That is, the interface test is to judge whether the interface conforms to or sa...

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 parameter checking method and device, a computer device and a storage medium, which relate to the technical field of performance testing, and save the manual testing cost of interface parameter input filling, the checking cost of giving a prompt when the interface parameter input is not filled and the checking cost of giving the prompt when the interface parameter input format is incorrectly filled. The main technical scheme is characterized by when an interface is tested, obtaining a corresponding parameter class through reflection according to the corresponding relation between an interface path in a preset verification file and a requested parameter class name; obtaining each parameter name contained in the parameter class and an input requirement corresponding to each parameter name through the parameter class, wherein the input requirement comprises information about whether the parameter is required to be filled or not, prompt information given by parameter non-filling corresponding to the parameter, and / or prompt information given by parameter input format information and a parameter format error corresponding to the parameter input format information; and according to the input requirements corresponding to the parameter names respectively, determining whether a result obtained by analyzing the running code passes verification or not.

Description

technical field [0001] The invention relates to the technical field of performance testing, in particular to a verification method, device, computer equipment and storage medium for interface parameters. Background technique [0002] Interface testing is a type of testing that tests the interfaces between system components. Interface testing is mainly used to detect the interaction points between external systems and internal subsystems. The focus of the test is to check the exchange of data, the process of delivery and control management, and the mutual logical dependencies between the systems. [0003] In the process of interface testing, it is necessary to test whether the input parameters of the interface are required, that is, to test whether the input parameters of the interface are required. The traditional test method: check the interface performance when the input parameters do not enter content, but when When there are many input parameters in the interface, the ...

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/36
Inventor 晏水勇
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN