Expand description
A list of things that typically must be imported to write a Goose load test.
Instead of manually importing everything each time you write a Goose load test, you can simply import this prelude as follows:
use goose::prelude::*;
Re-exports
pub use crate::config::GooseDefault;
pub use crate::config::GooseDefaultType;
pub use crate::goose::GooseMethod;
pub use crate::goose::GooseRequest;
pub use crate::goose::GooseUser;
pub use crate::goose::Scenario;
pub use crate::goose::Transaction;
pub use crate::goose::TransactionError;
pub use crate::goose::TransactionFunction;
pub use crate::goose::TransactionResult;
pub use crate::metrics::GooseCoordinatedOmissionMitigation;
pub use crate::metrics::GooseMetrics;
pub use crate::GooseAttack;
pub use crate::GooseError;
pub use crate::GooseScheduler;
Macros
scenario!("foo")
expands toScenario::new("foo")
.transaction!(foo)
expands toTransaction::new(foo)
, but also does some boxing to work around a limitation in the compiler.