Skip to content

aws-samples/amazon-lex-bot-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

amazon-lex-bot-test

This is an example script to demonstrate how one can regression test an Amazon Lex bot. It relies on the AWS SDK and the Amazon Lex Runtime Service API.

The user must have IAM permissions to invoke the API functions (e.g., AmazonLexReadOnly).

To install

# git clone ...
# npm install

To use

$ node testlexbot.js <TestConfigFile>
# examples:
# node testlexbot.js test/CoffeeBot-main.json
# node testlexbot.js test/CoffeeBot-main.json 2>&1 > results.txt
# node testlexbot.js test/CoffeeBot-main.json 2>&1 > results.txt && ./bin/summarizeResults.sh results.txt

License

This sample code is made available under the MIT-0 license. See the LICENSE file.

About

Script to test an Amazon Lex bot using the Amazon Lex Runtime API.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •