SlideShare une entreprise Scribd logo
1  sur  26
Deploy and Destroy Complete
Test Environments
Service Virtualization, Containers and Cloud
Bas Dijkstra
bas@ontestautomation.com
www.ontestautomation.com
@_basdijkstra
Continuous Delivery
Release Build
Test Deploy
Continuous Testing
Release Build
Test Deploy
Test environment impediments
System under test
Mainframe
SaaS
dependency
Backend
system
Mobile app
No suitable test data Limited access
Under development Access fees
The T-shaped tester: What about
the T-shaped test environment?
Under
control
100%
availability
Scalable
Realistic
performance
Suitable
test data
Service virtualization
System under test
Virtualized
mainframe
Virtualized
SaaS
dependency
Virtualized
backend
system
Virtualized
mobile app
Unrestricted access
Unrestricted access
Unrestricted access
Unrestricted access
Service virtualization
_Simulation of dependency behavior
_Oblivious to dependency implementation
_Virtual assets
Virtual asset creation
_Record and playback
_Based on specifications
Implementation considerations
_Start small
_Model just enough
_Learn and expand
Testing process benefits
_Test earlier
_Test more often
_Test more
Taking service virtualization
to the next level
_Continuous Delivery integration
_Containerization
_Cloud
Test environments on demand
_Recreate exact same initial situation every time
_Always available
_Scalable
Test environments on demand
Build
server
commit
Provision virtual
test environment
Deploy
application under
test
Run tests
Server hardware
Host operating system
Docker engine
Bins / libs Bins / libs
App CApp BApp A
Example: Hoverfly (SpectoLabs)
_HTTP(S) only
_Light-weight and open source
_http://hoverfly.io
Example: Parasoft Virtualize
_Support for many message types and protocols
_Commercially licensed
_Environment Manager
_http://www.parasoft.com/virtualize
Virtualize + VSTS + Azure
commit
Parasoft
Environment
Manager
Simulated test environment
Application under test
AUT
Parasoft
SV
Azure cloud VM
Host OS
Server
On-demand test
environment in
the cloud
Organizational decisions
$
$$$
$$ $
$
$
$
$
$
$ $
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
? ?
Infrastructure
OR
On premise In the cloud
Knowledge
OR
Inside development
teams
Center of
Excellence
Development
OR
In-house Outsourced
Example SV maturity journey
Case study: education
Infrastructure Knowledge Development
Case study: financial services
Infrastructure Knowledge Development
_ Email: bas@ontestautomation.com
_ Blog: http://www.ontestautomation.com
_ LinkedIn: https://www.linkedin.com/in/basdijkstra
_ Twitter: @_basdijkstra

Contenu connexe

Tendances

Webservice performance testing with SoapUI
Webservice performance testing with SoapUIWebservice performance testing with SoapUI
Webservice performance testing with SoapUI
Phuoc Nguyen
 
Web services testing
Web services testingWeb services testing
Web services testing
Roman Khachko
 

Tendances (20)

Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App TestingSencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
Sencha Roadshow 2017: Best Practices for Implementing Continuous Web App Testing
 
Webservice performance testing with SoapUI
Webservice performance testing with SoapUIWebservice performance testing with SoapUI
Webservice performance testing with SoapUI
 
Patterns of a "Good" Test Automation Framework, Locators & Data
Patterns of a "Good" Test Automation Framework, Locators & DataPatterns of a "Good" Test Automation Framework, Locators & Data
Patterns of a "Good" Test Automation Framework, Locators & Data
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew Siemer
 
Windows Azure Acid Test
Windows Azure Acid TestWindows Azure Acid Test
Windows Azure Acid Test
 
Paper CS
Paper CSPaper CS
Paper CS
 
Leveraging Azure for Performance Testing
Leveraging Azure for Performance TestingLeveraging Azure for Performance Testing
Leveraging Azure for Performance Testing
 
Hacker Proof web app using Functional tests
Hacker Proof web  app using Functional testsHacker Proof web  app using Functional tests
Hacker Proof web app using Functional tests
 
Helpful Automation Techniques - Selenium Camp 2014
Helpful Automation Techniques - Selenium Camp 2014Helpful Automation Techniques - Selenium Camp 2014
Helpful Automation Techniques - Selenium Camp 2014
 
Selenium Israel Meetup
Selenium Israel MeetupSelenium Israel Meetup
Selenium Israel Meetup
 
How to practice TDD without shooting yourself in the foot
How to practice TDD without shooting yourself in the footHow to practice TDD without shooting yourself in the foot
How to practice TDD without shooting yourself in the foot
 
Cypress test techniques cucumber bdd framework,tdd,api tests course
Cypress test techniques cucumber bdd framework,tdd,api tests courseCypress test techniques cucumber bdd framework,tdd,api tests course
Cypress test techniques cucumber bdd framework,tdd,api tests course
 
