Profile Run-nbomber
[INTERNAL] Runs an n-bomber stress test for a given microservice method
beam profile run-nbomber <service> <method> [options]
About
[INTERNAL] Runs an n-bomber stress test for a given microservice method
Arguments
Name | Type | Description |
---|---|---|
service | String | The name of the microservice to stress test |
method | String | The method name in the service to stress test |
Options
Name | Type | Description |
---|---|---|
--body | String | The file path containing the json body for each request |
--include-prefix | Boolean | If true, the generated .env file will include the local machine name as prefix |
--include-auth | Boolean | If true, the requests will be given the CLI's auth token |
--rps | Int32 | The requested requests per second for the test |
--duration | Int32 | How long to run the test for |
--auth | String | Include an auth header. This will override the --include-auth flag |
--dryrun | Boolean | Should any networking happen? |
--cid | String | Cid to use; will default to whatever is in the file system |
--pid | String | Pid to use; will default to whatever is in the file system |
--quiet | Boolean | When true, skip input waiting and use defaults |
--host | String | The host endpoint for beamable |
--refresh-token | String | Refresh token to use for the requests |
--log | String | Extra logs gets printed out |
--dir | String | Directory to use for configuration |
--raw | Boolean | Output raw JSON to standard out. This happens by default when the command is being piped |
--pretty | Boolean | Output syntax highlighted box text. This happens by default when the command is not piped |
--dotnet-path | String | a custom location for dotnet |
--version | Boolean | Show version information |
--help | Boolean | Show help and usage information |
Parent Command
Updated about 2 months ago