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

Novel RPC interface simulation test method

An analog test and interface technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve the problems of usability and correctness of test interfaces, RPC interface is not intuitive enough, Http interface cannot be visualized and easy to test, etc. To achieve the effect of reducing test complexity

Active Publication Date: 2021-11-12
SICHUAN XW BANK CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In summary, the RPC interface is not intuitive enough, and the usability and correctness of the test interface are complicated, and it cannot have the characteristics of visualization and easy testing of the Http interface.

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
  • Novel RPC interface simulation test method
  • Novel RPC interface simulation test method
  • Novel RPC interface simulation test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without...

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 a novel RPC interface simulation test method, and belongs to the technical field of RPC interface test. The method comprises the following steps of 1, configuring environment attributes needed by SOFA-RPC service by a host application, and guaranteeing correctness of a test environment; 2, designing a dependency packet used for enhancing the processing logic of the SOFA-RPC type interface of the Spr ingfox-swagger2; 3, introducing the dependency package in the step 2 into a host application through pom.xml, starting a declaration self-defined annotation on a main class, and configuring an xml file relative path of an RPC service interface in the annotation, so that the dependency package can scan the RPC interface, generate an RPC interface proxy class, and register the RPC interface proxy class into an application Spr ing container; 4, starting an application, accessing a main page of the Spr ingfox-swagger2, displaying the page through an API (Application Program Interface), and checking interface description; and 5, selecting a test interface, inputting a test interface request parameter, clicking to execute calling, and obtaining a response result. According to the invention, the test process of the RPC interface is realized by calling the test process through the HTTP interface, so that the test complexity of the RPC interface is reduced, and the method is suitable for being used by developers and testers.

Description

technical field [0001] The invention belongs to the technical field of RPC interface testing, and in particular relates to a novel RPC interface simulation testing method. Background technique [0002] RPC (Remote Procedure Call) is a protocol that requests services from remote computer programs over the network without knowing the underlying network technology. Specifically, it allows the back-end program to call a process or function in another address space without explicitly encoding the details of this remote call, making it easier to build distributed applications through the RPC framework. [0003] SOFA-RPC is a high-performance, highly scalable, production-level RPC framework independently developed by Ant Financial. Contains various components required to build a financial cloud native architecture, and provides a convenient, code-free, stable, and efficient point-to-point remote service invocation solution for applications. [0004] At present, there are many too...

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): H04L12/26H04L29/08H04L29/06
CPCH04L43/50H04L67/02H04L67/133
Inventor 郭东恒
Owner SICHUAN XW BANK 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