SlideShare a Scribd company logo
Containerized End­2­End Testing
 + 
, 
 Tobias Schneck ConSol Software GmbH
Test Pyramid
Robust
Independent
Isolated
Fast
Characteristics of End­2­End Testing
Different types of testing:
Regression tests
Functional approval tests
Parallel tests with GUIs are complex
Stateful tests: user logins, sessions, history
Setup and cleanup of test data
Manual effort > effort for test automation
Advantages of Container Technology
Isolation of environments
Repository for versioning and distribution
Reproducible application environment
Dockerfile, docker­compose.yml
Starting containers on­the­fly
Optimized for parallel execution
Less memory overhead
Shared Linux kernel
Containerized GUIs
### start the docker container via x­forwarding 
docker run ­it ­e DISPLAY=$DISPLAY ­v /tmp/.X11­unix:/tmp/.X11­unix:rw rasch/inkscape
### start the docker container with VNC interface 
# connect via URL: http://localhost:6911/vnc_auto.html?password=vncpassword 
docker run ­it ­p 5911:5901 ­p 6911:6901 consol/centos­xfce­vnc 
docker run ­it ­p 5912:5901 ­p 6912:6901 consol/ubuntu­xfce­vnc
 
What's provided by   ?
Category
Web tests through HTML selectors
Restricted to browser content
Open Source & Java API
Headless execution
Test writing assistance
(recorder, screenshot finder)
Automatable / Test result reporting
(CI, DB, monitoring environment)
 Nagios   OMD   Incinga
 Monitoring Integration
Sakuli End­2­End Testing Container
Demo ­ Sakuli Container
# start the docker container 
docker run ­it ­p 5911:5901 ­p 6911:6901 consol/sakuli­centos­xfce 
docker run ­it ­p 5912:5901 ­p 6912:6901 consol/sakuli­ubuntu­xfce 
# start in parallel via docker­compose 
# use docker­compos.yml from https://github.com/ConSol/sakuli/tree/master/docker 
docker­compose up
Bakery Demo Setup
Bakery Demo Setup
Bakery Demo
git clone https://github.com/toschneck/sakuli­example­bakery­testing.git 
# start jenkins 
jenkins/deploy_jenkins.sh 
# start OMD montioring 
omd­nagios/deploy_omd.sh 
# start the build of the application images 
bakery­app/app­deployment­docker­compose/deploy_app.sh 
#start tests 
sakuli­tests/execute_all.sh 
#start tests for monitoring 
sakuli­tests/execute_all_4_monitoring.sh
What's next?
Headless execution ­ Linux: VNC & Docker   Windows: ?
Video recording of the test execution (error documentation)
Web UI to handle Sakuli test suites
Connect 3rd­party test management tools (HP QC, TestRail, ...)
Improve test result presentation in CI tools
Selenium as an alternative to Sahi
Links
https://github.com/ConSol/sakuli 
https://github.com/toschneck/sakuli­
example­bakery­testing
https://twitter.com/sakuli_e2e
https://twitter.com/consol_de
Thank you Hamburg!
Tobias Schneck 
 
ConSol Software GmbH
Franziskanerstraße 38
D­81669 München
Tel: +49­89­45841­100
Fax: +49­89­45841­111
tobias.schneck@consol.de
info@consol.de
www.consol.de

More Related Content

PDF
Containerized End-2-End-Testing - ContainerConf Mannheim
PDF
Skale your test environment! Containerized End-2-End-Testing @Herbstcampus Nü...
PDF
Swarm 2 Go - Build A Portable Multi-Arch Data Center with Pi and UP Nodes
PPTX
Learn enough Docker to be dangerous
PPSX
Docker and containers - Presentation Slides by Priyadarshini Anand
PDF
Docker linuxday 2015
PDF
DockerVC Hackathon Presentation
PDF
Talk about Docker
Containerized End-2-End-Testing - ContainerConf Mannheim
Skale your test environment! Containerized End-2-End-Testing @Herbstcampus Nü...
Swarm 2 Go - Build A Portable Multi-Arch Data Center with Pi and UP Nodes
Learn enough Docker to be dangerous
Docker and containers - Presentation Slides by Priyadarshini Anand
Docker linuxday 2015
DockerVC Hackathon Presentation
Talk about Docker

What's hot (20)

