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

Interface test case generation method and device, equipment and storage medium

A technology of interface testing and test cases, applied in the field of equipment and storage media, interface test case generation methods, and devices, can solve the problems of unsuitable interface test cases and time-consuming problems, so as to improve test efficiency, reduce preparation work, and ensure Effects of Matching and Completeness

Pending Publication Date: 2022-05-06
AGRICULTURAL BANK OF CHINA
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this method improves the generation efficiency of the test case message, it requires the user to provide multiple test case data lines input according to the structure of the request message template, and the analysis and preparation of the early data still need to consume a lot of time. Not suitable for interface test case generation

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 1 It is a flow chart of a method for generating an interface test case provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of generating an interface test case. The method can be executed by an interface test case generation device, which can use software and / or hardware implementation.

[0053] Such as figure 1 As shown, the method specifically includes the following steps:

[0054] Step 110: Receive a test case generation instruction triggered by a user, obtain a target interface document corresponding to the target interface according to the test case generation instruction, and select a target case generation model.

[0055] Wherein, the test case generation instruction may include a case generation instruction and a model selection instruction. The case generation instructions may include interface selection information. Model selection instructions may include reverse case selection information and generate...

Embodiment 2

[0087] The interface test case generation device provided by the embodiment of the present invention can execute the interface test case generation method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. image 3 is a structural block diagram of an interface test case generating device provided in Embodiment 2 of the present invention, as shown in image 3 As shown, the device includes: a target document and template acquisition module 210 , a test type selection information acquisition module 220 , a first target generation quantity determination module 230 , a non-public case parameter generation module 240 and a public case parameter filling module 250 .

[0088] The target document and template acquisition module 210 is used to receive the test case generation instruction triggered by the user, obtain the target interface document corresponding to the target interface according to ...

Embodiment 3

[0112] Figure 4 A structural block diagram of a computer device provided in Embodiment 3 of the present invention, such as Figure 4As shown, the computer device includes a processor 310, a memory 320, an input device 330 and an output device 340; the number of processors 310 in the computer device can be one or more, Figure 4 Take a processor 310 as an example; the processor 310, memory 320, input device 330 and output device 340 in the computer equipment can be connected by bus or other methods, Figure 4 Take connection via bus as an example.

[0113] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the interface test case generation method in the embodiment of the present invention (for example, an interface test case generation device The target document and template acquisition module 210, the test type selection information ac...

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 test case generation method and device, equipment and a storage medium. The method comprises the steps of receiving a test case generation instruction triggered by a user, obtaining a target interface document according to the test case generation instruction, and selecting a target case generation model; obtaining an interface type in the target interface document, and when the interface type is an input interface, obtaining test type selection information input by a user; extracting non-public module associated parameters from the target interface document according to the test type selection information, and determining a target generation number in combination with the test case generation instruction; generating a target generation number group of non-public case parameters in a target case generation model based on the non-public module associated parameters; and extracting common module associated parameters from the target interface document, supplementing common case parameters corresponding to the non-common case parameters according to the common module associated parameters, and generating an interface test case of the target interface. According to the method, the high-quality interface test case can be quickly generated.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of software development, and in particular to a method, device, equipment and storage medium for generating an interface test case. Background technique [0002] In the face of new financial needs and new challenges brought about by technological innovation, the traditional advantage of the banking industry in expanding the market based on the number of physical outlets and hall service quality is declining. Commercial banks are gradually integrating financial technology and building mobile payment services based on online payment. An Internet financial service system with multi-channel integration as the main force and self-service terminals as the auxiliary. The combination of finance and technology is an inevitable trend of development. With the gradual development of the banking business online, the network risks faced are intensifying. The prevention of network risks and the se...

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/3696
Inventor 沙倩慧孟楠楠郑献陈文彬
Owner AGRICULTURAL 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