MainframeModernizationApplicationTesting / Client / list_test_run_steps

list_test_run_steps#

MainframeModernizationApplicationTesting.Client.list_test_run_steps(**kwargs)#

Lists test run steps.

See also: AWS API Documentation

Request Syntax

response = client.list_test_run_steps(
    testRunId='string',
    testCaseId='string',
    testSuiteId='string',
    nextToken='string',
    maxResults=123
)
Parameters:
  • testRunId (string) –

    [REQUIRED]

    The test run ID of the test run steps.

  • testCaseId (string) – The test case ID of the test run steps.

  • testSuiteId (string) – The test suite ID of the test run steps.

  • nextToken (string) – The token from a previous step to retrieve the next page of results.

  • maxResults (integer) – The maximum number of test run steps to return in one page of results.

Return type:

dict

Returns:

Response Syntax

{
    'testRunSteps': [
        {
            'stepName': 'string',
            'testRunId': 'string',
            'testCaseId': 'string',
            'testCaseVersion': 123,
            'testSuiteId': 'string',
            'testSuiteVersion': 123,
            'beforeStep': True|False,
            'afterStep': True|False,
            'status': 'Success'|'Failed'|'Running',
            'statusReason': 'string',
            'runStartTime': datetime(2015, 1, 1),
            'runEndTime': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • testRunSteps (list) –

      The test run steps of the response query.

      • (dict) –

        Specifies a test run step summary.

        • stepName (string) –

          The step name of the test run step summary.

        • testRunId (string) –

          The test run ID of the test run step summary.

        • testCaseId (string) –

          The test case ID of the test run step summary.

        • testCaseVersion (integer) –

          The test case version of the test run step summary.

        • testSuiteId (string) –

          The test suite ID of the test run step summary.

        • testSuiteVersion (integer) –

          The test suite version of the test run step summary.

        • beforeStep (boolean) –

          The before step of the test run step summary.

        • afterStep (boolean) –

          The after step of the test run step summary.

        • status (string) –

          The status of the test run step summary.

        • statusReason (string) –

          The status reason of the test run step summary.

        • runStartTime (datetime) –

          The run start time of the test run step summary.

        • runEndTime (datetime) –

          The run end time of the test run step summary.

    • nextToken (string) –

      The token from a previous request to retrieve the next page of results.

Exceptions

  • MainframeModernizationApplicationTesting.Client.exceptions.ThrottlingException

  • MainframeModernizationApplicationTesting.Client.exceptions.ResourceNotFoundException

  • MainframeModernizationApplicationTesting.Client.exceptions.AccessDeniedException

  • MainframeModernizationApplicationTesting.Client.exceptions.ValidationException

  • MainframeModernizationApplicationTesting.Client.exceptions.InternalServerException