Problem:
My folder has the following files
botium.json
give_me_a_picture.convo.txt
ut.utterances.txt
My CLI is as below. None of the utterances in the ut.utterances.txt are getting expanded. Below is the log. Can you please let me know what am I doing wrong?
Any help is appreciated.
MAC:DL user$ botium-cli run --expandutterances true --config botium.json --convos give_me_a_picture.convo.txt
botium-cli Using Botium configuration file botium.json +0ms
botium-cli-run command options: { _: [ 'run' ],
botium-cli-run expandutterances: 'true',
botium-cli-run config: 'botium.json',
botium-cli-run c: 'botium.json',
botium-cli-run convos: [ 'give_me_a_picture.convo.txt' ],
botium-cli-run C: [ 'give_me_a_picture.convo.txt' ],
botium-cli-run verbose: false,
botium-cli-run v: false,
botium-cli-run output: 'spec',
botium-cli-run testsuitename: 'Botium Test-Suite',
botium-cli-run n: 'Botium Test-Suite',
botium-cli-run expandscriptingmemory: false,
botium-cli-run timeout: 60,
botium-cli-run '$0': 'botium-cli' } +0ms
botium-cli-run Mocha Reporter "spec", options: undefined +0ms
botium-core-BotDriver Loaded Botium configuration files /Users/user/botium/DL/botium.json +0ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found filenames: give_me_a_picture.convo.txt +0ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found convos:
botium-core-ScriptingProvider 1 give_me_a_picture.convo.txt ({ convoDir: '.', filename: 'give_me_a_picture.convo.txt' }): Line 1: #bot - UTT_1 | Line 4: #me - UTT_2 | Line 7: #bot - UTT_3 | Line 10: #me - UTT_4 | Line 13: #bot - UTT_5 | Line 16: #me - UTT_6 | Line 19: #bot - UTT_7 | Line 22: #me - UTT_8 | Line 25: #bot - UTT_9 | Line 28: #me - UTT_10 | Line 31: #bot - UTT_11 | Line 34: #me - UTT_12 | Line 37: #bot - UTT_13 | Line 40: #me - UTT_14 | Line 43: #bot - UTT_15 | Line 46: #me - UTT_16 | Line 49: #bot - UTT_17 +5ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found utterances:
botium-core-ScriptingProvider none +0ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found partial convos:
botium-core-ScriptingProvider none +0ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) scripting memories:
botium-core-ScriptingProvider none +0ms
botium-cli-run ready reading convos (1), expanding convos ... +277ms
botium-cli-run expanding utterances ... +1ms
botium-core-ScriptingProvider ExpandConvos - Using utterances expansion mode: all +1ms
botium-cli-run ready expanding convos and utterances, number of test cases: (1). +20ms
botium-cli-run adding test case give_me_a_picture.convo.txt (from: { convoDir: '.', filename: 'give_me_a_picture.convo.txt' }) +3ms
Botium Test-Suite
botium-core-BotDriver Build - Botium Core Version: 1.11.2 +305ms
botium-core-BotDriver Build - Capabilites: { PROJECTNAME: 'My Botium Project',
botium-core-BotDriver TESTSESSIONNAME: 'Botium Test Session',
botium-core-BotDriver TESTCASENAME: 'Botium Test Case',
botium-core-BotDriver TEMPDIR: 'botiumwork',
botium-core-BotDriver CLEANUPTEMPDIR: true,
botium-core-BotDriver WAITFORBOTTIMEOUT: 10000,
botium-core-BotDriver SIMULATE_WRITING_SPEED: false,
botium-core-BotDriver SIMPLEREST_PING_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_PING_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_PING_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_PING_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_STOP_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_STOP_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_STOP_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_START_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_START_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_START_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_INTERVAL: 1000,
botium-core-BotDriver SIMPLEREST_POLL_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_METHOD: 'GET',
botium-core-BotDriver SIMPLEREST_IGNORE_EMPTY: true,
botium-core-BotDriver SIMPLEREST_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_EXTRA_OPTIONS: {},
botium-core-BotDriver SIMPLEREST_STRICT_SSL: true,
botium-core-BotDriver SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: 'MERGE',
botium-core-BotDriver SCRIPTING_TXT_EOL: '\n',
botium-core-BotDriver SCRIPTING_XLSX_EOL_WRITE: '\r\n',
botium-core-BotDriver SCRIPTING_XLSX_HASHEADERS: true,
botium-core-BotDriver SCRIPTING_CSV_SKIP_HEADER: true,
botium-core-BotDriver SCRIPTING_CSV_QUOTE: '"',
botium-core-BotDriver SCRIPTING_CSV_ESCAPE: '"',
botium-core-BotDriver SCRIPTING_NORMALIZE_TEXT: true,
botium-core-BotDriver SCRIPTING_ENABLE_MEMORY: false,
botium-core-BotDriver SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: false,
botium-core-BotDriver SCRIPTING_MATCHING_MODE: 'wildcardIgnoreCase',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_MODE: 'all',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_MODE: 'justLineTag',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: '16',
botium-core-BotDriver SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
botium-core-BotDriver ASSERTERS: [],
botium-core-BotDriver LOGIC_HOOKS: [],
botium-core-BotDriver USER_INPUTS: [],
botium-core-BotDriver SECURITY_ALLOW_UNSAFE: true,
botium-core-BotDriver CONTAINERMODE: 'directline3',
botium-core-BotDriver DIRECTLINE3_SECRET: '####',
botium-core-BotDriver DIRECTLINE3_DOMAIN: 'https://directline.botframework.com/v3/directline',
botium-core-BotDriver DIRECTLINE3_WEBSOCKET: true,
botium-core-BotDriver DIRECTLINE3_POLLINGINTERVAL: 1000,
botium-core-BotDriver DIRECTLINE3_WELCOME_ACTIVITY:
botium-core-BotDriver { type: 'invoke',
botium-core-BotDriver name: 'TriggerScenario',
botium-core-BotDriver value: { trigger: 'Entrypoint', args: [Object] } },
botium-core-BotDriver CONFIG: 'botium.json' } +0ms
botium-core-BotDriver Build - Sources : { LOCALPATH: '.',
botium-core-BotDriver GITPATH: 'git',
botium-core-BotDriver GITBRANCH: 'master',
botium-core-BotDriver GITDIR: '.' } +1ms
botium-core-BotDriver Build - Envs : { IS_BOTIUM_CONTAINER: true } +0ms
botium-connector-PluginConnectorContainer-helper Botium plugin botium-connector-directline3 loaded. Plugin version is 0.0.26 +0ms
botium-connector-directline3 Validate called +0ms
botium-connector-directline3 Build called +3ms
botium-connector-directline3 Start called +3ms
botium-connector-directline3 Directline Connection Status: 1 / Connecting +12ms
botium-connector-directline3 UserSays called +1ms
botium-connector-directline3 Posting activity {
"type": "invoke",
"name": "TriggerScenario",
"value": {
"trigger": "Entrypoint",
"args": {
"brand": "foo",
"customScheme": "https",
"tenantName": "covid"
}
},
"from": {
"id": "me"
}
} +0ms
postActivity { type: 'invoke',
name: 'TriggerScenario',
value:
{ trigger: 'Entrypoint',
args:
{ brand: 'foo',
customScheme: 'https',
tenantName: 'covid' } },
from: { id: 'me' } }
creating WebSocket wss://directline.botframework.com/v3/directline/conversations/7i9XV0xFMrw6D44pKNoKqI-o/stream?watermark=-&t=ew0KICAiYWxnIjogIlJTMjU2IiwNCiAgImtpZCI6ICJsY0oxTXFpNkdKYXdCZEw5Y0dieEt5S1R6OE0iLA0KICAieDV0IjogImxjSjFNcWk2R0phd0JkTDljR2J4S3lLVHo4TSIsDQogICJ0eXAiOiAiSldUIg0KfQ.ew0KICAiYm90IjogIkh5YnJpZEJvdFN0YWdlIiwNCiAgInNpdGUiOiAiUE5vRUlRSWM4MlEiLA0KICAiY29udiI6ICI3aTlYVjB4Rk1ydzZENDRwS05vS3FJLW8iLA0KICAibmJmIjogMTYxOTA0OTk4NSwNCiAgImV4cCI6IDE2MTkwNTAwNDUsDQogICJpc3MiOiAiaHR0cHM6Ly9kaXJlY3RsaW5lLmJvdGZyYW1ld29yay5jb20vIiwNCiAgImF1ZCI6ICJodHRwczovL2RpcmVjdGxpbmUuYm90ZnJhbWV3b3JrLmNvbS8iDQp9.Ql0tghKYQZ32dWMYRC0zkssnd4ES5cdG_-f6FJOi4fSu0d8zULjJ3s8NujGqTVgCDAC_Q7B6zD1d2hHKZzvOKTvJaSKcjp9Vkbg-QhqIWuChTcnmkmzW93OK6kl6Ld2T11lWRnyS1yjiq2pKk1jqAf8Dl9lwBdMTV6kK6by1-wAbFKj8XV5Z8Sy_ceKaOt8GWKRId6lUInoXnGYX8ihJXVmcmTjMtWAUiu8VK_lvLaTPO54uduGTdn1h7S-b4NffCvvrE2Ffy3vmfi0zajG6dHPOxeUEoKrkJcCq8ZqXIgDtfCnRum0RMMird4bDAwrLDCnGsX4W2wZnPEXFzWU9uw
botium-connector-directline3 Directline Connection Status: 2 / Online +531ms
botium-cli-run running testcase give_me_a_picture.convo.txt +2s
botium-core-Convo give_me_a_picture.convo.txt wait for bot +0ms
WebSocket open OpenEvent {
target:
WebSocket {
_events: { open: [Function], close: [Function], message: [Function] },
_eventsCount: 3,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: '',
_closeTimer: null,
_extensions: {},
_protocol: '',
_readyState: 1,
_receiver:
Receiver {
_writableState: [WritableState],
writable: true,
_events: [Object],
_eventsCount: 6,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_extensions: {},
_isServer: false,
_maxPayload: 104857600,
_bufferedBytes: 0,
_buffers: [],
_compressed: false,
_payloadLength: 0,
_mask: undefined,
_fragmented: 0,
_masked: false,
_fin: false,
_opcode: 0,
_totalPayloadLength: 0,
_messageLength: 0,
_fragments: [],
_state: 0,
_loop: false,
[Symbol(websocket)]: [Circular] },
_sender:
Sender {
_extensions: {},
_socket: [TLSSocket],
_firstFragment: true,
_compress: false,
_bufferedBytes: 0,
_deflating: false,
_queue: [] },
_socket:
TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'directline.botframework.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 5,
connecting: false,
_hadError: false,
_handle: [TLSWrap],
_parent: null,
_host: 'directline.botframework.com',
_readableState: [ReadableState],
readable: true,
_maxListeners: undefined,
_writableState: [WritableState],
writable: true,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: null,
timeout: 0,
[Symbol(res)]: [TLSWrap],
[Symbol(asyncId)]: 84,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object],
[Symbol(websocket)]: [Circular] },
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
_url:
'wss://directline.botframework.com/v3/directline/conversations/7i9XV0xFMrw6D44pKNoKqI-o/stream?watermark=-&t=ew0KICAiYWxnIjogIlJTMjU2IiwNCiAgImtpZCI6ICJsY0oxTXFpNkdKYXdCZEw5Y0dieEt5S1R6OE0iLA0KICAieDV0IjogImxjSjFNcWk2R0phd0JkTDljR2J4S3lLVHo4TSIsDQogICJ0eXAiOiAiSldUIg0KfQ.ew0KICAiYm90IjogIkh5YnJpZEJvdFN0YWdlIiwNCiAgInNpdGUiOiAiUE5vRUlRSWM4MlEiLA0KICAiY29udiI6ICI3aTlYVjB4Rk1ydzZENDRwS05vS3FJLW8iLA0KICAibmJmIjogMTYxOTA0OTk4NSwNCiAgImV4cCI6IDE2MTkwNTAwNDUsDQogICJpc3MiOiAiaHR0cHM6Ly9kaXJlY3RsaW5lLmJvdGZyYW1ld29yay5jb20vIiwNCiAgImF1ZCI6ICJodHRwczovL2RpcmVjdGxpbmUuYm90ZnJhbWV3b3JrLmNvbS8iDQp9.Ql0tghKYQZ32dWMYRC0zkssnd4ES5cdG_-f6FJOi4fSu0d8zULjJ3s8NujGqTVgCDAC_Q7B6zD1d2hHKZzvOKTvJaSKcjp9Vkbg-QhqIWuChTcnmkmzW93OK6kl6Ld2T11lWRnyS1yjiq2pKk1jqAf8Dl9lwBdMTV6kK6by1-wAbFKj8XV5Z8Sy_ceKaOt8GWKRId6lUInoXnGYX8ihJXVmcmTjMtWAUiu8VK_lvLaTPO54uduGTdn1h7S-b4NffCvvrE2Ffy3vmfi0zajG6dHPOxeUEoKrkJcCq8ZqXIgDtfCnRum0RMMird4bDAwrLDCnGsX4W2wZnPEXFzWU9uw',
_req: null },
type: 'open' }
botium-connector-directline3 Posted activity, assigned ID: 7i9XV0xFMrw6D44pKNoKqI-o|0000000 +540ms
botium-connector-directline3 received message {
"type": "message",
"id": "7i9XV0xFMrw6D44pKNoKqI-o|0000002",
"timestamp": "2021-04-22T00:06:27.4023866Z",
"serviceUrl": "https://directline.botframework.com/",
"channelId": "directline",
"from": {
"id": "HybridBotStage@PNoEIQIc82Q",
"name": "HybridBotStage"
},
"conversation": {
"id": "7i9XV0xFMrw6D44pKNoKqI-o"
},
"recipient": {
"id": "HybridBotStage@PNoEIQIc82Q",
"name": "HybridBotStage"
},
"text": "BotMessage",
"speak": "BotMessage\nSelect one of the following options: \n1. I Agree<break/>2. Decline<break/>",
"inputHint": "expectingInput",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.hero",
"content": {
"buttons": [
{
"title": "I Agree",
"type": "imBack",
"value": "I Agree"
},
{
"title": "Decline",
"type": "imBack",
"value": "Decline"
}
]
}
}
]
} +989ms
botium-core-Convo give_me_a_picture.convo.txt: bot says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo "sender": "bot",
botium-core-Convo "media": [],
botium-core-Convo "buttons": [],
botium-core-Convo "cards": [
botium-core-Convo {
botium-core-Convo "buttons": [
botium-core-Convo {
botium-core-Convo "text": "I Agree",
botium-core-Convo "payload": "I Agree"
botium-core-Convo },
botium-core-Convo {
botium-core-Convo "text": "Decline",
botium-core-Convo "payload": "Decline"
botium-core-Convo }
botium-core-Convo ],
botium-core-Convo "sourceData": {
botium-core-Convo "contentType": "application/vnd.microsoft.card.hero",
botium-core-Convo "content": {
botium-core-Convo "buttons": [
botium-core-Convo {
botium-core-Convo "title": "I Agree",
botium-core-Convo "type": "imBack",
botium-core-Convo "value": "I Agree"
botium-core-Convo },
botium-core-Convo {
botium-core-Convo "title": "Decline",
botium-core-Convo "type": "imBack",
botium-core-Convo "value": "Decline"
botium-core-Convo }
botium-core-Convo ]
botium-core-Convo }
botium-core-Convo }
botium-core-Convo }
botium-core-Convo ],
botium-core-Convo "forms": [],
botium-core-Convo "messageText": "BotMessage",
botium-core-Convo "channel": "default"
botium-core-Convo } +2s
botium-core-ScriptingMemory fill start: {} +0ms
botium-core-ScriptingProvider assertBotResponse give_me_a_picture.convo.txt/Line 1 BOT: BotMessage = UTT_1 ... +3s
botium-cli-run give_me_a_picture.convo.txt failed: { TranscriptError: give_me_a_picture.convo.txt/Line 1: Bot response "BotMessage" expected to match "UTT_1"
botium-cli-run at Convo.Run (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/node_modules/botium-core/src/scripting/Convo.js:256:15)
botium-cli-run name: 'TranscriptError',
botium-cli-run transcript:
botium-cli-run Transcript {
botium-cli-run steps: [ [TranscriptStep] ],
botium-cli-run attachments: [],
botium-cli-run scriptingMemory: {},
botium-cli-run convoBegin: 2021-04-22T00:06:25.928Z,
botium-cli-run convoEnd: 2021-04-22T00:06:27.462Z,
botium-cli-run err:
botium-cli-run { BotiumError: give_me_a_picture.convo.txt/Line 1: Bot response "BotMessage" expected to match "UTT_1"
botium-cli-run at ScriptingProvider.assertBotResponse (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/node_modules/botium-core/src/scripting/ScriptingProvider.js:145:17)
botium-cli-run at Convo.runConversation (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/node_modules/botium-core/src/scripting/Convo.js:437:40) name: 'BotiumError', context: [Object] } },
botium-cli-run cause:
botium-cli-run { BotiumError: give_me_a_picture.convo.txt/Line 1: Bot response "BotMessage" expected to match "UTT_1"
botium-cli-run at ScriptingProvider.assertBotResponse (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/node_modules/botium-core/src/scripting/ScriptingProvider.js:145:17)
botium-cli-run at Convo.runConversation (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/node_modules/botium-core/src/scripting/Convo.js:437:40)
botium-cli-run name: 'BotiumError',
botium-cli-run context:
botium-cli-run { type: 'asserter',
botium-cli-run source: 'TextMatchAsserter',
botium-cli-run context: [Object],
botium-cli-run cause: [Object],
botium-cli-run message:
botium-cli-run 'give_me_a_picture.convo.txt/Line 1: Bot response "I\'m Grace, your smart assistant. I can help you find COVID-19 resources. If you’re experiencing a life- or limb-threatening emergency, call 911. I’m not a substitute for professional medical advice, diagnosis, or treatment. Always consult a medical professional for serious symptoms or emergencies. When you agree to our [Terms of Use](https://www.example.com/utility-pages/privacy-policy) and our [Privacy Policy](https://www.example.com/utility-pages/privacy-policy#Privacy_Policy_) we can continue." expected to match "UTT_1"' } } } +2s
1) give_me_a_picture.convo.txt
botium-connector-directline3 Stop called +14ms
botium-connector-directline3 unsubscribed from directline activity subscription +1ms
botium-connector-directline3 unsubscribing from directline connectionstatus subscription +0ms
botium-connector-directline3 ending directline connection +0ms
botium-connector-directline3 Clean called +1ms
botium-connector-BaseContainer Cleanup rimrafing temp dir /Users/user/botium/DL/botiumwork/My Botium Project 20210421 170624 bH7nn +0ms
0 passing (3s)
1 failing
1) Botium Test-Suite
give_me_a_picture.convo.txt:
Error: give_me_a_picture.convo.txt/Line 1: Bot response "BotMessage" expected to match "UTT_1"
########################################
ASSERTION FAILED in TextMatchAsserter - Expected: ["UTT_1"] - Actual: "BotMessage"
at wrapBotiumError (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/src/run/index.js:76:12)
at finish (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/src/run/index.js:205:24)
at convo.Run.then.catch (/Users/user/.nvm/versions/node/v10.13.0/lib/node_modules/botium-cli/src/run/index.js:218:11)
WebSocket close CloseEvent {
target:
WebSocket {
_events: { open: [Function], close: [Function], message: [Function] },
_eventsCount: 3,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: true,
_closeMessage: '',
_closeTimer:
Timeout {
_called: false,
_idleTimeout: -1,
_idlePrev: null,
_idleNext: null,
_idleStart: 4502,
_onTimeout: null,
_timerArgs: undefined,
_repeat: null,
_destroyed: false,
[Symbol(unrefed)]: false,
[Symbol(asyncId)]: 167,
[Symbol(triggerId)]: 0 },
_extensions: {},
_protocol: '',
_readyState: 3,
_receiver:
Receiver {
_writableState: [WritableState],
writable: false,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_extensions: {},
_isServer: false,
_maxPayload: 104857600,
_bufferedBytes: 0,
_buffers: [],
_compressed: false,
_payloadLength: 211,
_mask: undefined,
_fragmented: 0,
_masked: false,
_fin: true,
_opcode: 1,
_totalPayloadLength: 0,
_messageLength: 0,
_fragments: [],
_state: 0,
_loop: false,
[Symbol(websocket)]: [Circular] },
_sender:
Sender {
_extensions: {},
_socket: [TLSSocket],
_firstFragment: true,
_compress: false,
_bufferedBytes: 0,
_deflating: false,
_queue: [] },
_socket:
TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'directline.botframework.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 4,
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'directline.botframework.com',
_readableState: [ReadableState],
readable: false,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: null,
timeout: 0,
write: [Function: writeAfterFIN],
[Symbol(res)]: null,
[Symbol(asyncId)]: 84,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBytesRead)]: 4159,
[Symbol(kBytesWritten)]: 1142,
[Symbol(connect-options)]: [Object],
[Symbol(websocket)]: undefined },
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
_url:
'wss://directline.botframework.com/v3/directline/conversations/7i9XV0xFMrw6D44pKNoKqI-o/stream?watermark=-&t=ew0KICAiYWxnIjogIlJTMjU2IiwNCiAgImtpZCI6ICJsY0oxTXFpNkdKYXdCZEw5Y0dieEt5S1R6OE0iLA0KICAieDV0IjogImxjSjFNcWk2R0phd0JkTDljR2J4S3lLVHo4TSIsDQogICJ0eXAiOiAiSldUIg0KfQ.ew0KICAiYm90IjogIkh5YnJpZEJvdFN0YWdlIiwNCiAgInNpdGUiOiAiUE5vRUlRSWM4MlEiLA0KICAiY29udiI6ICI3aTlYVjB4Rk1ydzZENDRwS05vS3FJLW8iLA0KICAibmJmIjogMTYxOTA0OTk4NSwNCiAgImV4cCI6IDE2MTkwNTAwNDUsDQogICJpc3MiOiAiaHR0cHM6Ly9kaXJlY3RsaW5lLmJvdGZyYW1ld29yay5jb20vIiwNCiAgImF1ZCI6ICJodHRwczovL2RpcmVjdGxpbmUuYm90ZnJhbWV3b3JrLmNvbS8iDQp9.Ql0tghKYQZ32dWMYRC0zkssnd4ES5cdG_-f6FJOi4fSu0d8zULjJ3s8NujGqTVgCDAC_Q7B6zD1d2hHKZzvOKTvJaSKcjp9Vkbg-QhqIWuChTcnmkmzW93OK6kl6Ld2T11lWRnyS1yjiq2pKk1jqAf8Dl9lwBdMTV6kK6by1-wAbFKj8XV5Z8Sy_ceKaOt8GWKRId6lUInoXnGYX8ihJXVmcmTjMtWAUiu8VK_lvLaTPO54uduGTdn1h7S-b4NffCvvrE2Ffy3vmfi0zajG6dHPOxeUEoKrkJcCq8ZqXIgDtfCnRum0RMMird4bDAwrLDCnGsX4W2wZnPEXFzWU9uw',
_req: null },
type: 'close',
wasClean: false,
reason: '',
code: 1006 }
MAC:DL user$