The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Insights

External Resources

More Info


Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Starting Sauce Connect Proxy

...

1. After extracting the Sauce Connect download files onto your machine, go to the install directory and run sc with

...

the command below to authenticate against your Sauce Labs account and establish the Sauce Connect tunnel.

...

titleWhen running in Mac or Linux:

...

where: 

  • YOUR_USERNAME is the username assigned to your Sauce Labs account
  • SAUCE_ACCESS_KEY

...

Code Block
titleWhen running in Windows:
sc_download\bin\sc.exe -u YOUR_USERNAME -k YOUR_ACCESS_KEY

...

  • is the access key associated with that account
  • ENDPOINT is the url of the datacenter you need to use. By default the -x option is not required if you're using the default US West data center. If you're using the Read Device Cloud or the European Data Center, -x ENDPOINT is required. For more information about endpoints, see Connection and Status Information for the Sauce Labs Data Centers

NOTEIf you are starting a tunnel for Real Device tests, see Sauce Connect Proxy Setup for Real Device Cloud (RDC).

...

 

Code Block
titleWhen

...

running in Mac or Linux:
sc_download/bin/sc -u YOUR_USERNAME -k 

...

SAUCE_ACCESS_KEY -x 

...

ENDPOINT
Code Block
titleWhen running in Windows:
sc_download\bin\sc.exe -u YOUR_USERNAME -k SAUCE_ACCESS_KEY -x ENDPOINT


When you see connectedlog in to your Sauce Labs account and click the Tunnels dashboard link. Under Active Tunnels, you should see the tunnel you've just started.  


Using Sauce Connect Proxy Tunnels for Automated Tests

...