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.
Method |
POST |
Endpoint |
https://{{host}}/api/public/stream/:streamId/conversation/testsuite/:testSuiteName/run |
Content Type |
application/json |
Authorization |
auth: {{JWT}}
See How to generate the JWT Token. |
API Scope |
- Bot Builder: Conversation Tests Execution
- Admin Console: Conversation Tests Execution
|
Sample Request
curl --location --request POST \
'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":"inDevelopment"
}'
Sample Response
{
"status": "IN_PROGRESS",
"testRunId": "ctr-80xxxx9a-bxx1-58xx-axx7-d5xxxxxxxxxx"
}