Hello ,
I would like to use botium for testing. Our ChatBot uses Microsoft Bot framework to integrate with different chanel and also uses Dialogflow for NLP/NLU.
When I run from the botium-cli, I get the following error :
Error: BotFrameworkAdapter.processActivity(): 500 ERROR
Error: Bad format of conversation ID
at new RestError (…/lib/restError.ts:18:5)
at …/lib/policies/deserializationPolicy.ts:117:27
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at BotFrameworkAdapter. (…/src/botFrameworkAdapter.ts:1263:23)
at Generator.throw ()
at rejected (D:\project_folder\chatbot\dist\node_modules\botbuilder\lib\botFrameworkAdapter.js:29:32)
The botium connection for bot framework as documented looks like this:
{
“botium”: {
"Capabilities": {
"PROJECTNAME": "My Botium Project",
"CONTAINERMODE": "botframework",
"BOTFRAMEWORK_APP_ID": "my app ID",
"BOTFRAMEWORK_APP_SECRET": "my app secret",
"BOTFRAMEWORK_ENDPOINTURL": "https://abcd_efgh.ngrok.io/bo/api/webhook",
"BOTFRAMEWORK_SERVICEURL":"https://smba.trafficmanager.net/",
"BOTFRAMEWORK_RECIPIENTNAME": "MyMicrosoftBotName",
"BOTFRAMEWORK_RECIPIENTID": "microsoftBotRecipientID"
},
"Sources": {},
"Envs": {}
}
}
Thanks in advance for your Solutions/propositions.