feat: support multi-machine collaborative distributed load testing #1193

This commit is contained in:
xucong053
2022-03-29 22:10:39 +08:00
committed by 徐聪
parent ab12707fcf
commit 0ab2017f93
29 changed files with 3354 additions and 171 deletions

View File

@@ -21,13 +21,21 @@ hrp boom [flags]
### Options
```
--autostart Starts the test immediately (without disabling the web UI). Use --spawn-count and --spawn-rate to control user count and run time
--cpu-profile string Enable CPU profiling.
--cpu-profile-duration duration CPU profile duration. (default 30s)
--disable-compression Disable compression
--disable-console-output Disable console output.
--disable-keepalive Disable keepalive
--expect-workers int How many workers master should expect to connect before starting the test (only when --autostart is used (default 1)
--expect-workers-max-wait int How many workers master should expect to connect before starting the test (only when --autostart is used
-h, --help help for boom
--loop-count int The specify running cycles for load testing (default -1)
--master master of distributed testing
--master-bind-host string Interfaces (hostname, ip) that hrp master should bind to. Only used when running with --master. Defaults to * (all available interfaces). (default "127.0.0.1")
--master-bind-port int Port that hrp master should bind to. Only used when running with --master. Defaults to 5557. (default 5557)
--master-host string Host or IP address of hrp master for distributed load testing. (default "127.0.0.1")
--master-port int The port to connect to that is used by the hrp master for distributed load testing. (default 5557)
--max-rps int Max RPS that boomer can generate, disabled by default.
--mem-profile string Enable memory profiling.
--mem-profile-duration duration Memory profile duration. (default 30s)
@@ -36,6 +44,7 @@ hrp boom [flags]
--request-increase-rate string Request increase rate, disabled by default. (default "-1")
--spawn-count int The number of users to spawn for load testing (default 1)
--spawn-rate float The rate for spawning users (default 1)
--worker worker of distributed testing
```
### SEE ALSO