Software interface combination execution test method based on workflow

A workflow and software interface technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as a large number of interfaces and complex calling links

Pending Publication Date: 2021-09-14
SOUTHEAST UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Applying the idea of ​​interface combination in SOA to interface testing can well deal with the problems of large number of interfaces, frequent interface changes, and complex call links faced by interface testing in the current microservice environment

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
  • Software interface combination execution test method based on workflow
  • Software interface combination execution test method based on workflow
  • Software interface combination execution test method based on workflow

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Embodiment 1: A kind of interface composition execution test method based on workflow, comprises the following steps:

[0034] Step 1) Define the model of the interface to be used, which is used to describe the relevant information of the interface involved in the process, including the name, address, request method and parameters of the interface.

[0035] Step 2) According to the workflow, use the Activiti framework to configure and manage interface combinations;

[0036] Step 3) setting the parameters of the interface process, and inputting the process execution judgment condition;

[0037] Step 4) Execute the interface flow test;

[0038] Step 5) Outputting test results and process information, including the final result of process execution, information of each interface in the execution process, and statistical data.

[0039] Wherein, step 2) is specifically as follows:

[0040] a) According to the business logic of the program, the execution flow of the interf...

specific Embodiment

[0049] Concrete embodiment: a kind of interface composition execution test method based on workflow, comprises the following steps:

[0050] figure 1 The data information and execution steps involved in the method we adopt are given. The execution steps and related data information include: 1. Interface definition, which defines the relevant information of the interface involved in the interface test, such as interface name, path, Parameters and methods; 2. Interface combination, according to the program workflow, arrange and combine the defined interfaces in the form of drawing flow charts; 3. Set parameters, input interface response parameters and execution conditions; 5. Statistical results, output the final execution result of the test interface group and the execution status, input parameters, output results and other information of each interface during the execution process.

[0051] The above steps are described in detail below:

[0052] Step 1) Interface definition....

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 software interface combination execution test method based on a workflow, which comprises the following steps of using a communication and cooperation relationship between internal interfaces of a program to combine processes such as sequence, branch, selection and circulation and complete a group of interfaces of a complete business logic as a test unit, and completing the interface test of the whole program system by carrying out call access test on a group of interfaces. According to the method, business process modeling can be carried out according to a work process, combined arrangement and process configuration are carried out on a plurality of interfaces, and process execution is managed; direct interactive access can be carried out on the verified interface combination, real parameters of a tested object in the running process are obtained, and the running conditions of multiple interfaces for completing a working process in a real running environment are simulated so as to verify indexes such as program function completeness, fault tolerance and stability.

Description

technical field [0001] The invention belongs to the technical field of interface testing in software testing, and relates to an interface combination execution testing method based on workflow. 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. Through interface testing, lower-level problems can be found earlier and test efficiency can be improved. Interface testing brings efficient defect monitoring and quality supervision capabilities to highly complex platforms. The more complex the platform and the larger the system, the more obvious the effect of interface testing. [0003] Interface composition is an idea in SOA architecture...

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/3672G06F11/3688
Inventor 廖力钱超琦李必信王璐璐孔祥龙周颖
Owner SOUTHEAST UNIV
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