SlideShare ist ein Scribd-Unternehmen logo
1 von 13
#ATAGTR2019
Performance Testing of Amazon Lex Chatbot &
Alexa enabled Smart Speakers
Raja Kaliappan (Raja.RajaKaliappan@cognizant.com) & Sarah Lovely S (SarahLovely.S@cognizant.com),
Cognizant
14th-15th Dec 2019
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Market Predictions for 2020
Chatbots & Smart Speakers
Key Market Players Benefits
Customer service interactions
will be powered by Chatbots85%
Businesses expected to have
some Chatbot automation
implemented
80%
US households will have Voice
Assistant Smart Speakers75%
138 Million Voice Assistant
Smart Speakers will be in
use with an audience of
258 million
138MM
Amazon Lex
IBM Watson
Microsoft LUIS
Google DialogFlow
Amazon Echo devices
enabled by Alexa
Google Home
24/7 Service
Faster Service
Business Automation
Enhanced UX
Cost reduction
Scalability
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Amazon Lex - Chatbot service
Amazon Lex
 An AWS service that enables building
conversational interfaces using voice and text
 Provides deep functionality and flexibility of Natural
Language Understanding (NLU) and Automatic
Speech Recognition (ASR) to build highly
engaging user experiences
 A fully managed service that scales automatically
with no need of infrastructure management
 Pay-as-you-use model and charged based on
number of requests
FEATURES
Natural Language Understanding
Automatic Speech Recognition
Seamless Deployment
Auto Scaling
Cost Effective
Interoperability with AWS services
Text & Voice Support
Ease of Development
KEY BENEFITS
Simple Bot development through
conversation flow definition
Auto scalable platform eliminating
infrastructure overheads
No upfront cost and cost for idle time
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Amazon LEX / Alexa – Interaction Model
Wake word Launch Invocation Name Utterance
Alexa, tell Domino Pizza, I need a pizza
Lex identifies the user intent as Order Pizza
Slot
Sure, what size pizza do you want?
Lex prompts to elicit the Slot Size
Prompt
Slot Value
I want a medium sized Pizza
Lex captures the Slot value Medium
I have placed your order and you will be
receiving your pizza shortly
Lex fulfills the Intent by placing the order
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
AWS Lambda – Code hooks for Lex
AWS Lambda
Serverless platform letting one run code without
provisioning (or) managing servers
Execution of Lambda functions (Your code) is
event driven and can be triggered from other
AWS services like Lex, S3 events, DynamoDB,
API Gateway etc.
Automatically scales and launches as many
copies of the code as and when triggered and
executes them in parallel
Cost effective with Pay-as-you-use model and
you are charged only for number of requests and
the duration of the execution
LEX Chatbot Architecture
Lambda Role in a Lex Chatbot
 Initialization & Validation code hooks
(E.g. Validation of data inputs from the user – Claim Number format validation)
 Fulfilment code hooks
(E.g. Calls to On-premise Claims application for getting Claims Status)
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Lex Chatbot Performance – Key Considerations
Critical Intents
 Identify business critical Intents, test for maximum number of
possible utterances so AI feature of the Bot is put to test under load
Peak Workload
 Maximum concurrent connections to Lex and maximum request rate
for the critical intents
End User
Response Time
 Define & validate SLA for End user response time
Lex Latency  Validate & set baseline for Lex Latency
Lambda
Execution Time
 Monitor and improve Lambda Execution time with code and/or
memory optimization
Lambda Memory
Configuration
 Configure Optimal memory for Lambda function considering
performance & cost
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Lex Chatbot Performance Test Approach
Performance Testing & Monitoring Approach for a Lex Chatbot
Performance &
Scalability Assurance
High Availability Optimized Cloud Cost
Best End User
Customer Experience
Key Benefits
Lex API Tests Lex Monitoring Lambda Monitoring Enterprise Services
Monitoring
Load test Lex API for
different throughput &
Lambda memory
configurations and optimize
both performance & cost
Leverage CloudWatch
dashboard to monitor
Lex metrics like Lex
Latency, Lex
Throughput etc.
Monitor built-in Lambda metrics
in CloudWatch and build &
monitor custom metrics like
memory consumption by
extracting CloudWatch logs
Leverage Enterprise APM
tools like Dynatrace,
AppDynamics for monitoring
on premise Infrastructure &
Application
E2E Tests
Simulate load from UI to
capture end user
performance for different
throughputs & validate
against SLA
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
 Chatbot Initial Connection for first few initial requests observed to
