AWS lex with Lambda

Greetings !

I wanted to know regarding the botium script if it supports the response from aws lambda as a part of .convo file.

I am trying to achieve one response from lambda and other one from lex. So please guide if its possible in Botium Script.

— Sample Script Start —
#me
what is my bill information ?

#bot from lambda
Certainly, I can help you with that, just select the policy from the below card
CARD AB11111111|BP12312312

#me
CARD AB11111111

#bot
You have a $1233 balance on your policy AB11111111.
– Sample script end –
– Botium verbose start—

Botium Test-Suite
botium-core-BotDriver Build - Botium Core Version: 1.11.15 +658ms
botium-core-BotDriver Build - Capabilites: {
botium-core-BotDriver PROJECTNAME: ‘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_PING_PROCESS_RESPONSE: false,
botium-core-BotDriver SIMPLEREST_INIT_PROCESS_RESPONSE: false,
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_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_START_PROCESS_RESPONSE: true,
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 SCRIPTING_FORCE_BOT_CONSUMED: false,
botium-core-BotDriver ASSERTERS: [],
botium-core-BotDriver LOGIC_HOOKS: [],
botium-core-BotDriver USER_INPUTS: [],
botium-core-BotDriver SECURITY_ALLOW_UNSAFE: true,
— Botium verbose end —
I am curious to know if its possible to send some session attributes as a part of botium json since I would like to pass some user details from where the user name and other details like location can be asserted.

Thanks a lot for a great piece of software !!

It is possible to send session attributes with Botium - see LEX_SESSION_ATTRIBUTES capability.

As far as I can see it, Lambda and Lex are integrated very tightly, so I am pretty sure that the Lambda output will be part of the Lex result and will be visible and usable for Botium. Is the Lambda part of the response shown in the verbose Botium output already ?