I’m testing several chatBots with microsoft directline, using botium-cli. and we have a universal bot that communicates with subject-specific bots. my problem is: evaluating a multi-bot chat solution, passing a user’s authentication token as a parameter obtained by the first bot (which would be a universal bot) and pass this user authentication information to the other bots which will be called during the user dialog. is there any solution in botium to start testing with authentication?
But today we changed the scope of bots as microsoft did not support a universal bot architecture
We will only have one bot
However, I would like to know if botium directline offers some kind of authentication for the user? when starting the tests, a user must be identified. It’s possible?
This depends very much on the implementation details. It is possible to attach some channel data for example, if this is how authentication works with your implementation.
and in the field “my-channel-special-data”: “…” what information should be sent?
Attached is an image of how we build authentication.
Attached is an image of how we build authentication in our bot.
In botium-directline, it only displays packge.json, botium.json and index.js, if you can also tell me where I find the development files, to understand how the code works and where execution starts when I run "botium-cli execute " , and implement authentication,
Capabilities are to be added to your botium.json file.
The Botium Directline Connector allows very fine-grained control over the event payload (using the DIRECTLINE3_ACTIVITY_TEMPLATE capability mentioned above), and it is even possible to send a “welcome activity” upfront, see here - usually used to simulate a user joining a webchat.