pub struct K6Config {
pub target_url: String,
pub scenario: LoadScenario,
pub duration_secs: u64,
pub max_vus: u32,
pub threshold_percentile: String,
pub threshold_ms: u64,
pub max_error_rate: f64,
pub auth_header: Option<String>,
pub custom_headers: HashMap<String, String>,
pub skip_tls_verify: bool,
}Expand description
Configuration for k6 script generation
Fields§
§target_url: String§scenario: LoadScenario§duration_secs: u64§max_vus: u32§threshold_percentile: String§threshold_ms: u64§max_error_rate: f64§auth_header: Option<String>§custom_headers: HashMap<String, String>§skip_tls_verify: boolAuto Trait Implementations§
impl Freeze for K6Config
impl RefUnwindSafe for K6Config
impl Send for K6Config
impl Sync for K6Config
impl Unpin for K6Config
impl UnwindSafe for K6Config
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more