Enum goose::config::GooseDefault [−][src]
pub enum GooseDefault {
Show 45 variants
Host,
Users,
HatchRate,
StartupTime,
RunTime,
LogLevel,
GooseLog,
Verbose,
RunningMetrics,
NoResetMetrics,
NoMetrics,
NoTaskMetrics,
NoErrorSummary,
ReportFile,
RequestLog,
RequestFormat,
RequestBody,
TaskLog,
TaskFormat,
ErrorLog,
ErrorFormat,
DebugLog,
DebugFormat,
NoDebugBody,
NoTelnet,
NoWebSocket,
CoordinatedOmissionMitigation,
NoAutoStart,
Timeout,
NoGzip,
StatusCodes,
ThrottleRequests,
StickyFollow,
Manager,
ExpectWorkers,
NoHashCheck,
TelnetHost,
TelnetPort,
WebSocketHost,
WebSocketPort,
ManagerBindHost,
ManagerBindPort,
Worker,
ManagerHost,
ManagerPort,
}
Expand description
Defines all GooseConfiguration
options that can be programmatically configured with
a custom default.
These custom defaults can be configured using GooseDefaultType::set_default()
.
Variants
Host
An optional default host to run this load test against.
Users
An optional default number of users to simulate.
HatchRate
An optional default number of clients to start per second.
StartupTime
An optional default number of seconds for the test to start up.
RunTime
An optional default number of seconds for the test to run.
LogLevel
An optional default log level.
GooseLog
An optional default for the log file name.
Verbose
An optional default value for verbosity level.
RunningMetrics
An optional default for printing running metrics.
NoResetMetrics
An optional default for not resetting metrics after all users started.
NoMetrics
An optional default for not tracking metrics.
NoTaskMetrics
An optional default for not tracking task metrics.
NoErrorSummary
An optional default for not displaying an error summary.
ReportFile
An optional default for the report file name.
RequestLog
An optional default for the request log file name.
RequestFormat
An optional default for the request log file format.
RequestBody
An optional default for logging the request body.
TaskLog
An optional default for the task log file name.
TaskFormat
An optional default for the task log file format.
ErrorLog
An optional default for the error log file name.
ErrorFormat
An optional default for the error log format.
DebugLog
An optional default for the debug log file name.
DebugFormat
An optional default for the debug log format.
NoDebugBody
An optional default for not logging the response body in the debug log.
NoTelnet
An optional default for not enabling telnet Controller thread.
NoWebSocket
An optional default for not enabling WebSocket Controller thread.
CoordinatedOmissionMitigation
An optional default for coordinated omission mitigation.
NoAutoStart
An optional default for not automatically starting load test.
Timeout
An optional default timeout for all requests, in seconds.
NoGzip
An optional default for not setting the gzip Accept-Encoding header.
StatusCodes
An optional default to track additional status code metrics.
ThrottleRequests
An optional default maximum requests per second.
StickyFollow
An optional default to follows base_url redirect with subsequent request.
Manager
An optional default to enable Manager mode.
ExpectWorkers
An optional default for number of Workers to expect.
NoHashCheck
An optional default for Manager to ignore load test checksum.
TelnetHost
An optional default for host telnet Controller listens on.
TelnetPort
An optional default for port telnet Controller listens on.
WebSocketHost
An optional default for host Websocket Controller listens on.
WebSocketPort
An optional default for port WebSocket Controller listens on.
ManagerBindHost
An optional default for host Manager listens on.
ManagerBindPort
An optional default for port Manager listens on.
Worker
An optional default to enable Worker mode.
ManagerHost
An optional default for host Worker connects to.
ManagerPort
An optional default for port Worker connects to.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GooseDefault
impl Send for GooseDefault
impl Sync for GooseDefault
impl Unpin for GooseDefault
impl UnwindSafe for GooseDefault
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more