mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 10:00:23 +08:00
3.1 KiB
3.1 KiB
hrp boom
run load test with boomer
Synopsis
run yaml/json testcase files for load test
hrp boom [flags]
Examples
$ hrp boom demo.json # run specified json testcase file
$ hrp boom demo.yaml # run specified yaml testcase file
$ hrp boom examples/ # run testcases in specified folder
Options
--auto-start Starts the test immediately. Use --spawn-count and --spawn-rate to control user count and increase rate
--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 (default 120)
-h, --help help for boom
--ignore-quit ignores quit from master (only when --worker is used)
--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-http-address string Interfaces (ip:port) that hrp master should control by user. Only used when running with --master. Defaults to *:9771. (default ":9771")
--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)
--profile string profile for load testing
--prometheus-gateway string Prometheus Pushgateway url.
--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
- hrp - Next-Generation API Testing Solution.
- hrp boom curl - run load test with curl command