MainframeModernizationApplicationTesting / Client / list_test_runs

list_test_runs#

MainframeModernizationApplicationTesting.Client.list_test_runs(**kwargs)#

Lists test runs.

See also: AWS API Documentation

Request Syntax

response = client.list_test_runs(
    testSuiteId='string',
    testRunIds=[
        'string',
    ],
    nextToken='string',
    maxResults=123
)
Parameters:
  • testSuiteId (string) – The test suite ID of the test runs.

  • testRunIds (list) –

    The test run IDs of the test runs.

    • (string) –

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

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

Return type:

dict

Returns:

Response Syntax

{
    'testRuns': [
        {
            'testRunId': 'string',
            'testRunArn': 'string',
            'testSuiteId': 'string',
            'testSuiteVersion': 123,
            'testConfigurationId': 'string',
            'testConfigurationVersion': 123,
            'status': 'Success'|'Running'|'Failed'|'Deleting',
            'statusReason': 'string',
            'runStartTime': datetime(2015, 1, 1),
            'runEndTime': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • testRuns (list) –

      The test runs of the response query.

      • (dict) –

        Specifies a test run summary.

        • testRunId (string) –

          The test run ID of the test run summary.

        • testRunArn (string) –

          The test run ARN of the test run summary.

        • testSuiteId (string) –

          The test suite ID of the test run summary.

        • testSuiteVersion (integer) –

          The test suite version of the test run summary.

        • testConfigurationId (string) –

          The test configuration ID of the test run summary.

        • testConfigurationVersion (integer) –

          The test configuration version of the test run summary.

        • status (string) –

          The status of the test run summary.

        • statusReason (string) –

          The status reason of the test run summary.

        • runStartTime (datetime) –

          The run start time of the test run summary.

        • runEndTime (datetime) –

          The run end time of the test run summary.

    • nextToken (string) –

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

Exceptions