-
Notifications
You must be signed in to change notification settings - Fork 289
user guide
凝雨 edited this page Sep 7, 2018
·
10 revisions
3.0+
2.5.x, 2.6.x
The plug-in package can be downloaded from github。installation directory ${JMETER_HOME}\lib\ext.
If you're using it jmeter-plugins-dubbo-${version}-jar-with-dependencies.jar
Including all dependencies, I recommend this.
If you're using it jmeter-plugins-dubbo-${version}.jar
dependencies that need to add their own plug-ins,The dependency package version is as follows:
dubbo-2.5.3.jar
javassist-3.15.0-GA.jar
zookeeper-3.4.6.jar
zkclient-0.1.jar
jline-0.9.94.jar
netty-3.7.0-Final.jar
slf4j-api-1.7.5.jar
log4j-over-slf4j-1.7.5.jar
No interface package dependencies are required.
api-jar installation directory ${JMETER_HOME}\lib\ext.
Start Jmeter
, add DubboSample
. such as:
DubboSample
UI such as:
Pass in the necessary parameters.
- Protocol=none, direct connection
- Protocol=zookeeper, use zookeeper registration center
- Protocol=multicast, use multicast registration center
- Protocol=redis, use redis registration center
- Protocol=simple, use simple registration center
- Use register multiple addresses use
","
split, Use direct connected address is providerip:port
-
timeout
:Service method invocation timeout (milliseconds) -
version
:Service version, consistent with service provider version -
retries
:Remote service call retry times, not including the first call, do not need to retry set to 0 -
cluster
:Cluster, optional: failover/failfast/failsafe/failback/forking -
group
: Service grouping, when an interface has multiple implementations, can be distinguished by grouping, and must be consistent with the service provider -
interface
:Full name of the class - Parameters support any type, base type use:
int、float、shot、double、long、byte、boolean、char
, Custom classes use the full name of the class - Parameter values, Base types use values directly, Class use json data.
- More Dubbo parameters -> http://dubbo.apache.org/books/dubbo-user-book/references/xml/dubbo-reference.html
- Getting Started
- Communication
- Information