pub enum GooseDefault {
Show 54 variants Host, Users, HatchRate, StartupTime, RunTime, TestPlan, Iterations, Scenarios, LogLevel, GooseLog, Quiet, Verbose, RunningMetrics, NoResetMetrics, NoMetrics, NoTransactionMetrics, NoScenarioMetrics, NoPrintMetrics, NoErrorSummary, ReportFile, NoGranularData, RequestLog, RequestFormat, RequestBody, TransactionLog, TransactionFormat, ScenarioLog, ScenarioFormat, ErrorLog, ErrorFormat, DebugLog, DebugFormat, NoDebugBody, NoTelnet, NoWebSocket, CoordinatedOmissionMitigation, NoAutoStart, Timeout, NoGzip, NoStatusCodes, 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.

TestPlan

An optional default test plan.

Iterations

An optional default number of iterations to run scenarios then exit.

Scenarios

Optional default list of scenarios to run.

LogLevel

An optional default log level.

GooseLog

An optional default for the log file name.

Quiet

An optional default value for quiet level.

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.

NoTransactionMetrics

An optional default for not tracking transaction metrics.

NoScenarioMetrics

An optional default for not tracking scneario metrics.

NoPrintMetrics

An optional default for not displaying metrics at end of load test.

NoErrorSummary

An optional default for not displaying an error summary.

ReportFile

An optional default for the report file name.

NoGranularData

An optional default for the flag that disables granular data in HTML report graphs.

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.

TransactionLog

An optional default for the transaction log file name.

TransactionFormat

An optional default for the transaction log file format.

ScenarioLog

An optional default for the scenario log file name.

ScenarioFormat

An optional default for the scenario 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.

NoStatusCodes

An optional default to not track 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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
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
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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