PPTX
Docker Warsaw Meetup 12/2017 - DockerCon 2017 Recap
PDF
Docker dDessi november 2015
PDF
Docker 原理與實作
PDF
Introduction to telepresence
PPTX
Intro- Docker Native for OSX and Windows
PDF
Devoxx 2016: A Developer's Guide to OCI and runC
PPTX
Docker Workshop
PPTX
Continuous integration and deployment with docker
PDF
GDG Lima - Docker Compose
PDF
Linux Container Technology 101
PPTX
Docker Introduction
PDF
All Things Open 2015: DOCKER: EVERYTHING YOU SHOULD KNOW
PDF
Introduction to docker and docker compose
PDF
Docker compose and swarm
PPTX
containerd the universal container runtime
PPTX
Docker in 30 minutes
PPT
Docker 101, Alexander Ryabtsev
PDF
runC: The little engine that could (run Docker containers) by Docker Captain ...
PPTX
Introduction to docker
PPTX
Docker 101
Docker Warsaw Meetup 12/2017 - DockerCon 2017 Recap
Docker dDessi november 2015
Docker 原理與實作
Introduction to telepresence
Intro- Docker Native for OSX and Windows
Devoxx 2016: A Developer's Guide to OCI and runC
Docker Workshop
Continuous integration and deployment with docker
GDG Lima - Docker Compose
Linux Container Technology 101
Docker Introduction
All Things Open 2015: DOCKER: EVERYTHING YOU SHOULD KNOW
Introduction to docker and docker compose
Docker compose and swarm
containerd the universal container runtime
Docker in 30 minutes
Docker 101, Alexander Ryabtsev
runC: The little engine that could (run Docker containers) by Docker Captain ...
Introduction to docker
Docker 101
Ad

Viewers also liked (11)

PDF
JUC Europe 2015: Using Infrastructure Nodes Wisely With Jenkins and Apache Mesos
PPTX
Jenkins Squish Integration
PDF
CI and CD at Scale: Scaling Jenkins with Docker and Apache Mesos
PDF
Writing a Jenkins / Hudson plugin
PPTX
SeeTestAutomation - Mobile Test Automation Tool by Experitest
PPTX
Rapid software testing and conformance with static code analysis
PPTX
Test parallelization using Jenkins
PPTX
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
PPTX
Jenkins - From Continuous Integration to Continuous Delivery
PPT
CI and CD with Jenkins
ODP
7 Habits of Highly Effective Jenkins Users
JUC Europe 2015: Using Infrastructure Nodes Wisely With Jenkins and Apache Mesos
Jenkins Squish Integration
CI and CD at Scale: Scaling Jenkins with Docker and Apache Mesos
Writing a Jenkins / Hudson plugin
SeeTestAutomation - Mobile Test Automation Tool by Experitest
Rapid software testing and conformance with static code analysis
Test parallelization using Jenkins
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Jenkins - From Continuous Integration to Continuous Delivery
CI and CD with Jenkins
7 Habits of Highly Effective Jenkins Users
Ad

Similar to Containerized End-2-End-Testing - Tobias Schneck (20)

PDF
Docker how to
PDF
Adventures in docker compose
PDF
From zero to Docker
PDF
DCSF 19 Building Your Development Pipeline
PDF
Dockerized maven
PDF
Docker in everyday development
PPTX
Docker SF Meetup January 2016
PDF
Docker dev, test & production (afas)
PDF
Docker: A New Way to Turbocharging Your Apps Development
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
PDF
codemotion-docker-2014
PDF
Kubernetes: training micro-dragons for a serious battle
PPTX
Linuxing in London: Docker Intro Workshop
PDF
Docker+java
PPTX
Run automated tests in Docker
PDF
Real-World Docker: 10 Things We've Learned
PDF
Dockers zero to hero
PPTX
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
PPTX
Docker for .NET Developers
PPTX
Docker
Docker how to
Adventures in docker compose
From zero to Docker
DCSF 19 Building Your Development Pipeline
Dockerized maven
Docker in everyday development
Docker SF Meetup January 2016
Docker dev, test & production (afas)
Docker: A New Way to Turbocharging Your Apps Development
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
codemotion-docker-2014
Kubernetes: training micro-dragons for a serious battle
Linuxing in London: Docker Intro Workshop
Docker+java
Run automated tests in Docker
Real-World Docker: 10 Things We've Learned
Dockers zero to hero
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Docker for .NET Developers
Docker

More from Tobias Schneck (20)

