Cloud Testing API
Stay organized with collections
Save and categorize content based on your preferences.
Allows developers to run automated tests for their mobile applications on Google infrastructure.
Service: testing.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://testing.googleapis.com
Methods |
getApkDetails |
POST /v1/applicationDetailService/getApkDetails
Gets the details of an Android application APK. |
Methods |
cancel |
POST /v1/{name=projects/*/deviceSessions/*}:cancel
POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections. |
create |
POST /v1/{parent=projects/*}/deviceSessions
POST /v1/projects/{project_id}/deviceSessions |
get |
GET /v1/{name=projects/*/deviceSessions/*}
GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is allocated. |
list |
GET /v1/{parent=projects/*}/deviceSessions
GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user. |
patch |
PATCH /v1/{deviceSession.name=projects/*/deviceSessions/*}
PATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the update_mask. |
Methods |
cancel |
POST /v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel
Cancels unfinished test executions in a test matrix. |
create |
POST /v1/projects/{projectId}/testMatrices
Creates and runs a matrix of tests according to the given specifications. |
get |
GET /v1/projects/{projectId}/testMatrices/{testMatrixId}
Checks the status of a test matrix and the executions once they are created. |
Methods |
get |
GET /v1/testEnvironmentCatalog/{environmentType}
Gets the catalog of supported test environments. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-25 UTC.
[null,null,["Last updated 2024-07-25 UTC."],[],[],null,["# Cloud Testing API\n\nAllows developers to run automated tests for their mobile applications on Google infrastructure.\n\n- [REST Resource: v1.applicationDetailService](#v1.applicationDetailService)\n- [REST Resource: v1.projects.deviceSessions](#v1.projects.deviceSessions)\n- [REST Resource: v1.projects.testMatrices](#v1.projects.testMatrices)\n- [REST Resource: v1.testEnvironmentCatalog](#v1.testEnvironmentCatalog)\n\nService: testing.googleapis.com\n-------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://testing.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://testing.googleapis.com`\n\nREST Resource: [v1.applicationDetailService](/docs/test-lab/reference/testing/rest/v1/applicationDetailService)\n---------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [getApkDetails](/docs/test-lab/reference/testing/rest/v1/applicationDetailService/getApkDetails) | `POST /v1/applicationDetailService/getApkDetails` Gets the details of an Android application APK. |\n\nREST Resource: [v1.projects.deviceSessions](/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions)\n-------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [cancel](/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions/cancel) | `POST /v1/{name=projects/*/deviceSessions/*}:cancel` POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections. |\n| [create](/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions/create) | `POST /v1/{parent=projects/*}/deviceSessions` POST /v1/projects/{project_id}/deviceSessions |\n| [get](/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions/get) | `GET /v1/{name=projects/*/deviceSessions/*}` GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is allocated. |\n| [list](/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions/list) | `GET /v1/{parent=projects/*}/deviceSessions` GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user. |\n| [patch](/docs/test-lab/reference/testing/rest/v1/projects.deviceSessions/patch) | `PATCH /v1/{deviceSession.name=projects/*/deviceSessions/*}` PATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the update_mask. |\n\nREST Resource: [v1.projects.testMatrices](/docs/test-lab/reference/testing/rest/v1/projects.testMatrices)\n---------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [cancel](/docs/test-lab/reference/testing/rest/v1/projects.testMatrices/cancel) | `POST /v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel` Cancels unfinished test executions in a test matrix. |\n| [create](/docs/test-lab/reference/testing/rest/v1/projects.testMatrices/create) | `POST /v1/projects/{projectId}/testMatrices` Creates and runs a matrix of tests according to the given specifications. |\n| [get](/docs/test-lab/reference/testing/rest/v1/projects.testMatrices/get) | `GET /v1/projects/{projectId}/testMatrices/{testMatrixId}` Checks the status of a test matrix and the executions once they are created. |\n\nREST Resource: [v1.testEnvironmentCatalog](/docs/test-lab/reference/testing/rest/v1/testEnvironmentCatalog)\n-----------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| [get](/docs/test-lab/reference/testing/rest/v1/testEnvironmentCatalog/get) | `GET /v1/testEnvironmentCatalog/{environmentType}` Gets the catalog of supported test environments. |"]]