Write ping test for testing the HealthBot
Перейти к файлу
microsoft-github-policy-service[bot] 09d9f53e89
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-12 20:26:49 +00:00
.gitignore initial commit 2017-12-05 16:52:29 +02:00
GeoPol.xml GeoPol scan 2018-11-02 10:01:55 +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
SECURITY.md Microsoft mandatory file 2023-06-02 19:18:38 +00: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