Connect / Client / get_test_case_execution_summary

get_test_case_execution_summary

Connect.Client.get_test_case_execution_summary(**kwargs)

Retrieves an overview of a test execution that includes the status of the execution, start and end time, and observation summary.

See also: AWS API Documentation

Request Syntax

response = client.get_test_case_execution_summary(
    InstanceId='string',
    TestCaseId='string',
    TestCaseExecutionId='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • TestCaseId (string) –

    [REQUIRED]

    The identifier of the test case.

  • TestCaseExecutionId (string) –

    [REQUIRED]

    The identifier of the test case execution.

Return type:

dict

Returns:

Response Syntax

{
    'StartTime': datetime(2015, 1, 1),
    'EndTime': datetime(2015, 1, 1),
    'Status': 'INITIATED'|'PASSED'|'FAILED'|'IN_PROGRESS'|'STOPPED',
    'ObservationSummary': {
        'TotalObservations': 123,
        'ObservationsPassed': 123,
        'ObservationsFailed': 123
    }
}

Response Structure

  • (dict) –

    • StartTime (datetime) –

      The timestamp when the test case execution started.

    • EndTime (datetime) –

      The timestamp when the test case execution ended.

    • Status (string) –

      The status of the test case execution.

    • ObservationSummary (dict) –

      Summary statistics for the test case execution.

      • TotalObservations (integer) –

        The total number of observations in the test case.

      • ObservationsPassed (integer) –

        The number of observations that passed during execution.

      • ObservationsFailed (integer) –

        The number of observations that failed during execution.

Exceptions