Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Integration with saucelabs over private network


Published on

How to integrate with SauceLabs for automated browser and real device testing over a private network

Published in: Software
  • Be the first to comment

  • Be the first to like this

Integration with saucelabs over private network

  1. 1. E X P E R I E N C E T O O L S CUSTO M ER E X P E R I E N C E T O O L S DEVELOPER Shane Chapman & Murali Tulugu October 23, 2018 Sauce Labs Advanced Features and Integration with Private Network
  2. 2. Introductions MuraliTulugu Solutions Architect Sauce Labs EMAIL: Shane Chapman Staff Engineer WalmartLabs EMAIL:
  3. 3. Sauce Connect (SC) • Allows testing of internal web sites and applications • Secure connection between Sauce Labs and your private network • Easy to install - command line app for Linux, Mac, Windows • Multiple Start/Stop Options – Manual, CI, Test Runner, Maven Plug-In • Alternative to Whitelisting Purpose of Sauce Connect © Sauce Labs, Inc.
  4. 4. Sauce Connect Setup Fire wall © Sauce Labs, Inc.
  5. 5. Sauce Connect in High Availability & Load Balance © Sauce Labs, Inc.
  6. 6. Sauce Connect – Best Practices • Start SC in High Availability Mode – Achieve HA /LB ● Multiple tunnels with the same tunnel-identifier --no-remove-colliding-tunnels • Start SC in Shared Tunnel Mode – Avoid multiple tunnels ● Users can share parent account tunnel … --shared • Only use tunnel for traffic that is needed – Speed up Test Execution ● Drop un-necessary traffic … --direct-domains and/or --fast-fail-regexps © Sauce Labs, Inc.
  7. 7. Problems • Tunnels require a restart every 24 hours • Tunnels become unresponsive • No notifications when tunnels become unresponsive • Scale tunnels up and down without impacting other tunnels
  8. 8. Solution • Raven/Lookout - Availability • Detect and manage unresponsive tunnels (self-healing) • Orchestrator – Scalability • Process management to scale up tunnels • Stats - Alerting & monitoring • Use thresholds to get notifications
  9. 9. Test Pipeline Architecture
  10. 10. Raven/Lookout/Orchestrator
  11. 11. Walmart Usage WALMART US (BROWSERS) 20 Tunnels 6 Tunnels 6 Tunnels 6 Tunnels 38 Tunnels 3800 Selenium Sessions = WALMART US (DEVICES) WALMART MEXICO WALMART STORES
  12. 12. Impact 0Customer Impact 4hrsSaved per Week
  13. 13. Impact
  14. 14. Next Steps • Open source the projects for other Sauce Labs users • Use the terminal/cron jobs with configuration to manage tunnels • Handling of more than 2 DMZ boxes
  15. 15. Q&A
  16. 16. Contact Us @testarmada