Interface testing method and device, equipment and storage medium

An interface testing and interface technology, applied in the field of automatic program design, can solve problems such as difficulty in meeting batch interface testing, low efficiency, etc., and achieve the effect of efficient and comprehensive testing process and reduction of repetitive steps.

Active Publication Date: 2021-08-27
CCB FINTECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The interface automation testing tool has the advantages of a visual interface case writing interface and multi-protocol support. However, when faced with a large number of transaction codes and interface cases, there are many repetitive operations in the creation of interface cases. business system, so as to generate corresponding interface cases on the basis of realizing specific business functions. Therefore, when it is necessary to complete batch interface testing, it is necessary to manually operate the corresponding business systems in order to generate interfaces sequentially when implementing business functions. Case, this process is inefficient and it is difficult to meet the needs of batch interface testing

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, equipment and storage medium
  • Interface testing method and device, equipment and storage medium
  • Interface testing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

test example ,2

[0153] Therefore, the interface testing method provided by the embodiment of this specification has the following beneficial effects: 1) This paper can automatically acquire and add interface cases in batches, which solves the pain point of creating test cases only manually in the past, and automatically generates multiple interfaces through batch import Test case, 2) This article can automatically obtain interface information, which solves the problem that testers cannot know the interface change information in time, 3) This article can automatically build and execute various abnormal scenarios, and check the code program according to the execution feedback results Vulnerabilities, effectively improving the quality of the code.

[0154] Based on the same inventive concept, the embodiment of this specification also provides an interface testing device, such as Image 6 As shown, the device includes:

[0155] An interface test instruction acquisition module 100, configured to ...

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 belongs to the field of automatic programming, and particularly relates to an interface testing method and device, equipment and a storage medium, and the method comprises the steps: obtaining an interface testing instruction which comprises at least one to-be-tested interface and a testing parameter corresponding to each to-be-tested interface; determining a request message template corresponding to each to-be-tested interface according to the to-be-tested interface; generating a request message case corresponding to each to-be-tested interface according to the request message template and the testing parameters; and sequentially executing the request message cases to complete the test of each to-be-tested interface, so that the interface test efficiency can be improved.

Description

technical field [0001] This article belongs to the field of automatic program design, and specifically relates to an interface testing method, device, equipment and storage medium. Background technique [0002] In the prior art, the interface test is actually simulating the caller, and testing the correctness and fault tolerance of the interface under test through interface communication. Simulate the front-end logic on the client and call the interface provided by the server. Interface testing generally includes manual testing and tool automation testing. Manual interface testing generally follows the interface protocol and message format requirements of the system under test, manually using simulation tools to send the tested message, and performing manual or system automatic testing on the received response message. Judgment, the manual test of the interface can be completed. However, when testing next time, due to data constraint requirements, some data used in the las...

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
CPCG06F11/3688G06F11/3692
Inventor 刘耀文蔡启泉曾欣
Owner CCB FINTECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products