take higher time
 End User & Lex API Response time affected by user proximity /
Request origin
 Lex Latency observed to be consistent for different test user loads
 Lambda Cold Starts causing higher response time for initial few
utterances
 Lambda Execution Time improves with higher memory configuration
but at cost of higher price
 Lambda Overbilled Duration can be a factor in considering for cost
reduction
Lex Chatbot Performance - Observations
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Lex Chatbot Performance – Best Practices
Balance both Lambda Performance &
Cost by right memory configuration
Maintain proximity between User base
location, Bot orchestration & AWS
resources to avoid network latency
Best Coding practices to optimize
Lambda Execution Time and optimize
Overbilled duration
Implement plugins to keep Lambda
containers warm at right intervals to
avoid Cold starts
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Alexa Architecture
Request Voice Stream
Response Voice Stream
Request Text
Response Text
Alexa Voice Service Custom Alexa Skill
+ Alexa Skill Kit
AWS Lambda
Enterprise Services
Other AWS Services
Alexa enabled
device
User
API test for Alexa Skill API
Performance
E2E Response Time ?
Speech Recognition
Natural Language Processing
Interaction model
definition
Logic Execution
Backend Calls
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Web Speech API
Web Speech API
Converts input text in the web page into
speech using device’s speech synthesis
system and plays it out of a device’s
speaker
Speech Synthesis (Text-to-Speech)
Receives speech through a device’s
microphone and converts into text through
either device’s or server based recognition
system & outputs the text in the web page
Speech Recognition (Speech-to-Text)
#ATAGTR2019
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial
channels(Provided due credit is given to me/us)
Alexa End User Performance Evaluation
 Automates real world voice
based interactions and assesses
end-to-end performance of Smart
Speakers like Amazon Echo
(Alexa) & Google Home devices for
a single user
 Automated reports with Response
time metrics and SLA
validation highlighting outlying
utterances
 Identification of performance
issues of smart speakers at
the end user level
 Elimination of human effort
required for voice based
testing with automation of test
execution & reporting
 Need for automation of voice
based testing for Smart speakers
 Used in unison with load testing
of Alexa Skill API / Lex API to
capture end user response time
of Smart speakers
Features BenefitsWhere can it be used?
In-browser Speech Synthesis for
pre-defined user utterances
In-browser Recognition of voice
responses from Smart Speakers
Powered by
Web Speech API
Alexa End User Performance Evaluation Solution using Web Speech API
How it works
Thank You

Weitere Àhnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Deep Dive: Amazon Lex
Deep Dive: Amazon LexDeep Dive: Amazon Lex
Deep Dive: Amazon Lex
 
Cloud-Native Roadshow Boston: Google
Cloud-Native Roadshow Boston: GoogleCloud-Native Roadshow Boston: Google
Cloud-Native Roadshow Boston: Google
 
Building Alexa Skills - Floor28
Building Alexa Skills - Floor28Building Alexa Skills - Floor28
Building Alexa Skills - Floor28
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Build a Serverless Backend for Requesting a Ride
Build a Serverless Backend for Requesting a RideBuild a Serverless Backend for Requesting a Ride
Build a Serverless Backend for Requesting a Ride
 
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
Modern Applications Web Day | Manage Your Infrastructure and Configuration on...
 
Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018
 
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
 
Building Mobile Apps with AWS Amplify
Building Mobile Apps with AWS AmplifyBuilding Mobile Apps with AWS Amplify
Building Mobile Apps with AWS Amplify
 
Marcia Villalba "Developing Serverless Applications with GraphQL"
Marcia Villalba "Developing Serverless Applications with GraphQL"Marcia Villalba "Developing Serverless Applications with GraphQL"
Marcia Villalba "Developing Serverless Applications with GraphQL"
 
Modern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWSModern Applications Web Day | Container Workloads on AWS
Modern Applications Web Day | Container Workloads on AWS
 
AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012  AADI Mashery/Coca-Cola Enterprises November 2012
AADI Mashery/Coca-Cola Enterprises November 2012
 
