SlideShare a Scribd company logo
1 of 18
http://elastest.io
User Impersonation as
a Service in End-to-End
Testing
Funded by the
European Union
Boni García
boni.garcia@urjc.es
MODELSWARD Special Sessions (AMARETTO 2018)
January 23rd 2018 | Funchal, Portugal
Table of contents
1. Introduction
2. Background
3. ElasTest: platform for end-to-end testing
4. User Impersonation as a Service
5. Case study: testing WebRTC applications
6. Conclusions and future work
2
1. Introduction
• Large distributed heterogenous systems are more
and more common (e.g. microservices
architectures, cloud native apps, etc.)
• Testing this kind of software is complex, especially
to verify the system as a whole
3
End-to-end testing
happens at system
level with users
impersonated
Table of contents
1. Introduction
2. Background
3. ElasTest: platform for end-to-end testing
4. User Impersonation as a Service
5. Case study: testing WebRTC applications
6. Conclusions and future work
4
2. Background
• Recent surveys confirm
the existence of gap
between the current
and the desired status
of test automation for
distributed
heterogeneous
systems, prioritizing the
relevance of test
automation features for
these systems
(Lima, 2016)
5
25%
52%
7%
16%
WHAT IS THE LEVEL OF TEST AUTOMATION FOR
DISTRIBUTED AND HETEROGENEOUS SYSTEMS?
Only manual testing
Automatic test execution (with manual test scripting/coding)
Automatic test generation (with manual execution)
Automatic test generation and execution
2. Background
• The main mechanism used in the current state-of-
the-art for the functional testing of web and mobile
applications consists on impersonating a user
through some kind of GUI automation
• Selenium is the most popular solution:
6
Table of contents
1. Introduction
2. Background
3. ElasTest: platform for end-to-end testing
4. User Impersonation as a Service
5. Case study: testing WebRTC applications
6. Conclusions and future work
7
3. ElasTest: platform for end-to-end testing
• ElasTest is an open source platform aimed to
ease the end-to-end testing activities for different
types of distributed applications and services
• ElasTest manages the full testing lifecycle,
deploying and monitoring the SUT, executing the
end-to-end tests and exposing the results to
software engineers and testers
8
http://elastest.io/
3. ElasTest: platform for end-to-end testing
• ElasTest architecture:
9
Table of contents
1. Introduction
2. Background
3. ElasTest: platform for end-to-end testing
4. User Impersonation as a Service
5. Case study: testing WebRTC applications
6. Conclusions and future work
10
4. User Impersonation as a Service
• ElasTest implements an user impersonation as a
service capability that provides Software as a
Service (SaaS) extending the W3C WebDriver
with advanced capabilities:
1. Evaluation of the perceived Quality of
Experience (QoE) of users on real-time
multimedia applications
2. Equivalent automation capability for sensors
and smart devices for Internet of Things (IoT)
11
4. User Impersonation as a Service
• Extension to W3C WebDriver recommendation by
ElasTest User Impersonation Service:
12
Method Path Description
POST /session/{sessionId}/element/{elementId}/event Subscribe to a given event
within an element
GET /session/{sessionId}/event/{subscriptionId} Read the value of event for a
given subscription
DELETE /session/{sessionId}/event/{subscriptionId} Remove a subscription
GET /session/{sessionId}/vnc Get remote session
DELETE /session/{sessionId}/vnc Delete remote session
POST /session/{sessionId}/usermedia Set user media for WebRTC
GET /session/{sessionId}/stats Read the WebRTC stats
POST /session/{sessionId}/element/{elementId}/latency Measure end-to-end latency of
a WebRTC session
POST /session/{sessionId}/element/{elementId}/quality Measure quality of a WebRTC
session
Table of contents
1. Introduction
2. Background
3. ElasTest: platform for end-to-end testing
4. User Impersonation as a Service
5. Case study: testing WebRTC applications
6. Conclusions and future work
13
5. Case study: testing WebRTC applications
• WebRTC is the umbrella term for a number of
technologies aimed to bring Real Time
Communications to the Web
• W3C (JavaScript APIs): getUserMedia,
PeerConnection, DataChannels
• IETF (protocol stack): ICE, SDP, TURN, STUN, …
14
5. Case study: testing WebRTC applications
• Our case study is based on
OpenVidu, an open source
videoconferencing WebRTC
framework
• Question driving this study:
“Is the ElasTest user
impersonation service
capable of improving the
end-to-end testing process
within the OpenVidu
project?”
15
http://openvidu.io/
5. Case study: testing WebRTC applications
• Demo
16
Table of contents
1. Introduction
2. Background
3. ElasTest: platform for end-to-end testing
4. User Impersonation as a Service
5. Case study: testing WebRTC applications
6. Conclusions and future work
17
6. Conclusions and future work
• ElasTest is an open source platform aimed to
ease end-to-end tests for heterogenous large
distributed systems
• ElasTest implements a User Impersonation as a
Service (UIaaS) extending the W3C WebDriver
recommendation
• Existing test codebases with Selenium and
Appium are completely compatible with ElasTest
• Some features are still under development, such
as measurement of the end-users’ perceived QoE
or support for IoT devices
18

