POST /v1/projects/{projectId}/testMatrices
Changed onCreates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. Execution creation happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices.
Request
- Base URLhttps://testing.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
Path parameters
The GCE project under which this job will run.
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.
Request body
TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.
Information about the client which invoked the test.
The matrix of environments in which the test is to be executed.
Output only. Details about why a matrix was deemed invalid. If multiple checks can be safely performed, they will be reported but no assumptions should be made about the length of this list.
If true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.
The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no reruns.
Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.
Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.
The cloud project that owns the test matrix.
Locations where the results of running the test are stored.
Output only. Indicates the current progress of the test matrix.
Output only. The list of test executions that the service creates for this matrix.
Output only. Unique id set by the service.
A description of how to run the test.
Output only. The time this test matrix was initially created.
Response
Successful response
TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.
Information about the client which invoked the test.
The matrix of environments in which the test is to be executed.
Output only. Details about why a matrix was deemed invalid. If multiple checks can be safely performed, they will be reported but no assumptions should be made about the length of this list.
If true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.
The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no reruns.
Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.
Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.
The cloud project that owns the test matrix.
Locations where the results of running the test are stored.
Output only. Indicates the current progress of the test matrix.
Output only. The list of test executions that the service creates for this matrix.
Output only. Unique id set by the service.
A description of how to run the test.
Output only. The time this test matrix was initially created.
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status
- breaking