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.

Status
colourRed
titlePAGE DEPRECATED
: updated content available here.

Please select your preferred method for uploading your application in order to view the instructions:

Tabs Container
directionhorizontal
Tabs Page
idrealdevice-ui
titleUsing the UI
classrealdevice-ui
  1. Log in to Sauce Labs and select LIVE from the options in the left-hand navigation.
  2. Select Mobile-App.
  3. You will see a list of previously uploaded apps.
  4. To the right of the page, select App Upload to upload a new application (Note: Live Testing on Real Devices only at the moment):
Tabs Page
idrealdevice-remote-location
titleUsing a Remote Location
classrealdevice-remote-location

Include Page
Installing your Application from a Remote Location
Installing your Application from a Remote Location

Tabs Page
idrealdevice-rest-api
titleUsing the REST API
classrealdevice-rest-api

Application Storage

Here is an example of how to upload an application to Application Storage in the US West Data Center:

Code Block
languagebash
titleMac OSX / Linux Example
$ curl -F "payload=@/Users/$SAUCE_USERNAME/Downloads/$FILE_NAME.ipa" -F "name=$FILE_NAME.ipa" -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY"  'https://api.us-west-1.saucelabs.com/v1/storage/upload'

NOTE: Application Storage can be used for public and private real device cloud testing only. For examples of how to access the application in your automated test builds and more detailed information on how to use the Storage API, visit the Application Storage page.


Sauce Temporary Storage

Here is an example of how to upload an application to Sauce Temporary Storage:

Code Block
languagebash
titleMacOS/Linux Example
$ curl -u $SAUCE_USERNAME:$SAUCE_ACCESS_KEY -X POST -H "Content-Type: application/octet-stream" \
"https://saucelabs.com/rest/v1/storage/$SAUCE_USERNAME/$APP_NAME?overwrite=true" --data-binary @path/to/your_file_name

NOTE: Sauce Storage can be used for emulator and simulator testing only. For more examples and more detailed information, visit the see Sauce Temporary Storage page.