Skip to content

/AWS1/CL_REVTESTRUN

Represents a single run of a test. Configuration is snapshotted from the test and service at the time the run is started.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_testrunid TYPE /AWS1/REVTESTRUNID /AWS1/REVTESTRUNID

The unique identifier of the test run.

iv_testid TYPE /AWS1/REVTESTID /AWS1/REVTESTID

The identifier of the test that was run.

iv_status TYPE /AWS1/REVTESTRUNSTATUS /AWS1/REVTESTRUNSTATUS

The current status of the test run.

iv_startedat TYPE /AWS1/REVTIMESTAMP /AWS1/REVTIMESTAMP

The timestamp when the test run started.

iv_testtemplatearn TYPE /AWS1/REVSERVICEOWNEDARN /AWS1/REVSERVICEOWNEDARN

The ARN of the test template snapshotted from the test when the run was started.

Optional arguments:

iv_servicearn TYPE /AWS1/REVARN /AWS1/REVARN

The ARN of the service the test run belongs to.

iv_endedat TYPE /AWS1/REVTIMESTAMP /AWS1/REVTIMESTAMP

The timestamp when the test run ended.

it_experiments TYPE /AWS1/CL_REVEXPERIMENTDETAILS=>TT_EXPERIMENTDETAILSLIST TT_EXPERIMENTDETAILSLIST

The AWS Fault Injection Service (AWS FIS) experiments run as part of the test run.

iv_eventcount TYPE /AWS1/REVINTEGER /AWS1/REVINTEGER

The number of events recorded for the test run. Use ListTestRunEvents to retrieve the details.

it_parameters TYPE /AWS1/CL_REVSTRINGLIST_W=>TT_TESTPARAMETERS TT_TESTPARAMETERS

The parameter values used for the test run.

iv_errormessage TYPE /AWS1/REVSTRING /AWS1/REVSTRING

A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.

it_stopconditions TYPE /AWS1/CL_REVSTOPCONDITION=>TT_STOPCONDITIONLIST TT_STOPCONDITIONLIST

The stop conditions snapshotted from the test when the run was started.

io_loggingconfiguration TYPE REF TO /AWS1/CL_REVLOGGINGCONF /AWS1/CL_REVLOGGINGCONF

The logging configuration snapshotted from the test when the run was started.

iv_rolename TYPE /AWS1/REVENTITYNAME /AWS1/REVENTITYNAME

The IAM execution role name snapshotted from the test when the run was started.

io_reportconfiguration TYPE REF TO /AWS1/CL_REVTESTRUNREPORTCONF /AWS1/CL_REVTESTRUNREPORTCONF

The report configuration snapshotted from the service when the run was started.

io_policy TYPE REF TO /AWS1/CL_REVTESTRUNPOLICYSNAP /AWS1/CL_REVTESTRUNPOLICYSNAP

The resilience policy snapshotted from the service when the run was started.

io_reportoutput TYPE REF TO /AWS1/CL_REVREPORTGENERRESULT /AWS1/CL_REVREPORTGENERRESULT

The report generation result for the test run. Present after report generation completes or fails.

iv_regionswitchplanarn TYPE /AWS1/REVARN /AWS1/REVARN

The ARN of the ARC Region switch plan associated with the test run.

iv_regionswitchexecutionid TYPE /AWS1/REVREGIONSWITCHEXECID /AWS1/REVREGIONSWITCHEXECID

The identifier of the ARC Region switch execution detected during the test run.

io_permissionmodel TYPE REF TO /AWS1/CL_REVPERMISSIONMODEL /AWS1/CL_REVPERMISSIONMODEL

The permission model snapshotted from the service when the run was started.

it_regions TYPE /AWS1/CL_REVREGIONLIST_W=>TT_REGIONLIST TT_REGIONLIST

The Regions snapshotted from the service when the run was started.

iv_accounttargeting TYPE /AWS1/REVACCOUNTTARGETING /AWS1/REVACCOUNTTARGETING

Indicates whether this test run targets a single account or multiple accounts.


Queryable Attributes

testRunId

The unique identifier of the test run.

Accessible with the following methods

Method Description
GET_TESTRUNID() Getter for TESTRUNID, with configurable default
ASK_TESTRUNID() Getter for TESTRUNID w/ exceptions if field has no value
HAS_TESTRUNID() Determine if TESTRUNID has a value

testId

The identifier of the test that was run.

Accessible with the following methods

Method Description
GET_TESTID() Getter for TESTID, with configurable default
ASK_TESTID() Getter for TESTID w/ exceptions if field has no value
HAS_TESTID() Determine if TESTID has a value

status

The current status of the test run.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

serviceArn

The ARN of the service the test run belongs to.

Accessible with the following methods

Method Description
GET_SERVICEARN() Getter for SERVICEARN, with configurable default
ASK_SERVICEARN() Getter for SERVICEARN w/ exceptions if field has no value
HAS_SERVICEARN() Determine if SERVICEARN has a value

startedAt

The timestamp when the test run started.

Accessible with the following methods

Method Description
GET_STARTEDAT() Getter for STARTEDAT, with configurable default
ASK_STARTEDAT() Getter for STARTEDAT w/ exceptions if field has no value
HAS_STARTEDAT() Determine if STARTEDAT has a value