j meter
 j meter j meter
j meter
 
Arquillian & Citrus
Arquillian & CitrusArquillian & Citrus
Arquillian & Citrus
 
Simulating Different-Network Speeds using JMETER
Simulating Different-Network Speeds using JMETERSimulating Different-Network Speeds using JMETER
Simulating Different-Network Speeds using JMETER
 
Learn Key Insights from The State of Web Application Testing Research Report
Learn Key Insights from The State of Web Application Testing Research ReportLearn Key Insights from The State of Web Application Testing Research Report
Learn Key Insights from The State of Web Application Testing Research Report
 
Episode 20 - Trigger Frameworks in Salesforce
Episode 20 - Trigger Frameworks in SalesforceEpisode 20 - Trigger Frameworks in Salesforce
Episode 20 - Trigger Frameworks in Salesforce
 
Web services testing
Web services testingWeb services testing
Web services testing
 
Automated testing in javascript
Automated testing in javascriptAutomated testing in javascript
Automated testing in javascript
 
DCAST Meetup - Washington, DC Feb 2016
DCAST Meetup - Washington, DC Feb 2016DCAST Meetup - Washington, DC Feb 2016
DCAST Meetup - Washington, DC Feb 2016
 

Similaire à Deploy and Destroy Complete Test Environments

I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08
Edwin Systemation
 
IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí
ASBIS SK
 
VMware: Aplikačná platforma pre cloud (časť 2)
VMware: Aplikačná platforma pre cloud (časť 2)VMware: Aplikačná platforma pre cloud (časť 2)
VMware: Aplikačná platforma pre cloud (časť 2)
ASBIS SK
 

Similaire à Deploy and Destroy Complete Test Environments (20)

Service Virtualization: Delivering Complex Test Environments on Demand
Service Virtualization: Delivering Complex Test Environments on DemandService Virtualization: Delivering Complex Test Environments on Demand
Service Virtualization: Delivering Complex Test Environments on Demand
 
I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08I Tko Lis Avirtualize Ps Nov08
I Tko Lis Avirtualize Ps Nov08
 
Create Agile, Automated and Predictable IT Infrastructure in the Cloud
Create Agile, Automated and Predictable IT Infrastructure in the CloudCreate Agile, Automated and Predictable IT Infrastructure in the Cloud
Create Agile, Automated and Predictable IT Infrastructure in the Cloud
 
Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar
 
On-Demand Webinar: Software Virtualization Lifecycle
On-Demand Webinar: Software Virtualization LifecycleOn-Demand Webinar: Software Virtualization Lifecycle
On-Demand Webinar: Software Virtualization Lifecycle
 
Overview of Lab Management and TFS
Overview of Lab Management and TFSOverview of Lab Management and TFS
Overview of Lab Management and TFS
 
IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí IBM: Inteligentný manažment testovacích a vývojových prostredí
IBM: Inteligentný manažment testovacích a vývojových prostredí
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
SV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptxSV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptx
 
VMware: Aplikačná platforma pre cloud (časť 2)
VMware: Aplikačná platforma pre cloud (časť 2)VMware: Aplikačná platforma pre cloud (časť 2)
VMware: Aplikačná platforma pre cloud (časť 2)
 
Cloud based Testing Mobile Apps
Cloud based Testing Mobile AppsCloud based Testing Mobile Apps
Cloud based Testing Mobile Apps
 
Plan, Deploy & Manage Modern Applications Leveraging vCloud Automation Center...
Plan, Deploy & Manage Modern Applications Leveraging vCloud Automation Center...Plan, Deploy & Manage Modern Applications Leveraging vCloud Automation Center...
Plan, Deploy & Manage Modern Applications Leveraging vCloud Automation Center...
 
Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...
Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...
Stephane Lapointe & Alexandre Brisebois: Développer des microservices avec Se...
 
Cloud Computing Basics I
Cloud Computing Basics ICloud Computing Basics I
Cloud Computing Basics I
 
Web Performance Testing
Web Performance TestingWeb Performance Testing
Web Performance Testing
 
Soasta Cloud Test
Soasta Cloud TestSoasta Cloud Test
Soasta Cloud Test
 
2015-01-12 TechTalk - Continuous Delivery and Release Management
2015-01-12 TechTalk - Continuous Delivery and Release Management2015-01-12 TechTalk - Continuous Delivery and Release Management
2015-01-12 TechTalk - Continuous Delivery and Release Management
 
How a National Transportation Software Provider Migrated a Mission-Critical T...
How a National Transportation Software Provider Migrated a Mission-Critical T...How a National Transportation Software Provider Migrated a Mission-Critical T...
How a National Transportation Software Provider Migrated a Mission-Critical T...
 
