Enum goose::config::GooseDefault [−][src]
pub enum GooseDefault {
Show 44 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,
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
An optional default host to run this load test against.
An optional default number of users to simulate.
An optional default number of clients to start per second.
An optional default number of seconds for the test to start up.
An optional default number of seconds for the test to run.
An optional default log level.
An optional default for the log file name.
An optional default value for verbosity level.
An optional default for printing running metrics.
An optional default for not resetting metrics after all users started.
An optional default for not tracking metrics.
An optional default for not tracking task metrics.
An optional default for not displaying an error summary.
An optional default for the report file name.
An optional default for the request log file name.
An optional default for the request log file format.
An optional default for logging the request body.
An optional default for the task log file name.
An optional default for the task log file format.
An optional default for the error log file name.
An optional default for the error log format.
An optional default for the debug log file name.
An optional default for the debug log format.
An optional default for not logging the response body in the debug log.
An optional default for not enabling telnet Controller thread.
An optional default for not enabling WebSocket Controller thread.
An optional default for coordinated omission mitigation.
An optional default for not automatically starting load test.
An optional default for not setting the gzip Accept-Encoding header.
An optional default to track additional status code metrics.
An optional default maximum requests per second.
An optional default to follows base_url redirect with subsequent request.
An optional default to enable Manager mode.
An optional default for number of Workers to expect.
An optional default for Manager to ignore load test checksum.
An optional default for host telnet Controller listens on.
An optional default for port telnet Controller listens on.
An optional default for host Websocket Controller listens on.
An optional default for port WebSocket Controller listens on.
An optional default for host Manager listens on.
An optional default for port Manager listens on.
An optional default to enable Worker mode.
An optional default for host Worker connects to.
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self