Cloud Testing API
Allows developers to run automated tests for their mobile applications on Google infrastructure.
Developer tools#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Allows developers to run automated tests for their mobile applications on Google infrastructure.
Endpoints 10
applicationDetailService
- POSTGets the details of an Android application APK.
/v1/applicationDetailService/getApkDetails?bundleLocation.gcsPath=stringGets the details of an Android application APK.
projects.deviceSessions
- POSTPOST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED…
/v1/:name:cancelPOST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections. Canceled… - GETGET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user.
/v1/:parent/deviceSessions?filter=string&pageSize=0&pageToken=stringGET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user. - POSTPOST /v1/projects/{project_id}/deviceSessions
/v1/:parent/deviceSessionsPOST /v1/projects/{project_id}/deviceSessions - GETGET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the…
/v1/:nameGET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is… - PATCHPATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session…
/v1/:name?updateMask=stringPATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the…
projects.testMatrices
- POSTCancels unfinished test executions in a test matrix
/v1/projects/:projectId/testMatrices/:testMatrixId:cancelCancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asynchronously. If the matrix is already final,… - POSTCreates and runs a matrix of tests according to the given specifications
/v1/projects/:projectId/testMatrices?requestId=stringCreates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is… - GETChecks the status of a test matrix and the executions once they are created
/v1/projects/:projectId/testMatrices/:testMatrixIdChecks the status of a test matrix and the executions once they are created. The test matrix will contain the list of test executions to run if and only if…
testEnvironmentCatalog
- GETGets the catalog of supported test environments
/v1/testEnvironmentCatalog/:environmentType?includeViewableModels=true&projectId=stringGets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed -…
API details
- Base URL
https://testing.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 10 operations on 8 pathsPOST 5GET 4PATCH 1
- Main resources
- projects.deviceSessions 5projects.testMatrices 3applicationDetailService 1testEnvironmentCatalog 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Cloud Testing API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Cloud Testing API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Gets the details of an Android application APK.” (POST /v1/applicationDetailService/getApkDetails?bundleLocation.gcsPath=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Cloud Testing API?
Allows developers to run automated tests for their mobile applications on Google infrastructure. It is listed under Developer tools and has 10 endpoints.
Who publishes the Cloud Testing API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Cloud Testing API?
Requests go to https://testing.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Cloud Testing API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the Cloud Testing API have?
10 operations on 8 paths (5 POST, 4 GET, 1 PATCH). The largest groups are projects.deviceSessions, projects.testMatrices, applicationDetailService, testEnvironmentCatalog.
Is forking the Cloud Testing API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.