MainframeModernizationApplicationTesting / Paginator / ListTestRunTestCases

ListTestRunTestCases#

class MainframeModernizationApplicationTesting.Paginator.ListTestRunTestCases#
paginator = client.get_paginator('list_test_run_test_cases')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from MainframeModernizationApplicationTesting.Client.list_test_run_test_cases().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    testRunId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • testRunId (string) –

    [REQUIRED]

    The test run ID of the test cases.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

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) –

      A token to resume pagination.