-
Notifications
You must be signed in to change notification settings - Fork 0
2.1. beast help
Joaquim Rocha edited this page Sep 30, 2020
·
3 revisions
Displays the help information.
Usage
beast [help]
Example:
$ beast help
the Beast v2.x.x - Stress testing for RESTful APIs
Usage:
beast [help]
beast config <configFile>
beast template [-m <http method>] [url] <templateFile>
beast run (-n <number of requests> | -t <test duration>)
[-c <number of concurrent requests>]
[-config <configFile>] [-data <dataFile>]
[-output <outputFile>] <templateFile>
Where:
config Creates a file with the default parameters to setup HTTP connections
configFile string Name of the file to be created
template Creates a request template file, using user-provided parameters
-m string HTTP method (default "GET")
url string Endpoint to be tested
templateFile string JSON/YAML file with details about the request to test
run Executes a script and presents a report with execution results
-c int Number of concurrent requests (default 1)
-n int Number of requests (can't be used with "-t")
-t int Duration of the test in seconds (can't be used with "-n")
-config string Config file to setup HTTP client
-data string CSV file with data for request generation
-output string CVS file with detailed execution results
templateFile string JSON/YAML file with details about the request to test