Dubbo interface test is not as tall as you think

The Dubbo interface test is not as tall as you think!

1. What is Dubbo?

Dubbo is a high-performance and excellent service framework open sourced by Alibaba.

A distributed service framework, high-performance and transparent RPC remote service invocation scheme, and SOA service governance scheme.

The figure below is the evolution of Alibaba's technical solutions, from single application -> application layering -> distributed -> service-oriented

Dubbo interface test is not as tall as you think

 

2. What is the Dubbo interface?

In order to improve efficiency, the R&D team has implemented a set of data interaction protocols for the Dubbo framework, and the interface that uses this protocol to transmit data is the Dubbo interface.

Three, the difference?

What is the difference between Dubbo and http, WebService, and WebSocket interfaces?

First, the interface is the realization of a piece of descendant code, a method, and a function.

For example, the most common login interface:

Dubbo interface test is not as tall as you think

 

This login method may be any of http, Dubbo, WebService interfaces, if the background uses the Dubbo framework, then it is a Dubbo interface.

If the background Apach CXF is a WebService interface.

Fourth, Dubbo infrastructure

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

Five, zookeeper

ZooKeeper is a distributed, open source distributed application coordination service, an open source implementation of Google's Chubby, and an important component of Hadoop and Hbase.

It is a software that provides consistent services for distributed applications.

The functions provided include: configuration maintenance, domain name service, distributed synchronization, group service, etc.

Dubbo recommends using zookeeper as the registration center.

Dubbo interface test is not as tall as you think

 

6. Service provider

Provided by developers and deployed by operation and maintenance personnel.

Seven, serving consumers

Serving consumers is our main method of testing the Dubbo interface. Writing a consumer code test is the most direct way, but for students who have no code foundation or are unfamiliar with the Dubbo framework, it is simply a disaster.

Is there any other way to test it?

Yes, there are currently two ways to allow students without any code foundation to test the Dubbo interface without stress, one is using the jmeter plug-in, and the other is the telnet command we are going to introduce to you today.

1. Check whether the telnet command is available

If it prompts that telnet is not an internal or external command, it means that the operating system has not enabled the telnet service.

As shown in the figure:

Dubbo interface test is not as tall as you think

 

Then we need to turn on the telnet service.

Specific steps: Control Panel->Programs->Programs and Features->Turn Windows features on or off->Check telnet related services.

As shown in the figure:

Dubbo interface test is not as tall as you think

 

2. The telnet command

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

After entering the interface, press Enter and you will see dubbo> indicating that you have successfully connected.

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

 

Dubbo interface test is not as tall as you think

Recommend a software testing learning exchange group: 785128166, there are shared videos, interview guidance, test materials, mind maps, and videos in the group. They are all dry goods, you can download and watch. Mainly share test foundation, interface test, performance test, automated test, TestOps architecture, Jmeter, LoadRunner, Fiddler, MySql, Linux, resume optimization, interview skills, and actual video data of large-scale test projects. Use every minute and every second of your time to learn to improve yourself, and don't use "no time" to conceal your mental laziness! Try hard while you are young, and give your future self an explanation!

Public number: Programmer Erhei, after paying attention, you can receive a large amount of learning materials for free.

Good things should be shared with friends
 
 

Guess you like

Origin blog.csdn.net/weixin_53519100/article/details/114646274