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

A method and apparatus for testing a protocol interface

A protocol interface and interface technology, applied in the field of protocol interface testing, can solve the problems of complex format and low test efficiency

Pending Publication Date: 2018-12-18
BEIJING QIANXIN TECH
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is how to solve the problem that the existing method for testing the protocol interface is often due to the relatively complicated format corresponding to the protocol interface to be tested, and the problem of low test 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
  • A method and apparatus for testing a protocol interface
  • A method and apparatus for testing a protocol interface
  • A method and apparatus for testing a protocol interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0035] figure 1 It is a schematic flowchart of a method for testing a protocol interface provided in this embodiment, see figure 1 , the method includes:

[0036] 101: After receiving the request information sent by the server to test the preset interface, obtain the data structure information corresponding to the preset interface from the ...

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 embodiment of the invention discloses a method and a device for testing a protocol interface. After receiving the request information for testing a certain interface, a terminal converts the datastructure information corresponding to the interface into a common second format. The test case for testing the preset interface can be quickly generated through the second format, and then the firstformat of communication between the test case conversion layer support terminal and the server is converted through the format conversion, and the test case is sent to realize the test function. Because the second format can generate test cases efficiently, the test cases generated by the second format can achieve efficient testing, especially when the test cases are batched, the time cost can besignificantly saved.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of protocol interface testing, in particular to a method and device for testing a protocol interface. Background technique [0002] In the field of interface testing technology, some interfaces support special protocols. In the process of testing these interfaces, it is often due to the limited ability of the test equipment to identify the format, or the staff is not familiar with the format supported by this feature protocol, resulting in The testing process is less efficient. For example, gRPC is a service-based protocol, similar to other RPC systems. By default, gRPC uses protocol buffers as the interface definition language (IDL). For a batch of grpc server interfaces to be tested, but due to the complex format of protocol buffers, the efficiency of gRPC protocol interface testing is low. [0003] In the process of implementing the embodiments of the present invention, the inv...

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/3688
Inventor 姚俊晓荣震郭海超高强
Owner BEIJING QIANXIN 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