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

*************************
start_test_case_execution
*************************



.. py:method:: Connect.Client.start_test_case_execution(**kwargs)

  

  Starts executing a published test case.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartTestCaseExecution>`_  


  **Request Syntax**
  ::

    response = client.start_test_case_execution(
        InstanceId='string',
        TestCaseId='string',
        ClientToken='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 to execute.

    

  
  :type ClientToken: string
  :param ClientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see `Making retries safe with idempotent APIs <https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/>`__.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'TestCaseExecutionId': 'string',
          'TestCaseId': 'string',
          'Status': 'INITIATED'|'PASSED'|'FAILED'|'IN_PROGRESS'|'STOPPED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TestCaseExecutionId** *(string) --* 

        The identifier of the test case execution.

        
      

      - **TestCaseId** *(string) --* 

        The identifier of the test case resource that was executed.

        
      

      - **Status** *(string) --* 

        The status of a test case execution.

        
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

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

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

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

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

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

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

  