Interface Phase.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Phase.Builder,Phase>, SdkBuilder<Phase.Builder,Phase>, SdkPojo
Enclosing class:
Phase

public static interface Phase.Builder extends SdkPojo, CopyableBuilder<Phase.Builder,Phase>
  • Method Details

    • initialNumberOfUsers

      Phase.Builder initialNumberOfUsers(Integer initialNumberOfUsers)

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

      Parameters:
      initialNumberOfUsers - Specifies how many concurrent users to start with. The value should be between 1 and 3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spawnRate

      Phase.Builder spawnRate(Integer spawnRate)

      Specified how many new users to spawn in a minute.

      Parameters:
      spawnRate - Specified how many new users to spawn in a minute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationInSeconds

      Phase.Builder durationInSeconds(Integer durationInSeconds)

      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.

      Parameters:
      durationInSeconds - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.