Managing Large Selenium Grid*

50 %
50 %
Information about Managing Large Selenium Grid*
Education

Published on March 10, 2014

Author: dimakovalenko

Source: slideshare.net

Description

Presentation for 2014 Selenium Camp In Kiev

Link to audio of the presentation
http://www.youtube.com/watch?v=OrtR_k1biOg&feature=youtu.be

Managing Large Selenium Grid Dima Kovalenko (@dimacus) Jack Calzaretta

http://seleniumcamp.com

VMs

www.xenproject.org

Open Source • GNU License • Free

Fast • Lightweight • Windows restarts in 5 seconds • 8 Windows 7 VMs on 1 host

Stable • 1.5 years with 0 maintenance

Controls • Complete control from linux shell

Controls • Complete control from linux shell • Making new VMs by copy/paste • Windows info stored in text file • Can use any VCS to store configs

Example Config

Network • Bridge network • Easy network setup

GUI Access • VNC • Each Windows instance listens on different port

Disadvantages • Need some linux experience • No GUI • Does not have as many features as VMWare • A lot of initial work

Proxy

Problem • Many computers • Many datacenters • A lot of firewalls

Reverse tunnel • SauceConnect

Reverse tunnel • SauceConnect • Slow

Reverse tunnel • SauceConnect • Slow • Can be Unstable • Machine to port nightmare

Proxy Tunnels

Browser Proxy Settings • Set Browser to use 1 port • Set white list of reachable assets

JVM • -Dhttp.proxyHost= • -Dhttp.proxyPort= • Java -Dhttp.proxyHost=123 - Dhttp.proxyPort=123 –jar selenium.jar –role hub

GridExtras • https://github.com/groupon/Selenium-Grid- Extras

Goal • Stabilize OS in Grid • Give control over grid nodes

Tie Into Hub • DefaultProxy class • Pre/After Session hook

Status Servlet • Added new servlet for node status • Json return

Features • Turn on/off IE Protected mode • Update Webdriver • Update Chrome Driver • Update IEDriver • Kill Any Browser • Check any OS Port • Kill anything on a given port • Reboot OS • Take OS Screenshot • Etc..

Help Us out • Java • Very friendly • https://github.com/groupon/Selenium-Grid- Extras

Thank you • Dima Kovalenko • @dimacus

Add a comment

Related presentations

Related pages

Managing Large Selenium Grid - Education

Managing Large Selenium Grid; Managing Large Selenium Grid Jan 14, 2015 Education dimakovalenko. System is processing data Please download to view 1
Read more

Managing Large Selenium Grid - Education

Managing Large Selenium Grid. by dimakovalenko. on Jan 14, 2015. Report Category: Education. Download: 0 Comment: 0. 1,850. views. Comments. Description.
Read more

dimakovalenko - HubSlide

Managing Large Selenium Grid Presentation for 2014 Selenium Camp In Kiev Link to audio...
Read more

Large scale selenium grid managment - YouTube

Large scale selenium grid managment Dima Kovalenko. ... Scaling and managing Selenium Grid by Dima Kovalenko @ Selenium Conf 14 - Duration: ...
Read more

Scaling and managing Selenium Grid by Dima Kovalenko ...

Scaling and managing Selenium Grid by Dima Kovalenko @ Selenium Conf 14 ConfEngine. ... Large scale selenium grid managment - Duration: 25:01.
Read more

Scaling and managing Selenium Grid - Selenium Conf 2014 ...

Managing the Selenium Grid can be very difficult, especially as you scale it up. This session will demonstrate how we were able to scale the Se
Read more

Selenium Grid: Web Testing in Parallel - infoq.com

Selenium Grid offers the ability to run Selenium tests in parallel ... concern of managing a grid of Selenium-RC instances from ... in a large organization ...
Read more

Distributed Automation Using Selenium Grid / AWS ...

Distributed Automation Using Selenium Grid ... Selenium Grid is easy ... and also on how to setup Selenium Grid on a large scale in ...
Read more