Managing Large Selenium Grid�
Upcoming SlideShare
Loading in...5
×
 

Managing Large Selenium Grid

on

  • 1,609 views

Presentation for 2014 Selenium Camp In Kiev

Presentation for 2014 Selenium Camp In Kiev

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

Statistics

Views

Total Views
1,609
Views on SlideShare
633
Embed Views
976

Actions

Likes
2
Downloads
7
Comments
0

3 Embeds 976

https://ocean.cybozu-dev.com 928
https://ocean.s.cybozu-dev.com 29
http://www.slideee.com 19

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Managing Large Selenium Grid� Managing Large Selenium Grid Presentation Transcript

  • 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