Documentation ¶
Overview ¶
Package boomer provides commands to run load tests and display results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boomer ¶
type Boomer struct { // Request URL to check load with RequestURL string // Basic authentication username parameter is needed AuthUsername string // Basic authentication password parameter is needed AuthPassword string // HTTP request body content RequestBody string // HTTP Method (GET, POST, PUT, DELETE) Method string // HTTP request header Header http.Header // N is the total number of requests to make. N int // C is the concurrency level, the number of concurrent workers to run. C int // Qps is the rate limit. Qps int // AllowInsecure is an option to allow insecure TLS/SSL certificates. AllowInsecure bool // DisableCompression is an option to disable compression in response DisableCompression bool // DisableKeepAlives is an option to prevents re-use of TCP connections between different HTTP requests DisableKeepAlives bool // Output represents the output type. If "csv" is provided, the // output will be dumped as a csv stream. Output string // ProxyAddr is the address of HTTP proxy server in the format on "host:port". // Optional. ProxyAddr *url.URL // ReadAll determines whether the body of the response needs // to be fully consumed. ReadAll bool // Connection time, how long to wait for response before closing connection Timeout time.Duration // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.