Accelerate your software development and bring your great ideas to market faster with the world's largest automated testing cloud for web and mobile apps.
- Domain: saucelabs.com
- Credentials: username, accessKey
- Sign in saucelabs.com.
- Navigate to User Profile -> User Settings section of your Sauce Labs dashboard.
- Copy Your Username and Access Key.
Datatype | Description | Example |
---|---|---|
Datepicker | String which includes date and time | 2016-05-28 00:00:00 |
Map | String which includes latitude and longitude coma separated | 50.37, 26.56 |
List | Simple array | ["123", "sample"] |
Select | String with predefined values | sample |
Array | Array of objects | [{"Second name":"123","Age":"12","Photo":"sdf","Draft":"sdfsdf"},{"name":"adi","Second name":"bla","Age":"4","Photo":"asfserwe","Draft":"sdfsdf"}] |
Access basic account information
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
Create a sub account.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
subAccountUsername | String | Username of sub-account user |
password | String | Password of sub-account user |
name | String | Full name of sub-account user |
String | Email of sub-account user | |
concurrency | Number | Concurrency limit for the sub-account user |
Get a list of sub accounts associated with a parent account.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
from | Number | Pagination param |
limit | Number | Number of results to return |
Get information about a sub accounts.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
Get a list of sibling accounts associated with provided account.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
page | Number | Pagination param |
perPage | Number | Number of results to return |
Change access key of your account.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
Return various test metrics divided into buckets. A bucket contains data grouped by an interval specified in query params.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
start | DatePicker | Specifies a start point in time from which data is queried. |
end | DatePicker | Specifies an end point in time to which data is queried. |
interval | String | Specifies a length of a bucket in the response. Allowed units: d - day, h - hour, m - minute, s - second. Minimal interval is 5s , i.e. 5 seconds. |
os | String | Specifies values for the OS filter. |
browser | String | Specifies values for the Browser filter. |
Aggregate all errors that occurred in a given time range.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
start | DatePicker | Specifies a start point in time from which data is queried. |
end | DatePicker | Specifies an end point in time to which data is queried. |
os | String | Specifies values for the OS filter. |
browser | String | Specifies values for the Browser filter. |
Aggregate all tests into builds and tests without build. Maximum number of returned builds is 25.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
start | DatePicker | Specifies a start point in time from which data is queried. |
end | DatePicker | Specifies an end point in time to which data is queried. |
os | String | Specifies values for the OS filter. |
browser | String | Specifies values for the Browser filter. |
This endpoint is useful if one would like to retrieve more results from the above aggregations.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
start | DatePicker | Specifies a start point in time from which data is queried. |
end | DatePicker | Specifies an end point in time to which data is queried. |
error | String | Value of a test error field. |
build | String | Value of a test build field. |
from | Number | Item position from which data should be returned. |
size | Number | Number of items to return. |
missingBuild | String | Returns only tests without a build. |
Start your JavaScript unit tests on as many browsers as you like with a single request.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
platforms | List | An array of desktop platforms. |
url | String | Should point to the page that hosts your tests. |
framework | Select | Can be 'qunit', 'jasmine', 'YUI Test', 'mocha', or 'custom'. |
Get the status of your JS unit tests.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
jsTests | List | An array of job ids which you would like the status of |
List recent jobs belonging to a specific user.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
limit | Number | Specifies the number of jobs to return. |
skip | Number | Skips the specified number of jobs |
full | Select | Get full job information, rather than just IDs. |
from | DatePicker | Get jobs since the specified time |
to | DatePicker | Get jobs until the specified time |
Edit an existing job.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
jobId | String | Job id |
name | String | If specified change the job name |
tags | List | If present set tags for job |
public | String | Set job visibility |
passed | Select | Set whether the job passed or not on the user end |
build | String | The build name for this test. |
customData | JSON | Extra key-value pairs with any info that a user would like to add to the job. |
Removes the job from the system with all the linked assets.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
jobId | String | Job id |
Terminates a running job.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
jobId | String | Job id |
Get details about the static assets collected for a specific job.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
jobId | String | Job id |
Download job assets. After a job completes, all assets created during the job are available via this API. These include the screencast recording, logs, and screenshots taken on crucial steps.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
jobId | String | Job id |
fileName | String | File name |
Delete all the assets captured during a test run. This includes the screencast recording, logs, and all screenshots..
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
jobId | String | Job id |
Get the current status of Sauce Labs services.
No arguments.
Get a list of objects describing all the OS and browser platforms currently supported on Sauce Labs. Choose the automation API you need, bearing in mind that WebDriver and Selenium RC are each compatible with a different set of platforms.
Field | Type | Description |
---|---|---|
automationApi | Select | Must be: all, appium, webdriver |
Get a list of Appium end-of-life dates. Dates are displayed in Unix time.
No arguments.
Uploads a file to the temporary sauce storage. The storage will only retain the files for seven days.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
filename | String | Your file name |
fileData | File | Link to file |
Check which files are in your temporary storage
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
Get account concurrency limits together with current used concurrency and manual testing minutes.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
Get currently running job counts broken down by account and job status. Results are grouped by the job status for the requesting user and for its subaccounts.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
Access historical account usage data. Returns the total number of jobs and VM time used, in seconds grouped by day.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
start | DatePicker | Usage for dates not smaller then specified. |
end | DatePicker | Usage for dates not greater then specified. |
Retrieves all running tunnels for a specific user.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
Get information for a tunnel given its ID.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
tunnelId | String | Tunnel id |
Get the number of jobs that are running through the tunnel over the past 60 seconds.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
tunnelId | String | Tunnel id |
Shuts down a tunnel given its ID.
Field | Type | Description |
---|---|---|
username | credentials | Username string |
accessKey | String | Your saucelabs access key. |
tunnelId | String | Tunnel id |