Skip to content

/AWS1/CL_SGMPHASE

Defines the traffic pattern.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_initialnumberofusers TYPE /AWS1/SGMINITIALNUMBEROFUSERS /AWS1/SGMINITIALNUMBEROFUSERS

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

iv_spawnrate TYPE /AWS1/SGMSPAWNRATE /AWS1/SGMSPAWNRATE

Specified how many new users to spawn in a minute.

iv_durationinseconds TYPE /AWS1/SGMTRAFFICDURINSECONDS /AWS1/SGMTRAFFICDURINSECONDS

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.


Queryable Attributes

InitialNumberOfUsers

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

Accessible with the following methods

Method Description
GET_INITIALNUMBEROFUSERS() Getter for INITIALNUMBEROFUSERS, with configurable default
ASK_INITIALNUMBEROFUSERS() Getter for INITIALNUMBEROFUSERS w/ exceptions if field has n
HAS_INITIALNUMBEROFUSERS() Determine if INITIALNUMBEROFUSERS has a value

SpawnRate

Specified how many new users to spawn in a minute.

Accessible with the following methods

Method Description
GET_SPAWNRATE() Getter for SPAWNRATE, with configurable default
ASK_SPAWNRATE() Getter for SPAWNRATE w/ exceptions if field has no value
HAS_SPAWNRATE() Determine if SPAWNRATE has a value

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.

Accessible with the following methods

Method Description
GET_DURATIONINSECONDS() Getter for DURATIONINSECONDS, with configurable default
ASK_DURATIONINSECONDS() Getter for DURATIONINSECONDS w/ exceptions if field has no v
HAS_DURATIONINSECONDS() Determine if DURATIONINSECONDS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PHASES

TYPES TT_PHASES TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMPHASE WITH DEFAULT KEY
.