From c76e964937822e36709b6e3078449050ac99fb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Cogolu=C3=A8gnes?= Date: Thu, 15 Dec 2022 10:02:02 +0100 Subject: [PATCH] Document command to use PerfTestMulti from uber JAR It requires a special command because PerfTest is the default main class in the uber JAR packaged by Spring Boot Maven plugin. --- html/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html/README.md b/html/README.md index 602ee8e7..6760be0c 100644 --- a/html/README.md +++ b/html/README.md @@ -32,8 +32,9 @@ to the root folder of the binary distribution and run the following command to start the benchmark: ```bash -java -jar com.rabbitmq.perf.PerfTestMulti -publish-consume-spec.js publish-consume-result.js +java -cp perf-test.jar -Dloader.main=com.rabbitmq.perf.PerfTestMulti \ + org.springframework.boot.loader.PropertiesLauncher \ + publish-consume-spec.js publish-consume-result.js ``` This command will start a benchmark scenario where four producers