Execute a Test Suite API¶
To execute Conversation Test Suites and get results. This API only initiates the test process and returns the execution status and testRunId to track the execution status. Please look at the Conversation Test Suite Execution Status API for the results of the test.
Important
Testers can't run conversation test suites through the interface or API.
Method | POST |
Endpoint | https://{{host}}/api/public/stream/:streamId/conversation/testsuite/:testSuiteName/run
|
Content Type | application/json
|
Authorization | auth: {{JWT}}
|
API Scope |
|
Query Parameters¶
PARAMETER | DESCRIPTION | MANDATE |
host | Environment URL. For example,https://bots.kore.ai
|
Required |
StreamID | The Stream ID can be accessed under General Settings on the Bot Builder. | Required |
testSuiteName | Name of the test suite on the Bot Builder. | Required |
Sample Request¶
curl --location
'https://{{host}}/api/public/stream/:streamId/conversation/testsuite/:testSuiteName/run' \
--header 'auth: {jwt-token}' \
--header 'bot-language: {language-code}' \
--header 'Content-Type: application/json' \
--data-raw '{
"version": "published", "userEmailId": "email-id-of-the-bot-owner-or-developer"
}'
Body Parameters¶
PARAMETER | DESCRIPTION | MANDATE |
version | The version of the bot against which the execution is required. The following options are available:
|
Required |
userEmailId | The email ID of the bot owner or a developer with whom the bot is shared. For example, “userEmailId”: “john.stevens@kore.com“ | Required |