More Related Content

Similar to User Impersonation as a Service in End-to-End Testing

Design and implementation of a novel secured and wide WebRTC signalling mecha...
Design and implementation of a novel secured and wide WebRTC signalling mecha...Design and implementation of a novel secured and wide WebRTC signalling mecha...
Design and implementation of a novel secured and wide WebRTC signalling mecha...
IJECEIAES
 
iiwas 2010
iiwas 2010iiwas 2010
iiwas 2010
steccami
 
Resume_Gowdhaman_23102016
Resume_Gowdhaman_23102016Resume_Gowdhaman_23102016
Resume_Gowdhaman_23102016
Gowdhaman U
 
A VNF modeling approach for verification purposes
A VNF modeling approach for verification purposesA VNF modeling approach for verification purposes
A VNF modeling approach for verification purposes
IJECEIAES
 
Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...
Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...
Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...
IJECEIAES
 
'Test Automation in the Cloud' with Jonathon Wright
'Test Automation in the Cloud' with Jonathon Wright'Test Automation in the Cloud' with Jonathon Wright
'Test Automation in the Cloud' with Jonathon Wright
TEST Huddle
 

Similar to User Impersonation as a Service in End-to-End Testing (20)

Design and implementation of a novel secured and wide WebRTC signalling mecha...
Design and implementation of a novel secured and wide WebRTC signalling mecha...Design and implementation of a novel secured and wide WebRTC signalling mecha...
Design and implementation of a novel secured and wide WebRTC signalling mecha...
 
iiwas 2010
iiwas 2010iiwas 2010
iiwas 2010
 
Summit 16: Software Defined Operations: The UNIFY SP-DevOps Toolkit
Summit 16: Software Defined Operations: The UNIFY SP-DevOps ToolkitSummit 16: Software Defined Operations: The UNIFY SP-DevOps Toolkit
Summit 16: Software Defined Operations: The UNIFY SP-DevOps Toolkit
 
Software testing tools
Software testing toolsSoftware testing tools
Software testing tools
 
Resume_Gowdhaman_23102016
Resume_Gowdhaman_23102016Resume_Gowdhaman_23102016
Resume_Gowdhaman_23102016
 
Multi-user media streaming service for e-learning based web real-time communi...
Multi-user media streaming service for e-learning based web real-time communi...Multi-user media streaming service for e-learning based web real-time communi...
Multi-user media streaming service for e-learning based web real-time communi...
 
WebRTC for Telco: Informa's WebRTC Global Summit Preconference
WebRTC for Telco: Informa's WebRTC Global Summit PreconferenceWebRTC for Telco: Informa's WebRTC Global Summit Preconference
WebRTC for Telco: Informa's WebRTC Global Summit Preconference
 
