Connecting BOTIUM with chatbot using HTTPS-JSON connector

Hi Florian,
How to receive the first response from the chatbot without user input?
Currently we are trying to connect BOTIUM with Chatbot UI using HTTPS-JSON Connector. This chatbot have been developed using IBM Watson.
The challenge faced by us is:-

The default message is not showing up as and when the chatbot is connected. This is where the session id needs to created and will be used to fetch the location details during the conversation.

The request payload is
{“channel”:{“clientId”:" (Remarks:-Client id have been removed)",“subChannel”:“ar02”,“sessionId”:null},“user”:{“id”:""},“message”:{“text”:"",“timestamp”:“2021-04-28T11:03:26.468Z”,“timezone”:“GMT+0530”,“type”:“message”},“actionParams”:{},“nluAttributes”:{},“attachments”:[]}

Session Id will be created in response to the above payload and from here our actual conversation will start. We need to use the session in our further conversation.

To do this, we configured our request payload as below:

{“channel”:{“clientId”:"",“subChannel”:“ar02”,“sessionId”:"{{context.sessionId}}"},“user”:{“id”:""},“message”:{“text”:"{{msg.messageText}}",“timestamp”:“2021-04-28T11:03:26.468Z”,“timezone”:“GMT+0530”,“type”:“message”},“actionParams”:{},“nluAttributes”:{},“attachments”:[]}

Can you please help us with the information regarding how to configure the first payload which creates the session id.
Thank You,

For session setup, there is a dedicated section in the Generic HTTP/JSON connector configuration:

The response of this first call is stored in the context variable, and can be used in the following requests. You can read more about it in the Botium Docs.

If for example the JSON response to this first session setup call looks like this, you can use the {{context.sessionId}} placeholder.

{ "sessionId": "asdfdfdfdfdfdfd" }

Florian,

Thank you for the reply. I would like to add few things.

We have tried using the section highlighted above.

Passed the same bearer token and subscription key in header templates used in Request Configuration and in the body template, used the below request payload

{“channel”:{“clientId”:" (Remarks:-Client id have been removed)",“subChannel”:“ar02”,“sessionId”:null},“user”:{“id”:""},“message”:{“text”:"",“timestamp”:“2021-04-28T11:03:26.468Z”,“timezone”:“GMT+0530”,“type”:“message”},“actionParams”:{},“nluAttributes”:{},“attachments”:[]}

Where the session id is null and text is “”

And in the Request configuration -
We have added again Bearer token & subscription key in Headers template
Body template with the below request payload

{“channel”:{“clientId”:"",“subChannel”:“ar02”,“sessionId”:"{{context.sessionId}}"},“user”:{“id”:""},“message”:{“text”:"{{msg.messageText}}",“timestamp”:“2021-04-28T11:03:26.468Z”,“timezone”:“GMT+0530”,“type”:“message”},“actionParams”:{},“nluAttributes”:{},“attachments”:[]}

This time using {{context.sessionId}} and {{msg.messageText}} varibales.

As and when I save the configuration, the header & body template from the session set up configuration are emptied and there is no message that we see on the live chat once we connect.

We have gone through the documentation and made all the configurations as per our knowledge. Could you please let us know where it might be going wrong?

You are right, you have found a bug in Botium Box - the header & body template from the session set up configuration are indeed cleared after storing them.
In the background they are still there - so if you do not click Save again, header & body should be filled (but sure, we will fix this bug in Botium Box).

Can you please use the “Say Hello” button and post the Log output from the popup window here, then I might help you further.

1 Like

I can see the configuration is getting stored when I check in the Advanced mode. When I click on LIVE chat, I still do not see the response that I am expecting to see. It should be something like “I am trained to create new requests and provide the status of existing requests.”

When I click on Hello, I have seen the response back and below is the log output. However we need the message to be displayed without any user input here and would like to use the session id created during this time to continue the conversation.

Please find the log out out below:

