Module Values_1.StairsSource

Defines the stairs traffic pattern for an Inference Recommender load test. This pattern type consists of multiple steps where the number of users increases at each step. Specify either the stairs or phases traffic pattern.

Sourcetype nonrec t = {
  1. durationInSeconds : TrafficDurationInSeconds.t option;
    (*

    Defines how long each traffic step should be.

    *)
  2. numberOfSteps : NumberOfSteps.t option;
    (*

    Specifies how many steps to perform during traffic.

    *)
  3. usersPerStep : UsersPerStep.t option;
    (*

    Specifies how many new users to spawn in each step.

    *)
}
Sourceval make : ?durationInSeconds:??? -> ?numberOfSteps:??? -> ?usersPerStep:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of TrafficDurationInSeconds.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t