IoT Guildford Meetup#27: EU H2020 F-Interop project open call
IoT Guildford Meetup#27: EU H2020 F-Interop project open callIoT Guildford Meetup#27: EU H2020 F-Interop project open call
IoT Guildford Meetup#27: EU H2020 F-Interop project open call
 
A VNF modeling approach for verification purposes
A VNF modeling approach for verification purposesA VNF modeling approach for verification purposes
A VNF modeling approach for verification purposes
 
Development of a Mobile Application for the C2NET Supply Chain Cloud–based P...
Development of a Mobile Application for the  C2NET Supply Chain Cloud–based P...Development of a Mobile Application for the  C2NET Supply Chain Cloud–based P...
Development of a Mobile Application for the C2NET Supply Chain Cloud–based P...
 
WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...
WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...
WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...
 
Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...
Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...
Design and Implement a Hybrid WebRTC Signalling Mechanism for Unidirectional ...
 
Cyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .netCyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .net
 
Analysis of video quality and end-to-end latency in WebRTC
Analysis of video quality and end-to-end latency in WebRTCAnalysis of video quality and end-to-end latency in WebRTC
Analysis of video quality and end-to-end latency in WebRTC
 
Do I Need A Service Mesh.pptx
Do I Need A Service Mesh.pptxDo I Need A Service Mesh.pptx
Do I Need A Service Mesh.pptx
 
A New Architecture for Multiparty Web Real-Time Conferencing Systems
A New Architecture for Multiparty Web Real-Time Conferencing SystemsA New Architecture for Multiparty Web Real-Time Conferencing Systems
A New Architecture for Multiparty Web Real-Time Conferencing Systems
 
Jacques Magen - Future Internet Research and Experimentation (FIRE): Successf...
Jacques Magen - Future Internet Research and Experimentation (FIRE): Successf...Jacques Magen - Future Internet Research and Experimentation (FIRE): Successf...
Jacques Magen - Future Internet Research and Experimentation (FIRE): Successf...
 
Generative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlowGenerative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlow
 
01-06 OCRE Test Suite - Fernandes.pdf
01-06 OCRE Test Suite - Fernandes.pdf01-06 OCRE Test Suite - Fernandes.pdf
01-06 OCRE Test Suite - Fernandes.pdf
 
'Test Automation in the Cloud' with Jonathon Wright
'Test Automation in the Cloud' with Jonathon Wright'Test Automation in the Cloud' with Jonathon Wright
'Test Automation in the Cloud' with Jonathon Wright
 

More from Boni García

Selenium Manager: Automated Driver & Browser Management for Selenium WebDriver
Selenium Manager: Automated Driver & Browser Management for Selenium WebDriverSelenium Manager: Automated Driver & Browser Management for Selenium WebDriver
Selenium Manager: Automated Driver & Browser Management for Selenium WebDriver
Boni García
 

More from Boni García (15)

Selenium Manager: Automated Driver & Browser Management for Selenium WebDriver
Selenium Manager: Automated Driver & Browser Management for Selenium WebDriverSelenium Manager: Automated Driver & Browser Management for Selenium WebDriver
Selenium Manager: Automated Driver & Browser Management for Selenium WebDriver
 
WebDriverManager: the Swiss Army Knife for Selenium WebDriver
WebDriverManager: the Swiss Army Knife for Selenium WebDriverWebDriverManager: the Swiss Army Knife for Selenium WebDriver
WebDriverManager: the Swiss Army Knife for Selenium WebDriver
 
Developing Selenium tests with JUnit 5
Developing Selenium tests with JUnit 5Developing Selenium tests with JUnit 5
Developing Selenium tests with JUnit 5
 
Toolbox for Selenium Tests in Java: WebDriverManager and Selenium-Jupiter
Toolbox for Selenium Tests in Java: WebDriverManager and Selenium-JupiterToolbox for Selenium Tests in Java: WebDriverManager and Selenium-Jupiter
Toolbox for Selenium Tests in Java: WebDriverManager and Selenium-Jupiter
 
