[][src]Struct goose::GooseConfiguration

pub struct GooseConfiguration {
    pub help: bool,
    pub version: bool,
    pub list: bool,
    pub host: String,
    pub users: Option<usize>,
    pub hatch_rate: Option<usize>,
    pub run_time: String,
    pub log_level: u8,
    pub log_file: String,
    pub verbose: u8,
    pub only_summary: bool,
    pub no_reset_metrics: bool,
    pub no_metrics: bool,
    pub no_task_metrics: bool,
    pub metrics_file: String,
    pub metrics_format: String,
    pub debug_file: String,
    pub debug_format: String,
    pub status_codes: bool,
    pub throttle_requests: usize,
    pub sticky_follow: bool,
    pub manager: bool,
    pub expect_workers: Option<u16>,
    pub no_hash_check: bool,
    pub manager_bind_host: String,
    pub manager_bind_port: u16,
    pub worker: bool,
    pub manager_host: String,
    pub manager_port: u16,
}

Options available when launching a Goose load test.

Fields

help: bool

Displays this help

version: bool

Prints version information

list: boolhost: String

Defines host to load test (ie http://10.21.32.33)

users: Option<usize>

Sets concurrent users (default: number of CPUs)

hatch_rate: Option<usize>

Sets per-second user hatch rate (default: 1)

run_time: String

Stops after (30s, 20m, 3h, 1h30m, etc)

log_level: u8

Sets log level (-g, -gg, etc)

log_file: String

Enables log file and sets name

verbose: u8only_summary: bool

Only prints final summary metrics

no_reset_metrics: bool

Doesn't reset metrics after all users have started

no_metrics: bool

Doesn't track metrics

no_task_metrics: bool

Doesn't track task metrics

metrics_file: String

Sets metrics log file name

metrics_format: String

Sets metrics log format (csv, json, raw)

debug_file: String

Sets debug log file name

debug_format: String

Sets debug log format (json, raw)

status_codes: boolthrottle_requests: usize

Sets maximum requests per second

sticky_follow: boolmanager: bool

Enables distributed load test Manager mode

expect_workers: Option<u16>

Sets number of Workers to expect

no_hash_check: bool

Tells Manager to ignore load test checksum

manager_bind_host: String

Sets host Manager listens on (default: 0.0.0.0)

manager_bind_port: u16

Sets port Manager listens on (default: 5115)

worker: bool

Enables distributed load test Worker mode

manager_host: String

Sets host Worker connects to (default: 127.0.0.1)

manager_port: u16

Sets port Worker connects to (default: 5115)

Trait Implementations

impl Clone for GooseConfiguration[src]

impl Debug for GooseConfiguration[src]

impl<'de> Deserialize<'de> for GooseConfiguration[src]

impl Options for GooseConfiguration[src]

impl Serialize for GooseConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,