Unlock instant, AI-driven research and patent intelligence for your innovation.

Interface automation test method and device, and related product

An interface test and interface technology, which is applied in the field of interface automation test methods, devices and related products, can solve the problems of inability to write assertions, inflexibility, etc., and achieve the requirements of reducing pressure, reducing coding level, and reducing the interaction between people and data Effect

Inactive Publication Date: 2020-05-12
叮当快药科技集团有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Fiddler is simpler than other network debuggers, with convenient operation and clear format display. This tool can also perform interface testing, but it cannot write assertions. It can only use composer to construct HTTP requests. It needs to manually confirm the correctness of the returned results.
[0004] Although there are many interface testing tools, which can meet simple interface testing requirements, none of them can be completely suitable for a project. Different projects have different methods of data processing and business logic processing. To use the tools, you need to be familiar with the operation process , to complete various necessary configurations, not flexible enough

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 automation test method and device, and related product
  • Interface automation test method and device, and related product
  • Interface automation test method and device, and related product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The embodiments disclosed in the present invention are described below through specific specific examples, and those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are only for simple illustration, and are not drawn according to the actual size. The following embodiments will further describe the relevant technical content of the present invention in detail, but the disclosed content is not intended to limit the protection scope of the present invention.

[0028] According to one aspect of the present invention, an interface automation testing m...

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 test method, which comprises the following steps of: (a) reading a test case and an interface parameter related to a first interface in more than one interface, wherein the interface parameter and the test case are independently stored from each other; (b) according to a request method of the first interface, calling a corresponding interface function to execute the test case and the interface parameter so as to obtain a response message; (c) asserting the response message to obtain an assertion result; and (d) generating a test report. The invention further provides an automatic interface testing device and a related product. According to the automatic interface testing method and the device disclosed by the invention, the testing efficiencycan be greatly improved, the requirement on the coding level of testing personnel is greatly reduced, and the workload of the testing personnel is reduced.

Description

technical field [0001] The invention belongs to the field of software testing, in particular to an interface automatic testing method, device and related products. Background technique [0002] Interface testing is a test for testing the interfaces between system components. Interface testing is different from unit testing in traditional development. Interface testing is a comprehensive, efficient and continuous detection and testing of system interfaces from the perspective of users. Interface testing is mainly used to detect the interaction points between external systems and internal subsystems. The focus of testing is to check data exchange, transfer and control management processes, and mutual logical dependencies between systems. The principle of interface testing is to simulate the client sending request data to the server, get response data, and judge the validity of the interface through assertions. With the continuous increase of system complexity, the test cost o...

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/3684
Inventor 王晓杰李桢杨琪翔史静慧
Owner 叮当快药科技集团有限公司