This is a Botium connector for testing your Botkit chatbot over websockets.
Botium uses the Botkit Anywhere to connect to your chatbot.
It can be used as any other Botium connector with all Botium Stack components:
- Node.js and NPM
- a Botkit Anywhere Server
- a project directory on your workstation to hold test cases and Botium configuration
When using Botium CLI:
> npm install -g botium-cli
> npm install -g botium-connector-botkit-websocket
> botium-cli init
> botium-cli run
When using Botium Bindings:
> npm install -g botium-bindings
> npm install -g botium-connector-botkit-websocket
> botium-bindings init mocha
> npm install && npm run mocha
When using Botium Box:
TODO
Open the file botium.json in your working directory and add the Botkit chatbot connection settings.
{
"botium": {
"Capabilities": {
"PROJECTNAME": "<whatever>",
"CONTAINERMODE": "botium-connector-botkit-websocket",
"BOTKIT_SERVER_URL": "..."
}
}
}
Botium setup is ready, you can begin to write your BotiumScript files.
Set the capability CONTAINERMODE to botium-connector-botkit-websocket to activate this connector.
The Botkit server url (without any path, just http/https, servername, port)