Write ping test for testing the HealthBot
Перейти к файлу
Arie Schwartzman 4ec1e815d7
Update LICENSE
2018-01-24 08:35:04 +02:00
.gitignore initial commit 2017-12-05 16:52:29 +02:00
LICENSE Update LICENSE 2018-01-24 08:35:04 +02:00
README.md Update README.md 2017-12-06 11:59:31 +02:00
index.js update license 2018-01-24 08:33:32 +02:00
package.json initial commit 2017-12-05 16:52:29 +02:00
webchat_secret.PNG Add files via upload 2017-12-06 11:46:50 +02:00
webchat_secret2.png Add files via upload 2017-12-06 11:55:23 +02:00
webmd.png Add files via upload 2017-12-06 11:55:23 +02:00
webmdpng.png Add files via upload 2017-12-06 11:55:23 +02:00

README.md

Health Bot Ping Test

Send a single turn utterance to test the availability of the Health Bot. The bot will respond with a response according to the utterance. HTTP error 500 will be returned if there is an error. To test success, you will need to compare the actual response with the expected response.

  1. Deploy the website:

Deploy to Azure

  1. Set the following enviorment variable: WEBCHAT_SECRET. alt text

You can obtain this secret from the Health Bot dashboard alt text

  1. To invoke the test, call endpoint of this service with /ping?utterance=hi

For example, to send the "hi" utterance, call the following endpoint with GET method https://mypingtest.azurewebsites.net/ping?utterance=hi