Gathering detailed insights and metrics for botium-connector-botframework
Gathering detailed insights and metrics for botium-connector-botframework
Gathering detailed insights and metrics for botium-connector-botframework
Gathering detailed insights and metrics for botium-connector-botframework
Botium Connector for Bot Framework Endpoints
npm install botium-connector-botframework
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
9 Commits
2 Forks
3 Watchers
1 Branches
2 Contributors
Updated on Feb 09, 2022
Latest Version
0.0.3
Package Id
botium-connector-botframework@0.0.3
Unpacked Size
144.21 kB
Size
26.65 kB
File Count
25
NPM Version
6.14.12
Node Version
10.24.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
This is a Botium connector for testing your Bot Framework endpoint.
Did you read the Botium in a Nutshell articles? Be warned, without prior knowledge of Botium you won't be able to properly use this library!
Botium connects to your Bot Framework endpoint and receives responses with the serviceUrl property.
It can be used as any other Botium connector with all Botium Stack components:
When using Botium CLI:
> npm install -g botium-cli
> npm install -g botium-connector-botframework
> botium-cli init
> botium-cli run
When using Botium Bindings:
> npm install -g botium-bindings
> npm install -g botium-connector-botframework
> botium-bindings init mocha
> npm install && npm run mocha
When using Botium Box:
Already integrated into Botium Box, no setup required
Create a botium.json with the the URL of your Bot Framework endpoint in your project directory:
{
"botium": {
"Capabilities": {
"PROJECTNAME": "<whatever>",
"CONTAINERMODE": "botframework",
"BOTFRAMEWORK_ENDPOINTURL": "https://demo.botiumbox.com/mockbot/api/messages",
"BOTFRAMEWORK_SERVICEURL": "https://xxxxxxxxx.ngrok.io"
}
}
}
tbd
For finetuning the Activity object sent to your bot, you can use the UPDATE_CUSTOM logic hook. This example will add some custom values to the channelData:
#me
do some channel specific thingy ...
UPDATE_CUSTOM SET_ACTIVITY_VALUE|channelData|{"channelData1": "botium", "channelData2": "something else"}
The parameters are:
Set the capability CONTAINERMODE to botframework to activate this connector.
Bot Framework Endpoint URL, typically ending in /api/messages
The URL where the Botium Inbound Url is available, as seen from the Bot Framework app
If your Bot Framework app runs with app id and app secret, Botium will create an authorization token.
Default: emulator
Default: generated unique id
Default: Bot
Default: generated unique id
Default: Botium
Default type: event
Default field: name
Activity fields to use for simulating button clicks by the user. Depending on your implementation, you maybe have to change the activity type or the field to use - see here for some ideas.
Usually, the activity type is event, and the button value is submitted in the name field, but using those capabilities you can adapt it to your implementation.
Note: if you want to disable this, then set BOTFRAMEWORK_BUTTON_TYPE to "message" and BOTFRAMEWORK_BUTTON_VALUE_FIELD to "text", to make the button clicks appear as normal user text input
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More