endedAt

The timestamp when the test run ended.

Accessible with the following methods

Method Description
GET_ENDEDAT() Getter for ENDEDAT, with configurable default
ASK_ENDEDAT() Getter for ENDEDAT w/ exceptions if field has no value
HAS_ENDEDAT() Determine if ENDEDAT has a value

experiments

The AWS Fault Injection Service (AWS FIS) experiments run as part of the test run.

Accessible with the following methods

Method Description
GET_EXPERIMENTS() Getter for EXPERIMENTS, with configurable default
ASK_EXPERIMENTS() Getter for EXPERIMENTS w/ exceptions if field has no value
HAS_EXPERIMENTS() Determine if EXPERIMENTS has a value

eventCount

The number of events recorded for the test run. Use ListTestRunEvents to retrieve the details.

Accessible with the following methods

Method Description
GET_EVENTCOUNT() Getter for EVENTCOUNT, with configurable default
ASK_EVENTCOUNT() Getter for EVENTCOUNT w/ exceptions if field has no value
HAS_EVENTCOUNT() Determine if EVENTCOUNT has a value

parameters

The parameter values used for the test run.

Accessible with the following methods

Method Description
GET_PARAMETERS() Getter for PARAMETERS, with configurable default
ASK_PARAMETERS() Getter for PARAMETERS w/ exceptions if field has no value
HAS_PARAMETERS() Determine if PARAMETERS has a value

errorMessage

A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value

stopConditions

The stop conditions snapshotted from the test when the run was started.

Accessible with the following methods

Method Description
GET_STOPCONDITIONS() Getter for STOPCONDITIONS, with configurable default
ASK_STOPCONDITIONS() Getter for STOPCONDITIONS w/ exceptions if field has no valu
HAS_STOPCONDITIONS() Determine if STOPCONDITIONS has a value

loggingConfiguration

The logging configuration snapshotted from the test when the run was started.

Accessible with the following methods

Method Description
GET_LOGGINGCONFIGURATION() Getter for LOGGINGCONFIGURATION

roleName

The IAM execution role name snapshotted from the test when the run was started.

Accessible with the following methods

Method Description
GET_ROLENAME() Getter for ROLENAME, with configurable default
ASK_ROLENAME() Getter for ROLENAME w/ exceptions if field has no value
HAS_ROLENAME() Determine if ROLENAME has a value

testTemplateArn

The ARN of the test template snapshotted from the test when the run was started.

Accessible with the following methods

Method Description
GET_TESTTEMPLATEARN() Getter for TESTTEMPLATEARN, with configurable default
ASK_TESTTEMPLATEARN() Getter for TESTTEMPLATEARN w/ exceptions if field has no val
HAS_TESTTEMPLATEARN() Determine if TESTTEMPLATEARN has a value

reportConfiguration

The report configuration snapshotted from the service when the run was started.

Accessible with the following methods

Method Description
GET_REPORTCONFIGURATION() Getter for REPORTCONFIGURATION

policy

The resilience policy snapshotted from the service when the run was started.

Accessible with the following methods

Method Description
GET_POLICY() Getter for POLICY

reportOutput

The report generation result for the test run. Present after report generation completes or fails.

Accessible with the following methods

Method Description
GET_REPORTOUTPUT() Getter for REPORTOUTPUT

regionSwitchPlanArn

The ARN of the ARC Region switch plan associated with the test run.

Accessible with the following methods

Method Description
GET_REGIONSWITCHPLANARN() Getter for REGIONSWITCHPLANARN, with configurable default
ASK_REGIONSWITCHPLANARN() Getter for REGIONSWITCHPLANARN w/ exceptions if field has no
HAS_REGIONSWITCHPLANARN() Determine if REGIONSWITCHPLANARN has a value

regionSwitchExecutionId

The identifier of the ARC Region switch execution detected during the test run.

Accessible with the following methods

Method Description
GET_REGIONSWITCHEXECUTIONID() Getter for REGIONSWITCHEXECUTIONID, with configurable defaul
ASK_REGIONSWITCHEXECUTIONID() Getter for REGIONSWITCHEXECUTIONID w/ exceptions if field ha
HAS_REGIONSWITCHEXECUTIONID() Determine if REGIONSWITCHEXECUTIONID has a value

permissionModel

The permission model snapshotted from the service when the run was started.

Accessible with the following methods

Method Description
GET_PERMISSIONMODEL() Getter for PERMISSIONMODEL

regions

The Regions snapshotted from the service when the run was started.

Accessible with the following methods

Method Description
GET_REGIONS() Getter for REGIONS, with configurable default
ASK_REGIONS() Getter for REGIONS w/ exceptions if field has no value
HAS_REGIONS() Determine if REGIONS has a value

accountTargeting

Indicates whether this test run targets a single account or multiple accounts.

Accessible with the following methods

Method Description
GET_ACCOUNTTARGETING() Getter for ACCOUNTTARGETING, with configurable default
ASK_ACCOUNTTARGETING() Getter for ACCOUNTTARGETING w/ exceptions if field has no va
HAS_ACCOUNTTARGETING() Determine if ACCOUNTTARGETING has a value