Interface testing method, apparatus, computer device and storage medium

A technology of interface testing and computer programs, applied in the computer field, can solve problems such as low development efficiency, front-end inability to obtain data testing, front-end development process limitations, etc.

Inactive Publication Date: 2019-03-26
PING AN TECH (SHENZHEN) CO LTD
View PDF7 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the background development work is not completed and the data interface is not written, the front-end cannot obtain data from the background through the data interface for testing, so the front-end development process is limited by the background development process
In the traditional method, the front-end can only wait for the background development to be completed before the front-end and back-end interface joint debugging can be performed, resulting in low development efficiency

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, apparatus, computer device and storage medium
  • Interface testing method, apparatus, computer device and storage medium
  • Interface testing method, apparatus, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, and are not intended to limit the present application.

[0048] The interface testing method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. The server 104 receives the Mock test instruction sent by the terminal 102, and the Mock test instruction carries a file identifier. The server 104 acquires the data of the interface to be tested and the Mock interface according to the file identifier. The server 104 generates a test case according to the interface data to be tested and sends the test case...

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 present application relates to a functional test, and provides an interface test method, an apparatus, a computer device, and a storage medium. The method comprises the following steps: receivinga Mock test instruction sent by a terminal, wherein the Mock test instruction carries a file identification; Obtaining the data of the interface to be tested and the Mock interface according to the file identification; Generating a test case according to the interface data to be tested and sending the test case to the terminal; Receiving a request message sent by the terminal, wherein the requestmessage is obtained from the test case by the terminal and generated according to the test information; Calling the Mock interface, generating the Mock data according to the request message and returnit to the terminal to complete the interface test. The method can improve the development efficiency.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an interface testing method, device, computer equipment and storage medium. Background technique [0002] Since the front-end and the back-end are separate and independent during the development process, but after the development of the front-end is completed, it needs to obtain data from the back-end through the data interface for testing and evaluating the front-end products. [0003] However, when the background development work is not completed and the data interface is not written, the front-end cannot obtain data from the background through the data interface for testing, so the front-end development process is limited by the background development process. In the traditional method, the front-end can only wait for the background development to be completed before the front-end and back-end interface joint debugging can be performed, resulting in low development...

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/3664G06F11/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