Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for automatically testing full-process scene of interface

An automated testing, full-process technology, applied in the field of artificial intelligence, can solve problems such as the inability to achieve full-process interface automatic testing

Pending Publication Date: 2021-09-07
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the function test of API interface, there is a kind of scenario. The whole process test involves multiple data interfaces and page interfaces, and there is a front-back dependency relationship between each interface. The process interface test requires multiple parameter transfers. Most of the existing automated test systems need to test the front and rear interfaces separately or by manually passing parameters, which cannot realize the scene-based automatic test of the entire process interface.

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
  • Method and device for automatically testing full-process scene of interface
  • Method and device for automatically testing full-process scene of interface
  • Method and device for automatically testing full-process scene of interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0026] figure 1 It is the process flow of the automatic test method of the interface full process scene in the embodiment of the present invention Figure 1 ,Such as figure 1 As shown, the method includes:

[0027] Step 101: configure the interface documents, test case library and business parameter documents of all interfaces involved in the API interface function test, wherein the interface documents include the test technical parameters of the corresponding interfaces;

[0028] Step 102: Obtain the pre-order interface access sequence list of the interface to be ...

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 a method and device for automatically testing full-process scene of an interface, and belongs to the technical field of artificial intelligence. The method comprises the steps of: configuring an interface document, a test case library and a business parameter document; obtaining a preorder interface access sequence list of a to-be-tested interface from the interface document, obtaining test cases corresponding to preorder interfaces from the test case library, obtaining parameters required by the preorder interfaces from the test cases, the interface document and the business parameter document, and writing the parameters into a reporting message, naming parameters which need to be acquired from messages returned from other interfaces, and writing parameter names into the reporting message; calling the preorder interfaces in sequence, completing parameter acquisition of the preorder interfaces, and storing the parameters in a parameter library according to parameter names; and acquiring the parameters from the test cases, the interface document, the business parameter document and the parameter library, writing the parameters into the reporting message of the to-be-tested interface, calling the to-be-tested interface, and completing the automatic interface test. According to the method and device of the invention, full-process interface scenarized automatic testing can be realized.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, and in particular to a method and device for automatically testing the scene of the whole process of the interface. Background technique [0002] This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] In the function test of API interface, there is a kind of scenario. The whole process test involves multiple data interfaces and page interfaces, and there is a front-back dependency relationship between each interface. Process interface testing requires multiple parameter transfers. Most of the existing automated testing systems need to test the front and rear interfaces separately or manually pass parameters, which cannot realize the scene-based automatic testing of the entire process interface. Contents of t...

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/3684G06F11/3692
Inventor 刘淼宛明晔
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products