Windows Azure in Qatar
Windows Azure in QatarWindows Azure in Qatar
Windows Azure in Qatar
 
A Year of “Testing” the Cloud for Development and Test
A Year of “Testing” the Cloud for Development and TestA Year of “Testing” the Cloud for Development and Test
A Year of “Testing” the Cloud for Development and Test
 

Plus de Bas Dijkstra

Plus de Bas Dijkstra (9)

Test automation - put on the brakes so you can go fast
Test automation - put on the brakes so you can go fastTest automation - put on the brakes so you can go fast
Test automation - put on the brakes so you can go fast
 
20190919 backbase why_do_we_automate
20190919 backbase why_do_we_automate20190919 backbase why_do_we_automate
20190919 backbase why_do_we_automate
 
20190627 malmberg meetup_bdd_workshop
20190627 malmberg meetup_bdd_workshop20190627 malmberg meetup_bdd_workshop
20190627 malmberg meetup_bdd_workshop
 
Why do we automate?
Why do we automate?Why do we automate?
Why do we automate?
 
Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software development
 
Who will guard the guards themselves? How to trust your automation and avoid ...
Who will guard the guards themselves? How to trust your automation and avoid ...Who will guard the guards themselves? How to trust your automation and avoid ...
Who will guard the guards themselves? How to trust your automation and avoid ...
 
Supporting Continuous Testing with FITR test automation
Supporting Continuous Testing with FITR test automationSupporting Continuous Testing with FITR test automation
Supporting Continuous Testing with FITR test automation
 
Slow tests in a fast delivery pipeline
Slow tests in a fast delivery pipelineSlow tests in a fast delivery pipeline
Slow tests in a fast delivery pipeline
 
Testing RESTful web services with REST Assured
Testing RESTful web services with REST AssuredTesting RESTful web services with REST Assured
Testing RESTful web services with REST Assured
 

Dernier

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Dernier (20)

OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 

Deploy and Destroy Complete Test Environments

Notes de l'éditeur

  1. Everybody is doing some sort of CD, or at least is looking into it
  2. CD requires the ability to test continuously, every deployment should be thoroughly tested before being put into a production environment Test automation plays a big role in this
  3. The ability to test continuously is often hard to achieve because of test environment impediments
  4. The T-shaped tester is a sought after profile at the moment, very good in one thing (testing, automation) and skilled in myriad other things (analysis, development, …) Continuous Testing requires something similar: a T-shaped test environment. First and foremost it should be under total control of the team using it, but next to that it should have other characteristics as well..
  5. One approach to enable Continuous Testing is through implementation of service virtualization, an approach that removes bottlenecks in test environments by virtualizing dependencies that are critical to the testing process yet hard-to-access
  6. Characteristics of service virtualization
  7. R&P: draw parallel to test automation: nice to get a first demo up and running (or analyse traffic where no specifications are known), but to achieve long term success it’s best not to rely on R&P too much. Instead, create virtual assets using request-response specifications. R&P also only simulated those situations that CAN be recorded.
  8. How should you go about SV implementation? Start small, both in terms of number of dependencies simulated and behavior replicated. Model just enough to enable execution of desired test cases (all else is filler, remember that SV is an enabler for testing, not a goal in itself). Learn and expand.
  9. So how does the testing process ultimately benefit from SV implementation?
  10. So, we have seen that implementing SV can lead to great benefits for the testing process, but to make SV even more flexible and better integrated into the CD process, wouldn’t it be nice if we could treat our test environment in the same manner as our application under test?
  11. By containerizing and distributing SV engines and their virtual assets, we can do…
  12. So, what does an approach like this look like? Talk them through the picture. Build server also runs tests (unit tests), we’re talking about integration and end-to-end tests here.
  13. Guarantees that an application will always run in exactly the same way, regardless of the environment it’s running in. This is what you want from your test environment as well.
  14. Hoverfly, mostly focuses on record and playback functions by acting as a proxy, recorded traffic can be extended and customized programmatically Also supports latency simulation for more realistic performance testing
  15. Tell a little about Virtualize as a tool Both EM and Virtualize engine can be deployed directly from Azure, EM can then provision simulated test environments on the fly
  16. Talk them through the picture, focus also on repeatabiity
  17. So we’ve decided that SV might be the way to go, but what decisions do we need to make? And of course money does play a role…
  18. Where do I host the SV server / the virtual test environments?
  19. Who is made responsible for developing and maintaining the virtual assets?
  20. Is virtual asset development done in house (requires SV expertise, which, although it isn’t rocket science, might be hard to come by) or is it outsourced to a third party? Much like regular software development
  21. What could an example maturity journey look like? From single server, developed and maintained in one or more teams (small scale) to cloud hosted (flexible, scalable) developed by a center of excellence (less overhead, less fragmentation, one way of working)
  22. Studielink
  23. ING