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

Like this? Share it with your network

Share

Managing Large Selenium Grid

on

  • 1,769 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,769
Views on SlideShare
792
Embed Views
977

Actions

Likes
3
Downloads
9
Comments
0

3 Embeds 977

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

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 Presentation Transcript

  • 1. Managing Large Selenium Grid Dima Kovalenko (@dimacus) Jack Calzaretta
  • 2. http://seleniumcamp.com
  • 3. VMs
  • 4. www.xenproject.org
  • 5. Open Source • GNU License • Free
  • 6. Fast • Lightweight • Windows restarts in 5 seconds • 8 Windows 7 VMs on 1 host
  • 7. Stable • 1.5 years with 0 maintenance
  • 8. Controls • Complete control from linux shell
  • 9. 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
  • 10. Example Config
  • 11. Network • Bridge network • Easy network setup
  • 12. GUI Access • VNC • Each Windows instance listens on different port
  • 13. Disadvantages • Need some linux experience • No GUI • Does not have as many features as VMWare • A lot of initial work
  • 14. Proxy
  • 15. Problem • Many computers • Many datacenters • A lot of firewalls
  • 16. Reverse tunnel • SauceConnect
  • 17. Reverse tunnel • SauceConnect • Slow
  • 18. Reverse tunnel • SauceConnect • Slow • Can be Unstable • Machine to port nightmare
  • 19. Proxy Tunnels
  • 20. Browser Proxy Settings • Set Browser to use 1 port • Set white list of reachable assets
  • 21. JVM • -Dhttp.proxyHost= • -Dhttp.proxyPort= • Java -Dhttp.proxyHost=123 - Dhttp.proxyPort=123 –jar selenium.jar –role hub
  • 22. GridExtras • https://github.com/groupon/Selenium-Grid- Extras
  • 23. Goal • Stabilize OS in Grid • Give control over grid nodes
  • 24. Tie Into Hub • DefaultProxy class • Pre/After Session hook
  • 25. Status Servlet • Added new servlet for node status • Json return
  • 26. 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..
  • 27. Help Us out • Java • Very friendly • https://github.com/groupon/Selenium-Grid- Extras
  • 28. Thank you • Dima Kovalenko • @dimacus