Skip to content

Commit c76e964

Browse files
committed
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.
1 parent 803bf09 commit c76e964

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

html/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ to the root folder of the binary distribution and run the following
3232
command to start the benchmark:
3333

3434
```bash
35-
java -jar com.rabbitmq.perf.PerfTestMulti
36-
publish-consume-spec.js publish-consume-result.js
35+
java -cp perf-test.jar -Dloader.main=com.rabbitmq.perf.PerfTestMulti \
36+
org.springframework.boot.loader.PropertiesLauncher \
37+
publish-consume-spec.js publish-consume-result.js
3738
```
3839

3940
This command will start a benchmark scenario where four producers

0 commit comments

Comments
 (0)