Test method and device

A test method and test equipment technology, applied in the field of communication, can solve the problems of reducing the reusability of Dubbo service programs, and achieve the effect of reducing repeated development and improving reusability

Active Publication Date: 2018-04-13
BANK OF CHINA
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, for each Dubbo service interface, it is necessary to repeatedly develop the release registration program of Dubbo service, thereby reducing the reusability of Dubbo service program

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The embodiment of the present application is applicable to a test system, such as figure 1 As shown, the test system at least includes a device 11 , a registration center 12 and a system under test 13 . Among them, the device 11 is used to decouple the Dubbo service call from the Dubbo service release registration. Specifically, the device 11 defines the Dubbo service of the Dubbo service interface, obtains the service mapping definition information, and then, the device 11 registers the Dubbo service with the registration center according to the Dubbo definition name in the service mapping definition information. To sum up, the device can release and register the Dubbo service in advance according to the service mapping definition information, and the Dubbo service can be called arbitrarily after the release and registration. That is to say, Dubbo service call and Dubbo service release registration have been decoupled.

[0019] The device 11 is also used to simulate ...

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 provides a test method and device for solving the problem that as the release and registration of Dubbo service and Dubbo service calling are generally coupled in the same program, eachDubbo service interface needs to develop a Dubbo service program, each Dubbo service interface needs to repeatedly develop a Dubbo service release and registration program, thus reducing the reusability of the Dubbo service program. The method comprises the following steps: obtaining service mapping definition information, and registering the Dubbo service in a registration center according to theDubbo definition name in the service mapping definition information. The method is suitable for a test system.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a testing method and equipment. Background technique [0002] Dubbo is a set of distributed open service framework, which includes registration center, service consumer, service provider, service running container and call monitoring center. The program running on the above framework is the Dubbo service program. In order to ensure the normal operation of the Dubbo service program, it is necessary to test the Dubbo service interface. When testing the Dubbo service interface, a Dubbo service program corresponding to the Dubbo service interface needs to be developed and tested through the Dubbo service program. The specific testing process is as follows: firstly, start the service provider, and make the service provider connect to the registration center, and publish and register the Dubbo service to the Dubbo service interface. Then, start the service consu...

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/3672
Inventor 刘继波张嘉清李晓东
Owner BANK OF CHINA
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