A Proposal to Orchestrate Test Cases
A Proposal to Orchestrate Test CasesA Proposal to Orchestrate Test Cases
A Proposal to Orchestrate Test Cases
 
Introducción y novedades de JUnit 5 (04/07/2018)
Introducción y novedades de JUnit 5 (04/07/2018)Introducción y novedades de JUnit 5 (04/07/2018)
Introducción y novedades de JUnit 5 (04/07/2018)
 
Introducción y novedades de JUnit 5 (16/01/2018)
Introducción y novedades de JUnit 5 (16/01/2018)Introducción y novedades de JUnit 5 (16/01/2018)
Introducción y novedades de JUnit 5 (16/01/2018)
 
ElasTest: an elastic platform for testing complex distributed large software ...
ElasTest: an elastic platform for testing complex distributed large software ...ElasTest: an elastic platform for testing complex distributed large software ...
ElasTest: an elastic platform for testing complex distributed large software ...
 
NUBOMEDIA: an Elastic PaaS Enabling the Convergence of Real-Time and Big Data...
NUBOMEDIA: an Elastic PaaS Enabling the Convergence of Real-Time and Big Data...NUBOMEDIA: an Elastic PaaS Enabling the Convergence of Real-Time and Big Data...
NUBOMEDIA: an Elastic PaaS Enabling the Convergence of Real-Time and Big Data...
 
NUBOMEDIA Webinar
NUBOMEDIA WebinarNUBOMEDIA Webinar
NUBOMEDIA Webinar
 
WebRTC/Kurento/NUBOMEDIA Hackathon at IETF’96
WebRTC/Kurento/NUBOMEDIA Hackathon at IETF’96WebRTC/Kurento/NUBOMEDIA Hackathon at IETF’96
WebRTC/Kurento/NUBOMEDIA Hackathon at IETF’96
 
Cloud Instances of Kurento v6 on FIWARE Lab
Cloud Instances of Kurento v6 on FIWARE LabCloud Instances of Kurento v6 on FIWARE Lab
Cloud Instances of Kurento v6 on FIWARE Lab
 
Kurento v6 Development Guide
Kurento v6 Development GuideKurento v6 Development Guide
Kurento v6 Development Guide
 
Kurento v6 Installation Guide
Kurento v6 Installation GuideKurento v6 Installation Guide
Kurento v6 Installation Guide
 
Introduction to the Stream Oriented GE (Kurento v6)
Introduction to the Stream Oriented GE (Kurento v6)Introduction to the Stream Oriented GE (Kurento v6)
Introduction to the Stream Oriented GE (Kurento v6)
 

Recently uploaded

6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
nirzagarg
 

Recently uploaded (20)

Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 

