Enum goose::config::GooseDefault
source · [−]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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
sourcefn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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 moresourcefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresourcefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more