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

Parameterized interface test method and device, electronic equipment and storage medium

An interface testing and parameterization technology, applied in the computer field, can solve the problems of complex, repeated test cases, and many test case configurations, so as to achieve the effect of improving performance and speeding up test efficiency.

Pending Publication Date: 2022-03-29
瀚云科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When existing interface testing tools write test cases, there are many scenarios where the returned interface needs to be verified. The traditional method is to obtain the value of the keyword in the returned result and compare it with the expected result. However, due to the type of database There are many, many test case configurations are required, complex, and there are many repeated test cases, so the interface test efficiency needs to be improved

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
  • Parameterized interface test method and device, electronic equipment and storage medium
  • Parameterized interface test method and device, electronic equipment and storage medium
  • Parameterized interface test method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0032] figure 1 A schematic flowchart of a parameterized interface testing method provided in the embodiment of the present application, as shown in figure 1 As shown, the method can be applied to a terminal device (also referred to as an electronic device) and a server; wherein the terminal device can specifically be a smart phone, a tablet computer, a computer, a personal digital assistant (Personal Digital Assistant, PDA), etc.; the server can specifically It can be an application server or a web server. The method includes:

[0033] Step 101: Use an interface testing tool to read interface testing parameters from a preset parameter setting file.

[0034] In the specific implementation process, the interface testing tool can be used to test the input parameters of the interface and the corresp...

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 parameterized interface test method and device, electronic equipment and a storage medium. The method comprises the following steps: reading interface test parameters from a preset parameter setting file by utilizing an interface test tool; adding a test request of a to-be-tested interface by using an interface test tool; executing the test request by using an interface test tool to obtain interface return data; and obtaining a test result of the to-be-tested interface according to the interface test parameters and the interface return data by using a test packet imported into the interface test tool in advance, the test packet including a pre-packaged executable function. The interface test parameters are read from the parameter setting file through the interface test tool, then the test request is added to obtain the interface return data, the test result of the to-be-tested interface is obtained by importing the test pack, and the interface test parameters are parameterized, so that automatic test of the to-be-tested interface is realized, compiling of test cases is simplified, and the test efficiency is improved. And the interface testing efficiency is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, to a parameterized interface testing method, device, electronic equipment and storage medium. Background technique [0002] With the development of Internet technology, more and more products need to meet a series of test requirements before they can go online. Therefore, product testing is particularly important. As a test between test system components, interface testing is used to detect external The interaction points between systems and internal subsystems are mainly used to check the data exchange, transmission and control management process, as well as the mutual logical dependencies between systems. [0003] When existing interface testing tools write test cases, there are many scenarios where the returned interface needs to be verified. The traditional method is to obtain the value of the keyword in the returned result and compare it with the expected result. H...

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/3688
Inventor 何丹何渝君刘维郭子豪程明许振乾熊建军王超段奇舒忠玲
Owner 瀚云科技有限公司