Supercharge Any Alexa Skill by Understanding What Games Do (ALX403-R2) - AWS ...
Supercharge Any Alexa Skill by Understanding What Games Do (ALX403-R2) - AWS ...Supercharge Any Alexa Skill by Understanding What Games Do (ALX403-R2) - AWS ...
Supercharge Any Alexa Skill by Understanding What Games Do (ALX403-R2) - AWS ...
 
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
 
Create a "Question and Answer" Bot with Amazon Lex and Amazon Alexa (AIM314) ...
Create a "Question and Answer" Bot with Amazon Lex and Amazon Alexa (AIM314) ...Create a "Question and Answer" Bot with Amazon Lex and Amazon Alexa (AIM314) ...
Create a "Question and Answer" Bot with Amazon Lex and Amazon Alexa (AIM314) ...
 
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
 
Fortify your API's
Fortify your API'sFortify your API's
Fortify your API's
 
Introduction to AWS Amplify CLI
Introduction to AWS Amplify CLIIntroduction to AWS Amplify CLI
Introduction to AWS Amplify CLI
 
Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017
Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017
Building ChatBots with Amazon Lex - AWS Summit Tel Aviv 2017
 
Build a Web Authentication System with a Custom UI
Build a Web Authentication System with a Custom UIBuild a Web Authentication System with a Custom UI
Build a Web Authentication System with a Custom UI
 

Ähnlich wie #ATAGTR2019 Presentation "Performance testing of Chatbot" By Sarah Lovely and Raja RajKaliappan

äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș
äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș
äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș
Amazon Web Services
 

Ähnlich wie #ATAGTR2019 Presentation "Performance testing of Chatbot" By Sarah Lovely and Raja RajKaliappan (20)

#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
 
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
 
SRV326 Build a Voice-based Chatbot for Your Amazon Connect Contact Center
 SRV326 Build a Voice-based Chatbot for Your Amazon Connect Contact Center SRV326 Build a Voice-based Chatbot for Your Amazon Connect Contact Center
SRV326 Build a Voice-based Chatbot for Your Amazon Connect Contact Center
 
Architecting DevOps Ready Application
Architecting DevOps Ready Application Architecting DevOps Ready Application
Architecting DevOps Ready Application
 
Amazon Lex Chatbot Tutorial | Amazon Lex Chatbot Demo | AWS Certification Tra...
Amazon Lex Chatbot Tutorial | Amazon Lex Chatbot Demo | AWS Certification Tra...Amazon Lex Chatbot Tutorial | Amazon Lex Chatbot Demo | AWS Certification Tra...
Amazon Lex Chatbot Tutorial | Amazon Lex Chatbot Demo | AWS Certification Tra...
 
Enhance customer experience with Conversational Interfaces
Enhance customer experience with Conversational InterfacesEnhance customer experience with Conversational Interfaces
Enhance customer experience with Conversational Interfaces
 
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
 
