[][src]Struct goose::GooseConfiguration

pub struct GooseConfiguration {
    pub host: String,
    pub users: Option<usize>,
    pub hatch_rate: usize,
    pub run_time: String,
    pub no_stats: bool,
    pub status_codes: bool,
    pub only_summary: bool,
    pub reset_stats: bool,
    pub list: bool,
    pub verbose: u8,
    pub log_level: u8,
    pub log_file: String,
    pub stats_log_file: String,
    pub stats_log_format: String,
    pub debug_log_file: String,
    pub debug_log_format: String,
    pub throttle_requests: Option<usize>,
    pub sticky_follow: bool,
    pub manager: bool,
    pub no_hash_check: bool,
    pub expect_workers: u16,
    pub manager_bind_host: String,
    pub manager_bind_port: u16,
    pub worker: bool,
    pub manager_host: String,
    pub manager_port: u16,
}

CLI options available when launching a Goose load test.

Fields

host: String

Host to load test, for example: http://10.21.32.33

users: Option<usize>

Number of concurrent Goose users (defaults to available CPUs).

hatch_rate: usize

How many users to spawn per second.

run_time: String

Stop after e.g. (300s, 20m, 3h, 1h30m, etc.).

no_stats: bool

Don't print stats in the console

status_codes: bool

Includes status code counts in console stats

only_summary: bool

Only prints summary stats

reset_stats: bool

Resets statistics once hatching has been completed

list: bool

Shows list of all possible Goose tasks and exits

verbose: u8

Debug level (-v, -vv, -vvv, etc.)

log_level: u8

Log level (-g, -gg, -ggg, etc.)

log_file: String

Log file name

stats_log_file: String

Statistics log file name

stats_log_format: String

Statistics log format ('csv', 'json', or 'raw')

debug_log_file: String

Debug log file name

debug_log_format: String

Debug log format ('json' or 'raw')

throttle_requests: Option<usize>

Throttle (max) requests per second

sticky_follow: bool

User follows redirect of base_url with subsequent requests

manager: bool

Enables manager mode

no_hash_check: bool

Ignore worker load test checksum

expect_workers: u16

Required when in manager mode, how many workers to expect

manager_bind_host: String

Define host manager listens on, formatted x.x.x.x

manager_bind_port: u16

Define port manager listens on

worker: bool

Enables worker mode

manager_host: String

Host manager is running on

manager_port: u16

Port manager is listening on

Trait Implementations

impl Clone for GooseConfiguration[src]

impl Debug for GooseConfiguration[src]

impl Default for GooseConfiguration[src]

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

impl Serialize for GooseConfiguration[src]

impl StructOpt for GooseConfiguration[src]

impl StructOptInternal 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>,