Automatic interface test method and device, equipment and storage medium

An automated testing and interface technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as low efficiency, long time spent, and low degree of automation, and achieve improved efficiency, easy maintenance, and automation high degree of effect

Active Publication Date: 2018-08-17
PING AN TECH (SHENZHEN) CO LTD
View PDF3 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, when a certain interface or a certain interface in the interface test needs to be added, deleted or modified, it is necessary to maintain the codes one by one, run the interfaces in postman

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 interface test method and device, equipment and storage medium
  • Automatic interface test method and device, equipment and storage medium
  • Automatic interface test method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the technical problems, technical solutions and beneficial effects to be solved by 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.

[0026] Please refer to figure 1 , which shows a flowchart of an interface automation testing method provided by an embodiment of the present invention.

[0027] Interface testing refers to testing the application program interface (API), including two types: one is the external interface, that is, the call between systems, such as the interface call between the Taobao order system and the payment system; the other is the internal interface , refers to the call of the upper-layer service to the lower-layer service or the call between services. For example, the busi...

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 relates to the field of software test, and provides an automatic interface test method, device and equipment and a storage medium. The method comprises the following steps of: obtaininginterface documents of different interfaces, and automatically generating Json test examples of the different interfaces according to the interface documents; automatically generating a test case template according to the Json test examples, automatically generating a Json test case according to the test case template, and automatically generating a Jmeter test script according to the Json test case; and generating an integration test case according to the Jmeter test script, calling the integration test case through a test tool, triggering the Jmeter test script to carry out test through theintegration test case, and automatically outputting a test result. According to the automatic interface test method, device and equipment and the storage medium, the automation degree of interface test can be improved, and the maintenance of the test cases during the interface modification is convenient.

Description

technical field [0001] The invention belongs to the field of software testing, and more specifically relates to an interface automatic testing method, device, equipment and storage medium. Background technique [0002] Interface testing is a test for testing the interface between system components. It is mainly used to detect the interaction points between external systems and internal subsystems. Mutual logical dependencies, etc. [0003] In the existing technology, when a certain interface or a certain interface in the interface test needs to be added, deleted or modified, it is necessary to maintain the codes one by one, run the interfaces in postman (a tool for automatic interface testing), or import them one by one It takes a long time to execute and see the results in the existing interface testing tools, the degree of automation is not high, and the efficiency is low. Contents of the invention [0004] Aiming at the deficiencies of the prior art, the present inven...

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/36
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
Try Eureka
PatSnap group products