Read ReadMe.txt (the contents are as follows, in the compressed package.)
Build a new benchmark project, such as demo.benchmark
Import the your own interface api jar and dubbo.benchmark.jar (Unzip dubbo.benchmark.tar.gz, under the lib directory )
Create a new class to implement AbstractClientRunnable
public Object invoke(ServiceFactory serviceFactory) {
DemoService demoService = (DemoService) serviceFactory.get(DemoService.class);
return demoService.sendRequest("hello");
}
Make your own benchmark project into a jar package, such as demo.benchmark.jar
Put the demo.benchmark.jar and service API jar into directory dubbo.benchmark/lib
Configuring dubbo.properties
Run run.bat(windows) or run.sh(linux)
If you want to test the different versions of Dubbo, you can replace the jar of the Dubbo.