Develop Enterprise Voice Solutions with Alexa for Business & Amazon Lex (BAP3...
Develop Enterprise Voice Solutions with Alexa for Business & Amazon Lex (BAP3...Develop Enterprise Voice Solutions with Alexa for Business & Amazon Lex (BAP3...
Develop Enterprise Voice Solutions with Alexa for Business & Amazon Lex (BAP3...
 
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman #ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
 
#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug
#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug
#ATAGTR2019 Presentation "Blockchain and Continuous Testing" By Rutvikkumar Mrug
 
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
 
Alexa vs Google Assistant - Comparison
Alexa vs Google Assistant - ComparisonAlexa vs Google Assistant - Comparison
Alexa vs Google Assistant - Comparison
 
SPEKE-ing of Content Protection & DRM (MAE302) - AWS re:Invent 2018
SPEKE-ing of Content Protection & DRM (MAE302) - AWS re:Invent 2018SPEKE-ing of Content Protection & DRM (MAE302) - AWS re:Invent 2018
SPEKE-ing of Content Protection & DRM (MAE302) - AWS re:Invent 2018
 
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
Bring the Power of AI to Your Amazon Connect Contact Center (BAP322-R1) - AWS...
 
Build a Voice-Based Chatbot for Your Amazon Connect Contact Center
Build a Voice-Based Chatbot for Your Amazon Connect Contact CenterBuild a Voice-Based Chatbot for Your Amazon Connect Contact Center
Build a Voice-Based Chatbot for Your Amazon Connect Contact Center
 
Addressing the challenges of delivering Microservice applications in the ente...
Addressing the challenges of delivering Microservice applications in the ente...Addressing the challenges of delivering Microservice applications in the ente...
Addressing the challenges of delivering Microservice applications in the ente...
 
Voice Powered Analytics: Data Analytics Week at the SF Loft
Voice Powered Analytics: Data Analytics Week at the SF LoftVoice Powered Analytics: Data Analytics Week at the SF Loft
Voice Powered Analytics: Data Analytics Week at the SF Loft
 
Use Alexa to Reach Millions of New Customers by Developing for Multiple Scree...
Use Alexa to Reach Millions of New Customers by Developing for Multiple Scree...Use Alexa to Reach Millions of New Customers by Developing for Multiple Scree...
Use Alexa to Reach Millions of New Customers by Developing for Multiple Scree...
 
DevOps Architecture Design
DevOps Architecture DesignDevOps Architecture Design
DevOps Architecture Design
 
äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș
äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș
äœżç”š Amazon Lex ćœšæ‡‰ç”šçš‹ćŒäž­ć»șç«‹ć°è©±ćŒæ©Ÿć™šäșș
 

Mehr von Agile Testing Alliance

Mehr von Agile Testing Alliance (20)

#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
 
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
 
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
 
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
 
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
 
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
 
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
 
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
 
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
 
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
 
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
 
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
 
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
 
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
 
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
 
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
 
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
 
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
 
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
 
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
 

KĂŒrzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

KĂŒrzlich hochgeladen (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

#ATAGTR2019 Presentation "Performance testing of Chatbot" By Sarah Lovely and Raja RajKaliappan

  • 1. #ATAGTR2019 Performance Testing of Amazon Lex Chatbot & Alexa enabled Smart Speakers Raja Kaliappan (Raja.RajaKaliappan@cognizant.com) & Sarah Lovely S (SarahLovely.S@cognizant.com), Cognizant 14th-15th Dec 2019
  • 2. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Market Predictions for 2020 Chatbots & Smart Speakers Key Market Players Benefits Customer service interactions will be powered by Chatbots85% Businesses expected to have some Chatbot automation implemented 80% US households will have Voice Assistant Smart Speakers75% 138 Million Voice Assistant Smart Speakers will be in use with an audience of 258 million 138MM Amazon Lex IBM Watson Microsoft LUIS Google DialogFlow Amazon Echo devices enabled by Alexa Google Home 24/7 Service Faster Service Business Automation Enhanced UX Cost reduction Scalability
  • 3. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Amazon Lex - Chatbot service Amazon Lex  An AWS service that enables building conversational interfaces using voice and text  Provides deep functionality and flexibility of Natural Language Understanding (NLU) and Automatic Speech Recognition (ASR) to build highly engaging user experiences  A fully managed service that scales automatically with no need of infrastructure management  Pay-as-you-use model and charged based on number of requests FEATURES Natural Language Understanding Automatic Speech Recognition Seamless Deployment Auto Scaling Cost Effective Interoperability with AWS services Text & Voice Support Ease of Development KEY BENEFITS Simple Bot development through conversation flow definition Auto scalable platform eliminating infrastructure overheads No upfront cost and cost for idle time
  • 4. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Amazon LEX / Alexa – Interaction Model Wake word Launch Invocation Name Utterance Alexa, tell Domino Pizza, I need a pizza Lex identifies the user intent as Order Pizza Slot Sure, what size pizza do you want? Lex prompts to elicit the Slot Size Prompt Slot Value I want a medium sized Pizza Lex captures the Slot value Medium I have placed your order and you will be receiving your pizza shortly Lex fulfills the Intent by placing the order
  • 5. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) AWS Lambda – Code hooks for Lex AWS Lambda Serverless platform letting one run code without provisioning (or) managing servers Execution of Lambda functions (Your code) is event driven and can be triggered from other AWS services like Lex, S3 events, DynamoDB, API Gateway etc. Automatically scales and launches as many copies of the code as and when triggered and executes them in parallel Cost effective with Pay-as-you-use model and you are charged only for number of requests and the duration of the execution LEX Chatbot Architecture Lambda Role in a Lex Chatbot  Initialization & Validation code hooks (E.g. Validation of data inputs from the user – Claim Number format validation)  Fulfilment code hooks (E.g. Calls to On-premise Claims application for getting Claims Status)
  • 6. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Lex Chatbot Performance – Key Considerations Critical Intents  Identify business critical Intents, test for maximum number of possible utterances so AI feature of the Bot is put to test under load Peak Workload  Maximum concurrent connections to Lex and maximum request rate for the critical intents End User Response Time  Define & validate SLA for End user response time Lex Latency  Validate & set baseline for Lex Latency Lambda Execution Time  Monitor and improve Lambda Execution time with code and/or memory optimization Lambda Memory Configuration  Configure Optimal memory for Lambda function considering performance & cost
  • 7. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Lex Chatbot Performance Test Approach Performance Testing & Monitoring Approach for a Lex Chatbot Performance & Scalability Assurance High Availability Optimized Cloud Cost Best End User Customer Experience Key Benefits Lex API Tests Lex Monitoring Lambda Monitoring Enterprise Services Monitoring Load test Lex API for different throughput & Lambda memory configurations and optimize both performance & cost Leverage CloudWatch dashboard to monitor Lex metrics like Lex Latency, Lex Throughput etc. Monitor built-in Lambda metrics in CloudWatch and build & monitor custom metrics like memory consumption by extracting CloudWatch logs Leverage Enterprise APM tools like Dynatrace, AppDynamics for monitoring on premise Infrastructure & Application E2E Tests Simulate load from UI to capture end user performance for different throughputs & validate against SLA
  • 8. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)  Chatbot Initial Connection for first few initial requests observed to take higher time  End User & Lex API Response time affected by user proximity / Request origin  Lex Latency observed to be consistent for different test user loads  Lambda Cold Starts causing higher response time for initial few utterances  Lambda Execution Time improves with higher memory configuration but at cost of higher price  Lambda Overbilled Duration can be a factor in considering for cost reduction Lex Chatbot Performance - Observations
  • 9. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Lex Chatbot Performance – Best Practices Balance both Lambda Performance & Cost by right memory configuration Maintain proximity between User base location, Bot orchestration & AWS resources to avoid network latency Best Coding practices to optimize Lambda Execution Time and optimize Overbilled duration Implement plugins to keep Lambda containers warm at right intervals to avoid Cold starts
  • 10. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Alexa Architecture Request Voice Stream Response Voice Stream Request Text Response Text Alexa Voice Service Custom Alexa Skill + Alexa Skill Kit AWS Lambda Enterprise Services Other AWS Services Alexa enabled device User API test for Alexa Skill API Performance E2E Response Time ? Speech Recognition Natural Language Processing Interaction model definition Logic Execution Backend Calls
  • 11. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Web Speech API Web Speech API Converts input text in the web page into speech using device’s speech synthesis system and plays it out of a device’s speaker Speech Synthesis (Text-to-Speech) Receives speech through a device’s microphone and converts into text through either device’s or server based recognition system & outputs the text in the web page Speech Recognition (Speech-to-Text)
  • 12. #ATAGTR2019 As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us) Alexa End User Performance Evaluation  Automates real world voice based interactions and assesses end-to-end performance of Smart Speakers like Amazon Echo (Alexa) & Google Home devices for a single user  Automated reports with Response time metrics and SLA validation highlighting outlying utterances  Identification of performance issues of smart speakers at the end user level  Elimination of human effort required for voice based testing with automation of test execution & reporting  Need for automation of voice based testing for Smart speakers  Used in unison with load testing of Alexa Skill API / Lex API to capture end user response time of Smart speakers Features BenefitsWhere can it be used? In-browser Speech Synthesis for pre-defined user utterances In-browser Recognition of voice responses from Smart Speakers Powered by Web Speech API Alexa End User Performance Evaluation Solution using Web Speech API How it works

Hinweis der Redaktion

  1. Key message – Adoption is by major companies, across industry
  2. Key message – Adoption is by major companies, across industry