2021-04-28T15:58:08.970Z botium-core-BotDriver Loaded Botium configuration file ./botium.json
2021-04-28T15:58:08.974Z botium-core-BotDriver Changed capability TEMPDIR to “./botiumwork” using environment variables.
2021-04-28T15:58:08.975Z botium-core-BotDriver Build - Botium Core Version: 1.10.3
2021-04-28T15:58:08.978Z botium-core-BotDriver Build - Capabilites: {
PROJECTNAME: ‘Botium Project’,
TESTSESSIONNAME: ‘Botium Test Session’,
TESTCASENAME: ‘Botium Test Case’,
TEMPDIR: ‘./botiumwork’,
CLEANUPTEMPDIR: true,
WAITFORBOTTIMEOUT: 600000,
SIMULATE_WRITING_SPEED: false,
SIMPLEREST_PING_RETRIES: 6,
SIMPLEREST_PING_TIMEOUT: 10000,
SIMPLEREST_PING_VERB: ‘POST’,
SIMPLEREST_PING_UPDATE_CONTEXT: false,
SIMPLEREST_STOP_RETRIES: 6,
SIMPLEREST_STOP_TIMEOUT: 10000,
SIMPLEREST_STOP_VERB: ‘GET’,
SIMPLEREST_START_RETRIES: 6,
SIMPLEREST_START_TIMEOUT: 10000,
SIMPLEREST_START_VERB: ‘GET’,
SIMPLEREST_POLL_VERB: ‘GET’,
SIMPLEREST_POLL_INTERVAL: 1000,
SIMPLEREST_POLL_UPDATE_CONTEXT: true,
SIMPLEREST_METHOD: ‘POST’,
SIMPLEREST_IGNORE_EMPTY: true,
SIMPLEREST_TIMEOUT: 10000,
SIMPLEREST_EXTRA_OPTIONS: {},
SIMPLEREST_STRICT_SSL: true,
SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: ‘MERGE’,
SCRIPTING_TXT_EOL: ‘\n’,
SCRIPTING_XLSX_EOL_WRITE: ‘\r\n’,
SCRIPTING_XLSX_HASHEADERS: true,
SCRIPTING_CSV_SKIP_HEADER: true,
SCRIPTING_CSV_QUOTE: ‘"’,
SCRIPTING_CSV_ESCAPE: ‘"’,
SCRIPTING_NORMALIZE_TEXT: true,
SCRIPTING_ENABLE_MEMORY: false,
SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: true,
SCRIPTING_MATCHING_MODE: ‘wildcardIgnoreCase’,
SCRIPTING_UTTEXPANSION_MODE: ‘all’,
SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
SCRIPTING_UTTEXPANSION_NAMING_MODE: ‘justLineTag’,
SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: ‘16’,
SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
ASSERTERS: [],
LOGIC_HOOKS: [],
USER_INPUTS: [],
SECURITY_ALLOW_UNSAFE: true,
CONTAINERMODE: ‘simplerest’,
SIMPLEREST_URL: ‘api url’,
SIMPLEREST_RESPONSE_JSONPATH: ‘$.text’,
SIMPLEREST_PING_URL: ‘api url’,
SIMPLEREST_PING_HEADERS: {
Authorization: ‘Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5PbzNaRHJPRF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Z0cyIsInRpZCI6IjllNjZlMGI0LTc2OGMtNDUwNi1hMWI2LTdlNDRjODA1OTVmMiIsInVuaXF1ZV9uYW1lIjoiQWtlbGxhLk1hbmphcmlAbWl0aWUuY29tIiwidXBuIjoiQWtlbGxhLk1hbmphcmlAbWl0aWUuY29tIiwidXRpIjoicFNDcVNmNENMVTJVbW1va3A4Q1lBQSIsInZlciI6IjEuMCJ9.Vtcqq8Mv4yBgXyh6ZzTLZptQZrgaTWgnS4R5OzY-u5VuN91ZkUR7ENQq0W24GIEvNnR1IoGdMYp_WWSzT2rtURnKtk3SiUdeDVuwBSXqzSFZoGD4RHRJE8HpUWAWyAYJwrLvvjQFFkIttTA9diiI60VXMje8nw7jbnPqTHcOmUifWkLv5C4nzIG4kb1ttV3PO6Mgy24UiVzimqZncrA_iqFsRtCNy_13PP4OwwXVpuD7nFpdNAnsWHkKnjF9yKnKwR_d9Ubmz_JKZ5MrKD8WljsfE4nFYaC7QaHF-e6mewT-t_Tz2XP6VkGAgDoyvAMe1J45zzMX6JTzJrUtzHLAZg’,
‘Ocp-Apim-Subscription-Key’: ‘1b463f159ee341479996fbb0920108fa’,
‘Content-Type’: ‘application/json’
},
SIMPLEREST_PING_BODY: {
channel: {
clientId: ‘c8ac8ed4-5fc3-4586-9ea7-a63230671e3f’,
subChannel: ‘ar02’,
sessionId: null
},
user: { id: ‘’ },
message: {
text: ‘’,
timestamp: ‘2021-04-28T15:45:49.319Z’,
timezone: ‘GMT+0530’,
type: ‘message’
},
actionParams: {},
nluAttributes: {},
attachments: []
},
SIMPLEREST_INIT_CONTEXT: null,
SIMPLEREST_INIT_TEXT: null,
SIMPLEREST_CONTEXT_JSONPATH: null,
SIMPLEREST_HEADERS_TEMPLATE: {
Authorization: ‘Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsS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MiIsInVuaXF1ZV9uYW1lIjoiQWtlbGxhLk1hbmphcmlAbWl0aWUuY29tIiwidXBuIjoiQWtlbGxhLk1hbmphcmlAbWl0aWUuY29tIiwidXRpIjoicFNDcVNmNENMVTJVbW1va3A4Q1lBQSIsInZlciI6IjEuMCJ9.Vtcqq8Mv4yBgXyh6ZzTLZptQZrgaTWgnS4R5OzY-u5VuN91ZkUR7ENQq0W24GIEvNnR1IoGdMYp_WWSzT2rtURnKtk3SiUdeDVuwBSXqzSFZoGD4RHRJE8HpUWAWyAYJwrLvvjQFFkIttTA9diiI60VXMje8nw7jbnPqTHcOmUifWkLv5C4nzIG4kb1ttV3PO6Mgy24UiVzimqZncrA_iqFsRtCNy_13PP4OwwXVpuD7nFpdNAnsWHkKnjF9yKnKwR_d9Ubmz_JKZ5MrKD8WljsfE4nFYaC7QaHF-e6mewT-t_Tz2XP6VkGAgDoyvAMe1J45zzMX6JTzJrUtzHLAZg’,
‘Ocp-Apim-Subscription-Key’: ‘1b463f159ee341479996fbb0920108fa’,
‘Content-Type’: ‘application/json’
},
SIMPLEREST_BODY_TEMPLATE: {
channel: {
clientId: ‘c8ac8ed4-5fc3-4586-9ea7-a63230671e3f’,
subChannel: ‘ar02’,
sessionId: ‘{{context.sessionId}}’
},
user: { id: ‘’ },
message: {
text: ‘{{msg.messageText}}’,
timestamp: ‘2021-04-28T15:45:49.319Z’,
timezone: ‘GMT+0530’,
type: ‘message’
},
actionParams: {},
nluAttributes: {},
attachments: []
},
SIMPLEREST_REQUEST_HOOK: null,
SIMPLEREST_PROXY_URL: null,
SIMPLEREST_POLL_URL: null,
SIMPLEREST_POLL_HEADERS: null,
SIMPLEREST_POLL_BODY: null,
SIMPLEREST_BODY_JSONPATH: ‘$.message.generic[]’,
SIMPLEREST_MEDIA_JSONPATH: null,
SIMPLEREST_BUTTONS_JSONPATH: null,
SIMPLEREST_RESPONSE_HOOK: null,
SIMPLEREST_INBOUND_SELECTOR_JSONPATH: null,
SIMPLEREST_INBOUND_SELECTOR_VALUE: null,
SIMPLEREST_INBOUND_REDISURL: ‘redis://redis:6379’,
SIMPLEREST_REDIS_TOPIC: ‘qprod_SIMPLEREST_INBOUND_SUBSCRIPTION_PROD_SIMPLEREST_INBOUND_SUBSCRIPTION’,
TWILIO_IVR_REDISURL: ‘redis://redis:6379’,
TWILIO_IVR_REDIS_TOPICBASE: ‘qprod_SIMPLEREST_INBOUND_SUBSCRIPTION_PROD_TWILIO_IVR’
}
2021-04-28T15:58:08.978Z botium-core-BotDriver Build - Sources : { LOCALPATH: ‘.’, GITPATH: ‘git’, GITBRANCH: ‘master’, GITDIR: ‘.’ }
2021-04-28T15:58:08.978Z botium-core-BotDriver Build - Envs : { IS_BOTIUM_CONTAINER: true, BOTIUM_TEMPDIR: ‘./botiumwork’ }
2021-04-28T15:58:09.005Z botium-connector-PluginConnectorContainer-helper Botium plugin loaded from internal plugin resolver
2021-04-28T15:58:09.006Z botium-connector-BaseContainer _RunCustomHook onBuild finished
liveChatStartBot(861fc290-a83a-11eb-837a-6fc835f5deb9) container built, now starting
2021-04-28T15:58:09.008Z botium-connector-BaseContainer _RunCustomHook onStart finished
2021-04-28T15:58:09.021Z botium-connector-simplerest _makeCall(SIMPLEREST_PING): rest request: {“method”:“POST”,“uri”:“api url”,“followAllRedirects”:true,“timeout”:10000,“headers”:{“Authorization”:“Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJodHRwczovL2FyaWFkZXYuYXp1cmV3ZWJzaXRlcy5uZXQiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC85ZTY2ZTBiNC03NjhjLTQ1MDYtYTFiNi03ZTQ0YzgwNTk1ZjIvIiwiaWF0IjoxNjE5NjI0MzYzLCJuYmYiOjE2MTk2MjQzNjMsImV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Qq0W24GIEvNnR1IoGdMYp_WWSzT2rtURnKtk3SiUdeDVuwBSXqzSFZoGD4RHRJE8HpUWAWyAYJwrLvvjQFFkIttTA9diiI60VXMje8nw7jbnPqTHcOmUifWkLv5C4nzIG4kb1ttV3PO6Mgy24UiVzimqZncrA_iqFsRtCNy_13PP4OwwXVpuD7nFpdNAnsWHkKnjF9yKnKwR_d9Ubmz_JKZ5MrKD8WljsfE4nFYaC7QaHF-e6mewT-t_Tz2XP6VkGAgDoyvAMe1J45zzMX6JTzJrUtzHLAZg”,“Ocp-Apim-Subscription-Key”:“1b463f159ee341479996fbb0920108fa”,“Content-Type”:“application/json”},“body”:{“channel”:{“clientId”:“c8ac8ed4-5fc3-4586-9ea7-a63230671e3f”,“subChannel”:“ar02”,“sessionId”:null},“user”:{“id”:""},“message”:{“text”:"",“timestamp”:“2021-04-28T15:45:49.319Z”,“timezone”:“GMT+0530”,“type”:“message”},“actionParams”:{},“nluAttributes”:{},“attachments”:[]},“json”:true,“strictSSL”:true}
2021-04-28T15:58:09.022Z botium-connector-simplerest _waitForUrlResponse checking url api url before proceed
2021-04-28T15:58:15.505Z botium-connector-simplerest _waitForUrlResponse success on url check api url
liveChatStartBot(861fc290-a83a-11eb-837a-6fc835f5deb9) container started.
Received IPC message RUN_CONVO to worker. Message: {
license: {
buildIntegration: true,
testsetImport: true,
testsetExport: true,
excel: true,
parallelexecution: true,
api: true,
registerComponents: true,
edition: ‘premium’,
version: 2,
maxagents: 5,
detailedReporting: true,
deviceCloud: true,
bugExport: true,
gitIntegration: true,
performanceTesting: true,
securityTesting: true,
humanification: true,
gdprTesting: true,
coach: true,
paraphrasing: true,
monitoring: true,
notifications: true,
translation: true,
email: ‘vivek.chauhan6@wipro.com’,
validity: ‘2021-06-01T00:00:00+00:00’,
operability: ‘2021-06-15T00:00:00+00:00’,
iat: 1605703248,
iss: ‘Botium Gmbh’,
isVersionValid: true,
isValid: true,
isOperable: true
},
testSets: [],
script: ‘chatbothello\n#me\nHello\n#bot\n’,
scriptType: ‘SCRIPTING_TYPE_CONVO’,
scriptName: ‘chatbothello’
}
2021-04-28T15:58:15.509Z botium-core-BotDriver BuildCompiler: Capabilites: {
PROJECTNAME: ‘Botium Project’,
TESTSESSIONNAME: ‘Botium Test Session’,
TESTCASENAME: ‘Botium Test Case’,
TEMPDIR: ‘./botiumwork’,
CLEANUPTEMPDIR: true,
WAITFORBOTTIMEOUT: 600000,
SIMULATE_WRITING_SPEED: false,
SIMPLEREST_PING_RETRIES: 6,
SIMPLEREST_PING_TIMEOUT: 10000,
SIMPLEREST_PING_VERB: ‘POST’,
SIMPLEREST_PING_UPDATE_CONTEXT: false,
SIMPLEREST_STOP_RETRIES: 6,
SIMPLEREST_STOP_TIMEOUT: 10000,
SIMPLEREST_STOP_VERB: ‘GET’,
SIMPLEREST_START_RETRIES: 6,
SIMPLEREST_START_TIMEOUT: 10000,
SIMPLEREST_START_VERB: ‘GET’,
SIMPLEREST_POLL_VERB: ‘GET’,
SIMPLEREST_POLL_INTERVAL: 1000,
SIMPLEREST_POLL_UPDATE_CONTEXT: true,
SIMPLEREST_METHOD: ‘POST’,
SIMPLEREST_IGNORE_EMPTY: true,
SIMPLEREST_TIMEOUT: 10000,
SIMPLEREST_EXTRA_OPTIONS: {},
SIMPLEREST_STRICT_SSL: true,
SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: ‘MERGE’,
SCRIPTING_TXT_EOL: ‘\n’,
SCRIPTING_XLSX_EOL_WRITE: ‘\r\n’,
SCRIPTING_XLSX_HASHEADERS: true,
SCRIPTING_CSV_SKIP_HEADER: true,
SCRIPTING_CSV_QUOTE: ‘"’,
SCRIPTING_CSV_ESCAPE: ‘"’,
SCRIPTING_NORMALIZE_TEXT: true,
SCRIPTING_ENABLE_MEMORY: false,
SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: true,
SCRIPTING_MATCHING_MODE: ‘wildcardIgnoreCase’,
SCRIPTING_UTTEXPANSION_MODE: ‘all’,
SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
SCRIPTING_UTTEXPANSION_NAMING_MODE: ‘justLineTag’,
SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: ‘16’,
SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
ASSERTERS: [],
LOGIC_HOOKS: [],
USER_INPUTS: [],
SECURITY_ALLOW_UNSAFE: true,
CONTAINERMODE: ‘simplerest’,
SIMPLEREST_URL: ‘api url’,
SIMPLEREST_RESPONSE_JSONPATH: ‘$.text’,
SIMPLEREST_PING_URL: ‘api url’,
SIMPLEREST_PING_HEADERS: {
Authorization: ‘Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJodHRwczovL2FyaWFkZXYuYXp1cmV3ZWJzaXRlcy5uZXQiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC85ZTY2ZTBiNC03NjhjLTQ1MDYtYTFiNi03ZTQ0YzgwNTk1ZjIvIiwiaWF0IjoxNjE5NjI0MzYzLCJuYmYiOjE2MTk2MjQzNjMsImV4cCI6MTYxOTYyODI2MywiYWNjdCI6MCwiYWNyIjoiMSIsImFpbyI6IkUyWmdZRGhoZW9hYjhjYXFNMS9pTTNzbEdYZmZNekF6NXhZcloxSDd1K05LZE9uQmdnMEEiLCJhbXIiOlsid2lhIl0sImFwcGlkIjoiOTlhMmY2ZTgtYmZmZC00NTg3LWExNGQtNmQ1ZWM5YzIwNGQzIiwiYXBwaWRhY3IiOiIxIiwiYXV0aF90aW1lIjoxNjE5NTk1MTgzLCJlbWFpbCI6IkFrZWxsYS5NYW5qYXJpQG1pdGllLmNvbSIsImZhbWlseV9uYW1lIjoiTWFuamFyaSIsImdpdmVuX25hbWUiO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’
},
SIMPLEREST_PING_BODY: {
channel: {
clientId: ‘c8ac8ed4-5fc3-4586-9ea7-a63230671e3f’,
subChannel: ‘ar02’,
sessionId: null
},
user: { id: ‘’ },
message: {
text: ‘’,
timestamp: ‘2021-04-28T15:45:49.319Z’,
timezone: ‘GMT+0530’,
type: ‘message’
},
actionParams: {},
nluAttributes: {},
attachments: []
},
SIMPLEREST_INIT_CONTEXT: null,
SIMPLEREST_INIT_TEXT: null,
SIMPLEREST_CONTEXT_JSONPATH: null,
SIMPLEREST_HEADERS_TEMPLATE: {
Authorization: ‘Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJodHRwczovL2FyaWFkZXYuYXp1cmV3ZWJzaXRlcy5uZXQiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC85ZTY2ZTBiNC03NjhjLTQ1MDYtYTFiNi03ZTQ0YzgwNTk1ZjIvIiwiaWF0IjoxNjE5NjI0MzYzLCJuYmYiOjE2MTk2MjQzNjMsImV4cCI6MTYxOTYyODI2MywiYWNjdCI6MCwiYWNyIjoiMSIsImFpbyI6IkUyWmdZRGhoZW9hYjhjYXFNMS9pTTNzbEdYZmZNekF6NXhZcloxSDd1K05LZE9uQmdnMEEiLCJhbXIiOlsid2lhIl0sImFwcGlkIjoiOTlhMmY2ZTgtYmZmZC00NTg3LWExNGQtNmQ1ZWM5YzIwNGQzIiwiYXBwaWRhY3IiOiIxIiwiYXV0aF90aW1lIjoxNjE5NTk1MTgzLCJlbWFpbCI6IkFrZWxsYS5NYW5qYXJpQG1pdGllLmNvbSIsImZhbWlseV9uYW1lIjoiTWFuamFyaSIsImdpdmVuX25hbWUiOiJBa2VsbGEiLCJpbl9jb3JwIjoidHJ1ZSIsImlwYWRkciI6IjEzNi4yMjguMjI1LjEyNCIsIm5hbWUiOiJBa2VsbGEgTWFuamFyaSIsIm9pZCI6IjRhYmYzZTA2LTQwODItNGJhOC05YWFiLTU0OGRiNDIyMDFmZSIsIm9ucHJlbV9zaWQiOiJTLTEtNS0yMS0xMzgxNzE0NTcwLTgyMDkwNDA5Ny0xODMxMzQxNjQ2LTM4NDQzMiIsInJoIjoiMC5BUkFBdE9CbW5veDJCa1dodG41RXlBV1Y4dWoyb3BuOXY0ZEZvVTF0WHNuQ0JOTVFBT28uIiwic2NwIjoidXNlcl9pbXBlcnNvbmF0aW9uIiwic3ViIjoiZFpJM3FmVzlKajNNWi13VEF2cVBZeEZidE0wbl9lN29ZQmpEUkN1QWZ0cyIsInRpZCI6IjllNjZlMGI0LTc2OGMtNDUwNi1hMWI2LTdlNDRjODA1OTVmMiIsInVuaXF1ZV9uYW1lIjoiQWtlbGxhLk1hbmphcmlAbWl0aWUuY29tIiwidXBuIjoiQWtlbGxhLk1hbmphcmlAbWl0aWUuY29tIiwidXRpIjoicFNDcVNmNENMVTJVbW1va3A4Q1lBQSIsInZlciI6IjEuMCJ9.Vtcqq8Mv4yBgXyh6ZzTLZptQZrgaTWgnS4R5OzY-u5VuN91ZkUR7ENQq0W24GIEvNnR1IoGdMYp_WWSzT2rtURnKtk3SiUdeDVuwBSXqzSFZoGD4RHRJE8HpUWAWyAYJwrLvvjQFFkIttTA9diiI60VXMje8nw7jbnPqTHcOmUifWkLv5C4nzIG4kb1ttV3PO6Mgy24UiVzimqZncrA_iqFsRtCNy_13PP4OwwXVpuD7nFpdNAnsWHkKnjF9yKnKwR_d9Ubmz_JKZ5MrKD8WljsfE4nFYaC7QaHF-e6mewT-t_Tz2XP6VkGAgDoyvAMe1J45zzMX6JTzJrUtzHLAZg’,
‘Ocp-Apim-Subscription-Key’: ‘1b463f159ee341479996fbb0920108fa’,
‘Content-Type’: ‘application/json’
},
SIMPLEREST_BODY_TEMPLATE: {
channel: {
clientId: ‘c8ac8ed4-5fc3-4586-9ea7-a63230671e3f’,
subChannel: ‘ar02’,
sessionId: ‘{{context.sessionId}}’
},
user: { id: ‘’ },
message: {
text: ‘{{msg.messageText}}’,
timestamp: ‘2021-04-28T15:45:49.319Z’,
timezone: ‘GMT+0530’,
type: ‘message’
},
actionParams: {},
nluAttributes: {},
attachments: []
},
SIMPLEREST_REQUEST_HOOK: null,
SIMPLEREST_PROXY_URL: null,
SIMPLEREST_POLL_URL: null,
SIMPLEREST_POLL_HEADERS: null,
SIMPLEREST_POLL_BODY: null,
SIMPLEREST_BODY_JSONPATH: '$.message.generic[
]’,
SIMPLEREST_MEDIA_JSONPATH: null,
SIMPLEREST_BUTTONS_JSONPATH: null,
SIMPLEREST_RESPONSE_HOOK: null,
SIMPLEREST_INBOUND_SELECTOR_JSONPATH: null,
SIMPLEREST_INBOUND_SELECTOR_VALUE: null,
SIMPLEREST_INBOUND_REDISURL: ‘redis://redis:6379’,
SIMPLEREST_REDIS_TOPIC: ‘qprod_SIMPLEREST_INBOUND_SUBSCRIPTION_PROD_SIMPLEREST_INBOUND_SUBSCRIPTION’,
TWILIO_IVR_REDISURL: ‘redis://redis:6379’,
TWILIO_IVR_REDIS_TOPICBASE: ‘qprod_SIMPLEREST_INBOUND_SUBSCRIPTION_PROD_TWILIO_IVR’
}
2021-04-28T15:58:15.583Z botium-core-ScriptingProvider Using matching mode: wildcardIgnoreCase
2021-04-28T15:58:15.586Z botium-core-asserterUtils Loaded Default asserter - [
‘BUTTONS’, ‘MEDIA’,
‘CARDS’, ‘PAUSE_ASSERTER’,
‘JSON_PATH’, ‘RESPONSE_LENGTH’,
‘FORMS’, ‘ENTITIES’,
‘ENTITY_VALUES’, ‘ENTITY_CONTENT’,
‘INTENT’, ‘INTENT_UNIQUE’,
‘INTENT_CONFIDENCE’, ‘TEXT_CONTAINS_ANY’,
‘TEXT_CONTAINS_ANY_IC’, ‘TEXT_CONTAINS_ALL’,
‘TEXT_CONTAINS_ALL_IC’, ‘TEXT_WILDCARD_ANY’,
‘TEXT_WILDCARD_ANY_IC’, ‘TEXT_WILDCARD_ALL’,
‘TEXT_WILDCARD_ALL_IC’, ‘TEXT_REGEXP_ANY’,
‘TEXT_REGEXP_ANY_IC’, ‘TEXT_REGEXP_ALL’,
‘TEXT_REGEXP_ALL_IC’, ‘TEXT_EQUALS’,
‘TEXT_EQUALS_IC’, ‘TEXT’,
‘TEXT_IC’
]
2021-04-28T15:58:15.587Z botium-core-asserterUtils Loaded Default logic hook - [
‘PAUSE’,
‘WAITFORBOT’,
‘SET_SCRIPTING_MEMORY’,
‘CLEAR_SCRIPTING_MEMORY’,
‘ASSIGN_SCRIPTING_MEMORY’,
‘UPDATE_CUSTOM’,
‘INCLUDE’
]
2021-04-28T15:58:15.587Z botium-core-asserterUtils Loaded Default user input - [ ‘BUTTON’, ‘MEDIA’, ‘FORM’ ]
2021-04-28T15:58:15.600Z botium-core-Convo chatbothello/Line 2: user says (cleaned by binary and base64 data and sourceData) {
“sender”: “me”,
“channel”: null,
“not”: false,
“optional”: false,
“messageText”: “Hello”,
“media”: null,
“buttons”: null,
“cards”: null,
“forms”: null,
“attachments”: null,
“asserters”: [],
“userInputs”: [],
“logicHooks”: []
}
2021-04-28T15:58:15.600Z botium-connector-BaseContainer _RunCustomHook onUserSays finished
2021-04-28T15:58:15.603Z botium-connector-simplerest constructed requestOptions {
“uri”: “api url/”,
“method”: “POST”,
“followAllRedirects”: true,
“timeout”: 10000,
“headers”: {
“Authorization”: “Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJodHRwczovL2FyaWFkZXYuYXp1cmV3ZWJzaXRlcy5uZXQiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC85ZTY2ZTBiNC03NjhjLTQ1MDYtYTFiNi03ZTQ0YzgwNTk1Zj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qq8Mv4yBgXyh6ZzTLZptQZrgaTWgnS4R5OzY-u5VuN91ZkUR7ENQq0W24GIEvNnR1IoGdMYp_WWSzT2rtURnKtk3SiUdeDVuwBSXqzSFZoGD4RHRJE8HpUWAWyAYJwrLvvjQFFkIttTA9diiI60VXMje8nw7jbnPqTHcOmUifWkLv5C4nzIG4kb1ttV3PO6Mgy24UiVzimqZncrA_iqFsRtCNy_13PP4OwwXVpuD7nFpdNAnsWHkKnjF9yKnKwR_d9Ubmz_JKZ5MrKD8WljsfE4nFYaC7QaHF-e6mewT-t_Tz2XP6VkGAgDoyvAMe1J45zzMX6JTzJrUtzHLAZg”,
“Ocp-Apim-Subscription-Key”: “1b463f159ee341479996fbb0920108fa”,
“Content-Type”: “application/json”
},
“body”: {
“channel”: {
“clientId”: “c8ac8ed4-5fc3-4586-9ea7-a63230671e3f”,
“subChannel”: “ar02”,
“sessionId”: “”
},
“user”: {
“id”: “”
},
“message”: {
“text”: “Hello”,
“timestamp”: “2021-04-28T15:45:49.319Z”,
“timezone”: “GMT+0530”,
“type”: “message”
},
“actionParams”: {},
“nluAttributes”: {},
“attachments”: []
},
“json”: true,
“strictSSL”: true
}
2021-04-28T15:58:16.852Z botium-connector-simplerest got response code: 200, body: {
“sessionId”: “f581ace3-a61e-4763-a39d-82955ad51b36”,
“transactionId”: “29194”,
“message”: {
“generic”: [
{
“text”: “Hello Akella”,
“type”: “text”
}
],
“messageFormat”: “plain”,
“timestamp”: “2021-04-28T15:58:16.762Z”,
“type”: “message”,
“tiles”: []
},
“nluAttributes”: {
“showAttachments”: true
},
“actionParameters”: {}
}
2021-04-28T15:58:16.852Z botium-connector-simplerest Async body is queued for processing.
2021-04-28T15:58:16.854Z botium-connector-simplerest current session context: {
sessionId: ‘f581ace3-a61e-4763-a39d-82955ad51b36’,
transactionId: ‘29194’,
message: {
generic: [ [Object] ],
messageFormat: ‘plain’,
timestamp: ‘2021-04-28T15:58:16.762Z’,
type: ‘message’,
tiles: []
},
nluAttributes: { showAttachments: true },
actionParameters: {}
}
2021-04-28T15:58:16.859Z botium-connector-simplerest eval json path $.text
2021-04-28T15:58:16.860Z botium-connector-simplerest found response texts: [ ‘Hello Akella’ ]
2021-04-28T15:58:16.861Z botium-core-Convo chatbothello wait for bot
2021-04-28T15:58:16.863Z botium-connector-BaseContainer _RunCustomHook onBotResponse finished
2021-04-28T15:58:16.863Z botium-core-Convo chatbothello: bot says (cleaned by binary and base64 data and sourceData) {
“messageText”: “Hello Akella”,
“media”: [],
“buttons”: [],
“channel”: “default”,
“sender”: “bot”
}
Running Convo “chatbothello” completed successfully.
Received IPC message STOP_CONVERSATION to worker.
2021-04-28T15:58:16.865Z botium-connector-BaseContainer _RunCustomHook onStop finished
2021-04-28T15:58:16.867Z botium-connector-BaseContainer _RunCustomHook onClean finished
2021-04-28T15:58:16.867Z botium-connector-BaseContainer Cleanup rimrafing temp dir /app/server/botiumwork/Botium Project 20210428 155808 rEppT
stopConversation(861fc290-a83a-11eb-837a-6fc835f5deb9) container stopped.

Thanks for log output.
First, the SIMPLEREST_PING_UPDATE_CONTEXT capability should be activated, so the response of the session setup call is actually used for session context tracking in Botium.

Second, did I understand right, that you want to have the response of the session setup request be already part of the conversation, a kind of “welcome” message from the chatbot, before any user interaction takes place ?
If yes, this is not yet supported, but as we know that this is needed it is already part of our sprint planning and will be part of the next release (next week).

Thank you Florian for quick response.

I have updated SIMPLEREST_PING_UPDATE_CONTEXT to true but still no luck.

Yes, session Id will be created as part of Welcome message. (Example below response)

{
“sessionId”: “bc894c51-8e20-4919-a61e-82a15e7c9717”,
“transactionId”: “29203”,
“message”: {
“generic”: [
{
“text”: “Good evening Akella Manjari. I’m your virtual assistant.”,
“type”: “text”
},

and the session ID created above must be used for the remaining conversation so it can fetch location details etc to create service tickets.

In Botium, the above welcome message is not displaying and session is getting created only after we input something and hence it is not able to fetch the location details etc…

We tried the same in PostMan and it is working as expected there.

Any ideas please?

Yes, waiting until we have the required feature available in Botium Box

Thank you Florian for confirming. Will wait for the same.