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

Interface testing method, system, device and storage medium based on database comparison

An interface testing, database technology, applied in the testing field, can solve problems such as heavy workload

Inactive Publication Date: 2018-12-28
PING AN TECH (SHENZHEN) CO LTD
View PDF3 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this workload is relatively large, and for regression testing, it is a lot of manpower investment

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, system, device and storage medium based on database comparison
  • Interface testing method, system, device and storage medium based on database comparison
  • Interface testing method, system, device and storage medium based on database comparison

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0036] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof.

[0037] As a better example, such as figure 1Shown, a kind of interface testi...

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 method, a system, a computer device and a storage medium based on database comparison. The method comprises the following steps: a test interface is created in a user interaction interface, and request parameters of the interface are configured; the content that needs to be parameterized are parameterized in the user interaction interface; the test interface is called to add assertions; the test tool performs test operations, configure database statements and inputs for asserting framework invocations in the configuration file; accurate assertion is accomplished by comparing the return message with the result of database statement query configured in the configuration file. The corresponding test cases are generated one by one by substituting parameter values. Obtain the result and judge the test result one by one, and store the test data, test result and judgment result into the list. The method achieves accurate assertion from business logic,realizes automatic judgment of business logic, reduces manual input of regression test, and improves test efficiency.

Description

technical field [0001] The invention relates to the technical field of testing, in particular to an interface testing method, system, computer equipment and storage medium based on database comparison. Background technique [0002] Interface test is a test between components of the test system, 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. [0003] The Jmeter test tool can simulate HTTP, FTP and other requests, and perform functional and performance tests on open API interfaces. The principle is to build a thread pool, and run the sampler with multiple threads to generate a lot of load. The correctness of the results is verified through assertions during the running process, and the test results are recorded through the listener. The processing work before the request is sent is done through the pre-processor. The response message is processed through the post-processo...

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/36G06F17/30
CPCG06F11/3684G06F11/3688
Inventor 刘琼张卓陈培镇李琦
Owner PING AN TECH (SHENZHEN) 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
Eureka Blog
Learn More
PatSnap group products