Connect / Client / start_test_case_execution

start_test_case_execution

Connect.Client.start_test_case_execution(**kwargs)

Starts executing a published test case.

See also: AWS API Documentation

Request Syntax

response = client.start_test_case_execution(
    InstanceId='string',
    TestCaseId='string',
    ClientToken='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • TestCaseId (string) –

    [REQUIRED]

    The identifier of the test case to execute.

  • ClientToken (string) – 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.

Return type:

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