PDF
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
PDF
Kubernetes and AI - Beauty and the Beast - Tobias Schneck - DOAG 24 NUE - 20....
PDF
Containers & AI - Beauty and the Beast !?! @MLCon - 27.6.2024
PDF
Containers & AI - Beauty and the Beast!?!
PDF
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
PDF
Kubernetes in the Manufacturing Line @KubeCon EU Valencia 2022
PDF
$ kubectl hacking @DevOpsCon Berlin 2019
PDF
Will ARM be the new Mainstream in our Data Centers? @Rejekts Paris 2024
PDF
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
PDF
ClusterAPI Overview - Managing multi-cloud Kubernetes Clusters - k8s Meetup@v...
PDF
Creating Kubernetes multi clusters with ClusterAPI @ Stuttgart Kubernetes Meetup
PDF
KubeCI - Cloud Native Continuous Delivery for Kubernetes
PDF
Kubernetes Cluster API - managing the infrastructure of multi clusters (k8s ...
PDF
UI Testing - Selenium? Rich-Clients? Containers? (SwanseaCon 2018)
PDF
Creating Kubernetes multi clusters with ClusterAPI in the Hetzner Cloud
PDF
OpenShift Build Pipelines @ Lightweight Java User Group Meetup
PDF
OpenShift-Build-Pipelines: Build -> Test -> Run! @JavaForumStuttgart
PDF
OpenShift-Build-Pipelines: Build ► Test ► Run!
PDF
Kotlin for backend development (Hackaburg 2018 Regensburg)
PDF
UI-Testing - Selenium? Rich-Clients? Containers? @APEX connect 2018
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Kubernetes and AI - Beauty and the Beast - Tobias Schneck - DOAG 24 NUE - 20....
Containers & AI - Beauty and the Beast !?! @MLCon - 27.6.2024
Containers & AI - Beauty and the Beast!?!
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes in the Manufacturing Line @KubeCon EU Valencia 2022
$ kubectl hacking @DevOpsCon Berlin 2019
Will ARM be the new Mainstream in our Data Centers? @Rejekts Paris 2024
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
ClusterAPI Overview - Managing multi-cloud Kubernetes Clusters - k8s Meetup@v...
Creating Kubernetes multi clusters with ClusterAPI @ Stuttgart Kubernetes Meetup
KubeCI - Cloud Native Continuous Delivery for Kubernetes
Kubernetes Cluster API - managing the infrastructure of multi clusters (k8s ...
UI Testing - Selenium? Rich-Clients? Containers? (SwanseaCon 2018)
Creating Kubernetes multi clusters with ClusterAPI in the Hetzner Cloud
OpenShift Build Pipelines @ Lightweight Java User Group Meetup
OpenShift-Build-Pipelines: Build -> Test -> Run! @JavaForumStuttgart
OpenShift-Build-Pipelines: Build ► Test ► Run!
Kotlin for backend development (Hackaburg 2018 Regensburg)
UI-Testing - Selenium? Rich-Clients? Containers? @APEX connect 2018

Recently uploaded (20)

PDF
6.-propertise of noble gases, uses and isolation in noble gases
PPTX
nose tajweed for the arabic alphabets for the responsive
PDF
Unnecessary information is required for the
PPTX
NORMAN_RESEARCH_PRESENTATION.in education
PPTX
2025-08-17 Joseph 03 (shared slides).pptx
PPTX
Impressionism_PostImpressionism_Presentation.pptx
PPTX
PurpoaiveCommunication for students 02.pptx
PPTX
Research Process - Research Methods course
PPTX
Lesson-7-Gas. -Exchange_074636.pptx
DOCX
Action plan to easily understanding okey
PPTX
Intro to ISO 9001 2015.pptx wareness raising
PDF
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
PDF
Yusen Logistics Group Sustainability Report 2024.pdf
PPTX
Human Mind & its character Characteristics
DOCX
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
PPTX
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
PPTX
Hydrogel Based delivery Cancer Treatment
PPTX
Module_4_Updated_Presentation CORRUPTION AND GRAFT IN THE PHILIPPINES.pptx
PPTX
FINAL TEST 3C_OCTAVIA RAMADHANI SANTOSO-1.pptx
PPTX
PHIL.-ASTRONOMY-AND-NAVIGATION of ..pptx
6.-propertise of noble gases, uses and isolation in noble gases
nose tajweed for the arabic alphabets for the responsive
Unnecessary information is required for the
NORMAN_RESEARCH_PRESENTATION.in education
2025-08-17 Joseph 03 (shared slides).pptx
Impressionism_PostImpressionism_Presentation.pptx
PurpoaiveCommunication for students 02.pptx
Research Process - Research Methods course
Lesson-7-Gas. -Exchange_074636.pptx
Action plan to easily understanding okey
Intro to ISO 9001 2015.pptx wareness raising
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
Yusen Logistics Group Sustainability Report 2024.pdf
Human Mind & its character Characteristics
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
ART-APP-REPORT-FINctrwxsg f fuy L-na.pptx
Hydrogel Based delivery Cancer Treatment
Module_4_Updated_Presentation CORRUPTION AND GRAFT IN THE PHILIPPINES.pptx
FINAL TEST 3C_OCTAVIA RAMADHANI SANTOSO-1.pptx
PHIL.-ASTRONOMY-AND-NAVIGATION of ..pptx

Containerized End-2-End-Testing - Tobias Schneck