Module Values_1.PhaseSource

Defines the traffic pattern.

Sourcetype nonrec t = {
  1. initialNumberOfUsers : InitialNumberOfUsers.t option;
    (*

    Specifies how many concurrent users to start with. The value should be between 1 and 3.

    *)
  2. spawnRate : SpawnRate.t option;
    (*

    Specified how many new users to spawn in a minute.

    *)
  3. durationInSeconds : TrafficDurationInSeconds.t option;
    (*

    Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds.

    *)
}
Sourceval make : ?initialNumberOfUsers:??? -> ?spawnRate:??? -> ?durationInSeconds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of InitialNumberOfUsers.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