Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Jmeter test dubbo interface

Shulou Source: shulou.com Published: 2022-06-03 08:05:36 11月23日 Update

Official website: http://dubbo.io

Construction of dubbo Interface Test Environment

1. Install jdk1.8 and configure environment variables

two。 Download jmeter-plugins-dubbo-2.7.1-jar-with-dependencies.jar and put it in jmeter's lib\ ext directory, restart jmeter, and dubbo sampler will appear in sampler.

3. Start the zookeeper service. Double-click zkServer.cmd under the bin directory

4. Cmd command line to run java-jar dubbo-provider-to-jar-0.0.1-SNAPSHOT.jar

The jar package running above is equivalent to a dubbo interface, and the required information is as follows (ask the developer)

Dubbo service address, port

Interface (with full package name)

Version

Method name

Parameters.

Tags: Interfaces environments directories services runs tests people information parameters variables commands addresses methods versions ports development configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Xiaomi Shulou Technology MySQL OPPO Reno