User Impersonation as a Service in End-to-End Testing

  • 1. http://elastest.io User Impersonation as a Service in End-to-End Testing Funded by the European Union Boni García boni.garcia@urjc.es MODELSWARD Special Sessions (AMARETTO 2018) January 23rd 2018 | Funchal, Portugal
  • 2. Table of contents 1. Introduction 2. Background 3. ElasTest: platform for end-to-end testing 4. User Impersonation as a Service 5. Case study: testing WebRTC applications 6. Conclusions and future work 2
  • 3. 1. Introduction • Large distributed heterogenous systems are more and more common (e.g. microservices architectures, cloud native apps, etc.) • Testing this kind of software is complex, especially to verify the system as a whole 3 End-to-end testing happens at system level with users impersonated
  • 4. Table of contents 1. Introduction 2. Background 3. ElasTest: platform for end-to-end testing 4. User Impersonation as a Service 5. Case study: testing WebRTC applications 6. Conclusions and future work 4
  • 5. 2. Background • Recent surveys confirm the existence of gap between the current and the desired status of test automation for distributed heterogeneous systems, prioritizing the relevance of test automation features for these systems (Lima, 2016) 5 25% 52% 7% 16% WHAT IS THE LEVEL OF TEST AUTOMATION FOR DISTRIBUTED AND HETEROGENEOUS SYSTEMS? Only manual testing Automatic test execution (with manual test scripting/coding) Automatic test generation (with manual execution) Automatic test generation and execution
  • 6. 2. Background • The main mechanism used in the current state-of- the-art for the functional testing of web and mobile applications consists on impersonating a user through some kind of GUI automation • Selenium is the most popular solution: 6
  • 7. Table of contents 1. Introduction 2. Background 3. ElasTest: platform for end-to-end testing 4. User Impersonation as a Service 5. Case study: testing WebRTC applications 6. Conclusions and future work 7
  • 8. 3. ElasTest: platform for end-to-end testing • ElasTest is an open source platform aimed to ease the end-to-end testing activities for different types of distributed applications and services • ElasTest manages the full testing lifecycle, deploying and monitoring the SUT, executing the end-to-end tests and exposing the results to software engineers and testers 8 http://elastest.io/
  • 9. 3. ElasTest: platform for end-to-end testing • ElasTest architecture: 9
  • 10. Table of contents 1. Introduction 2. Background 3. ElasTest: platform for end-to-end testing 4. User Impersonation as a Service 5. Case study: testing WebRTC applications 6. Conclusions and future work 10
  • 11. 4. User Impersonation as a Service • ElasTest implements an user impersonation as a service capability that provides Software as a Service (SaaS) extending the W3C WebDriver with advanced capabilities: 1. Evaluation of the perceived Quality of Experience (QoE) of users on real-time multimedia applications 2. Equivalent automation capability for sensors and smart devices for Internet of Things (IoT) 11
  • 12. 4. User Impersonation as a Service • Extension to W3C WebDriver recommendation by ElasTest User Impersonation Service: 12 Method Path Description POST /session/{sessionId}/element/{elementId}/event Subscribe to a given event within an element GET /session/{sessionId}/event/{subscriptionId} Read the value of event for a given subscription DELETE /session/{sessionId}/event/{subscriptionId} Remove a subscription GET /session/{sessionId}/vnc Get remote session DELETE /session/{sessionId}/vnc Delete remote session POST /session/{sessionId}/usermedia Set user media for WebRTC GET /session/{sessionId}/stats Read the WebRTC stats POST /session/{sessionId}/element/{elementId}/latency Measure end-to-end latency of a WebRTC session POST /session/{sessionId}/element/{elementId}/quality Measure quality of a WebRTC session
  • 13. Table of contents 1. Introduction 2. Background 3. ElasTest: platform for end-to-end testing 4. User Impersonation as a Service 5. Case study: testing WebRTC applications 6. Conclusions and future work 13
  • 14. 5. Case study: testing WebRTC applications • WebRTC is the umbrella term for a number of technologies aimed to bring Real Time Communications to the Web • W3C (JavaScript APIs): getUserMedia, PeerConnection, DataChannels • IETF (protocol stack): ICE, SDP, TURN, STUN, … 14
  • 15. 5. Case study: testing WebRTC applications • Our case study is based on OpenVidu, an open source videoconferencing WebRTC framework • Question driving this study: “Is the ElasTest user impersonation service capable of improving the end-to-end testing process within the OpenVidu project?” 15 http://openvidu.io/
  • 16. 5. Case study: testing WebRTC applications • Demo 16
  • 17. Table of contents 1. Introduction 2. Background 3. ElasTest: platform for end-to-end testing 4. User Impersonation as a Service 5. Case study: testing WebRTC applications 6. Conclusions and future work 17
  • 18. 6. Conclusions and future work • ElasTest is an open source platform aimed to ease end-to-end tests for heterogenous large distributed systems • ElasTest implements a User Impersonation as a Service (UIaaS) extending the W3C WebDriver recommendation • Existing test codebases with Selenium and Appium are completely compatible with ElasTest • Some features are still under development, such as measurement of the end-users’ perceived QoE or support for IoT devices 18