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

Interface test method and device

An interface test and interface technology, which is applied in the computer field, can solve the problems of poor reliability of interface test and easy occurrence of missed tests, and achieve the effects of improving reliability, reducing maintenance costs, and avoiding missed tests

Inactive Publication Date: 2017-05-31
GUANGZHOU KUGOU TECH
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems in the prior art that it is impossible to guarantee that all the content in the return value can be verified, the phenomenon of missing test is prone to occur, and the reliability of the interface test is poor, the embodiment of the present invention provides an interface test method and device

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0097] In order to make the purpose, technical solution and advantages of the present invention clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0098] figure 1 is a flowchart of an interface testing method provided by an embodiment of the present invention, such as figure 1 As shown, the method may include:

[0099] Step 101, execute the test case through the interface to be tested, and obtain the target return value.

[0100] Step 102, comparing the content of the target return value with the content of the preset target expectation value, the target expectation value is obtained according to the initial return value obtained by executing the test case and the requirement document of the test case.

[0101] Step 103. According to the comparison result, it is judged whether the interface to be tested is normal.

[0102] To sum up, the interface testing method provided b...

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 and device, and belongs to the technical field of computers. The method comprises the following steps: executing a test case through an interface to be tested to obtain a target return value; comparing a content of the target return value with a content of a preset target expected value, wherein the target expected value is obtained according to an initial return value obtained by executing the test case and a requirement document of the test case; judging whether the interface to be tested is normal or not according to a comparison result. The interface test method disclosed by the invention solves the problems that a missing measure phenomenon is easily caused by the fact that not all the contents in the return value can be verified, and the interface test reliability is relatively low in the prior art, so that the interface test reliability is improved. The interface test method is used for interface testing.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an interface testing method and device. Background technique [0002] Interface testing is a test of the interface between systems. The interface test is mainly used to detect whether the interactive interface between the system and the various subsystems in the system is normal. [0003] In the prior art, automated testing tools such as Postman, Soap UI, and Selenium are usually used to test the interface of the server. Specifically, testers pre-set verification points in automated testing tools according to the preset expectations in the requirements document of a test case (verification points can include a specific keyword (English: key), a specific value (English: value ), the number of occurrences of a certain value, etc.), and then enter the request method, request access address (also known as Uniform Resource Locator (English: Uniform Resource Locator; abbreviation: ...

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 GUANGZHOU KUGOU TECH
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