Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Automatic regression testing method based on structural data and REST interface

A technology of structured data and automatic regression, applied in the field of communication technology testing, to achieve the effect of reducing maintenance costs, reducing conversion costs, and low storage costs

Inactive Publication Date: 2017-11-07
QIANXUN SPATIAL INTELLIGENCE INC
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Users can implement this type of automated regression testing by converting test case steps into structured data

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
  • Automatic regression testing method based on structural data and REST interface
  • Automatic regression testing method based on structural data and REST interface

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0040] According to the actual scene of the target system, the present invention provides two standard HTTP request methods, GET and POST, figure 1 It is a flow chart of the present invention, which mainly includes two parts, namely a test case design part and a program processing part. The test case design part is performed by the user, usually a test engineer, who has certain test theory knowledge and can design test cases and output test cases; the program processing part is implemented by SmartRestGo, which processes the structured test data converted from the test cases. Final output test result report. The specific implementation is described as follows:

[0041] 1) Test case design part

[0042] (1) The user conducts test case design and outputs test cases through requirement analysis, based on test theory guidance, usually test engineering methods.

[0043] (2) The test steps involved in the test case are atomic operation steps. Specifically, the test object of the...

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 an automatic regression testing method based on structural data and a REST interface. The automatic regression testing method includes the following steps that 1) test case designing is carried out according to requirement analysis, and a test case containing the atomization step is output; 2) each testing step corresponds to a once REST interface request; 3) outputs in the step 2) are sequentially input into structural data files; 4) a program smartgogo.py is executed for processing the data files in the step 3), a target file is generated, and automatic testing is carried out according to the target file. The atomization step delegates one step of once REST interface calling, and related calling parameters are adopted; the structural data files mentioned by a document adopt YAML formats; the smartgogo.py is the name of a realization program of the method. According tot the automatic regression testing method, a user maintains test data, and does not maintain code logic, the test case is converted into structural test data, and automatic regression testing can be carried out.

Description

technical field [0001] The invention relates to the field of communication technology testing, in particular to an automatic regression testing method based on structured data and a REST interface. Background technique [0002] The REST (Representational State Transfer, Representational State Transfer) interface is a web application server-side interface design style. When a client calls a REST interface, it needs a unique resource identifier URI (UniformResource Identifier, Uniform Resource Identifier), standard HTTP request methods (including GET, POST, PUT, PATCH, DELETE, etc.), and other custom parameters. [0003] GET: Request the specified page information and return the entity body; [0004] POST: Submit data to a specified resource for processing requests (such as submitting a form or uploading a file). Data is included in the request body. POST requests may result in the creation of new resources and / or the modification of existing resources; [0005] PUT: The d...

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/3688
Inventor 姜颖寅
Owner QIANXUN SPATIAL INTELLIGENCE INC
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
Eureka Blog
Learn More
PatSnap group products