:doc:`Connect <../../connect>` / Client / get_test_case_execution_summary

*******************************
get_test_case_execution_summary
*******************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetTestCaseExecutionSummary>`_  


  **Request Syntax**
  ::

    response = client.get_test_case_execution_summary(
        InstanceId='string',
        TestCaseId='string',
        TestCaseExecutionId='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance.

    

  
  :type TestCaseId: string
  :param TestCaseId: **[REQUIRED]** 

    The identifier of the test case.

    

  
  :type TestCaseExecutionId: string
  :param TestCaseExecutionId: **[REQUIRED]** 

    The identifier of the test case execution.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

  