MainframeModernizationApplicationTesting / Client / list_test_run_test_cases

list_test_run_test_cases#

MainframeModernizationApplicationTesting.Client.list_test_run_test_cases(**kwargs)#

Lists test run test cases.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The test run ID of the test cases.

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

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

Return type:

dict

Returns:

Response Syntax

{
    'testRunTestCases': [
        {
            'testCaseId': 'string',
            'testCaseVersion': 123,
            'testRunId': 'string',
            'status': 'Success'|'Running'|'Failed',
            'statusReason': 'string',
            'runStartTime': datetime(2015, 1, 1),
            'runEndTime': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • testRunTestCases (list) –

      The test run of the test cases.

      • (dict) –

        Specifies the test case run summary.

        • testCaseId (string) –

          The test case id of the test case run summary.

        • testCaseVersion (integer) –

          The test case version of the test case run summary.

        • testRunId (string) –

          The test run id of the test case run summary.

        • status (string) –

          The status of the test case run summary.

        • statusReason (string) –

          The status reason of the test case run summary.

        • runStartTime (datetime) –

          The run start time of the test case run summary.

        • runEndTime (datetime) –

          The run end time of the test case run 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