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

Interface automatic test method and device

A technology of automatic testing and testing methods, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of missing test case scenarios, waste of writing time, incomplete test coverage, etc., to improve test execution efficiency and improve Reusability, the effect of increasing test coverage

Pending Publication Date: 2020-11-17
SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, manually writing test cases according to interface documents wastes writing time and may miss basic test case scenarios, resulting in incomplete test coverage

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 automatic test method and device
  • Interface automatic test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0050] figure 1 It is a schematic flow chart of an interface automatic testing method provided by an embodiment of the present application, refer to figure 1 , an interface automatic testing method, comprising:

[0051] S11: Read the interface document information entered by the interface management platform;

[0052] Preferably, the interface management platform adopts the YApi inter...

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 an automatic interface testing method which comprises the following steps: automatically reading interface document information input by an interface management platform, generating a test case according to the interface document information, sending a request to a server side, automatically executing the test case, receiving data returned by the server side, and carryingout response assertion on the data returned by the server side; judging whether the test case reaches expectation or not, and outputting a judgment result. An automatic test scheme is introduced on the basis of a traditional test method, the reusability of part of basic test cases is improved, the test execution efficiency is improved, the situation that basic scene cases are missed is avoided, and the test coverage rate is increased to a certain extent.

Description

technical field [0001] The present application relates to the technical field of interface testing, in particular to an interface automatic testing method and equipment. Background technique [0002] With the introduction of the agile software development process, agile testing has also developed rapidly, and the testing process is increasingly pursuing speed and efficiency. In each iteration of agile software, it takes a lot of time to rewrite test cases and execute test cases. In the prior art, the test method is to write a test case according to the developed interface document and the application-based test method (equivalence class division method, causality method, and error guessing method) combined with the eight elements of the test case. Then perform interface test execution through Jmeter or Postman tools. However, manually writing test cases according to interface documents wastes writing time and may miss basic test case scenarios, resulting in incomplete test...

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/3692G06F11/3688
Inventor 龚林花
Owner SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
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