- Resource: Session
- SessionConfig
- JobConfig
- JobSettings
- RetrySettings
- FlakyTestRetryStrategy
- TestReductionMode
- JobAction
- AndroidInstrumentationTest
- UniformSharding
- SmartSharding
- InputFile
- GcsPath
- AndroidInstallable
- AndroidNativeBinary
- IosXcTest
- AllocationConfig
- DeviceConfig
- DeviceRequirement
- AndroidPhysicalDeviceRequirement
- StringRequirement
- StringSetRequirement
- IntRequirement
- IntRangeRequirement
- DeviceAction
- AndroidOrientationDeviceAction
- AndroidLogcatDeviceAction
- AndroidSwitchLocaleDeviceAction
- AndroidRecordVideoDeviceAction
- AndroidPushFilesDeviceAction
- FileConfig
- AndroidPullFilesDeviceAction
- AndroidInstallPackagesDeviceAction
- AndroidBugreportDeviceAction
- AndroidDumpsysDeviceAction
- AndroidMockLocationDeviceAction
- LatLng
- IosPushFilesDeviceAction
- FileConfig
- IosPullFilesDeviceAction
- PathConfig
- IosInstallPackagesDeviceAction
- IosRecordVideoDeviceAction
- SessionNotificationConfig
- SessionOutputFileDirectoryConfig
- SessionReport
- JobReport
- ExecutionReport
- Status
- StatusType
- Result
- ResultType
- ResultCause
- IssueSummary
- IssueType
- Warning
- OutputFile
- Methods
Resource: Session
A session resource in the AutomationSession API.
At a high level, Session describes the configuration of one or multiple jobs, the state transitions it goes through, and the results.
| JSON representation |
|---|
{ "name": string, "sessionConfig": { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the session. Format: |
sessionConfig |
Required. Configuration used to create the session. |
sessionReport |
Output only. The runtime information and result report of the session. |
SessionConfig
SessionConfig is used to create a session.
| JSON representation |
|---|
{ "displayName": string, "jobConfigs": [ { object ( |
| Fields | |
|---|---|
displayName |
Optional. User-settable, human-readable name for the session. Maximum size is 63 bytes when encoded as UTF-8. If set, must match regex: |
jobConfigs[] |
Required. Configs of the jobs in the session. |
notificationConfig |
Optional. Notification config for the session. |
outputDirectoryConfig |
Required. Output file directory config for the session. |
JobConfig
The configuration of a job.
| JSON representation |
|---|
{ "displayName": string, "settings": { object ( |
| Fields | |
|---|---|
displayName |
Optional. User-settable, human-readable name for the job. If set, it must be unique within the session. If not set, the display name will default to Maximum size is 63 bytes when encoded as UTF-8. If set, must match regex: |
settings |
Optional. Job settings. |
action |
Required. Job action. |
allocationConfig |
Required. Allocation config. |
labels |
Optional. User-defined metadata for tracking or categorization. These labels do not affect job execution and are surfaced in the JobReport. Limits:
An object containing a list of |
JobSettings
Job settings to control the job execution.
| JSON representation |
|---|
{
"retrySettings": {
object ( |
| Fields | |
|---|---|
retrySettings |
Optional. The retry settings of the job. |
RetrySettings
Retry settings.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field retry_strategy_oneof. The retry strategy of the job. If not set, the default retry strategy is flaky_test_retry_strategy. retry_strategy_oneof can be only one of the following: |
|
flakyTestRetryStrategy |
Optional. The default retry strategy. Allows an Execution to retry on test failures and infrastructure errors. |
FlakyTestRetryStrategy
Default retry strategy. It will retry on test failures for up to flakyTestAttempts (including the initial run). It also retries on infra issues for up to 2 attempts (including the initial run). So in total, an execution can run up to flakyTestAttempts * 2 times in the worst case.
| JSON representation |
|---|
{
"flakyTestAttempts": integer,
"parallelRetry": boolean,
"testReductionMode": enum ( |
| Fields | |
|---|---|
flakyTestAttempts |
Required. The total attempts for flaky tests, including the initial run. Default value: 1 (no retry). Range: [1, 5]. |
parallelRetry |
Optional. Whether to retry the test failures in parallel. By default, the test is retried sequentially. If true, when the initial attempt fails, (flakyTestAttempts - 1) attempts will be triggered at the same time to run in parallel. |
testReductionMode |
Optional. The mode of test reduction for retry. If the test runner doesn't support the specified test reduction mode, the request will be rejected with an |
TestReductionMode
Determines how the test cases are reduced for retry.
| Enums | |
|---|---|
TEST_REDUCTION_MODE_UNSPECIFIED |
The test reduction mode is unspecified. Will default to NO_REDUCTION. |
NO_REDUCTION |
Runs the same set of test cases of the previous attempt. |
REDUCE_TO_FAILED_TEST_CASES |
Only runs the failed test cases of the previous attempt. |
JobAction
The action to be performed in a job.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
androidInstrumentationTest |
Android instrumentation test. |
androidNativeBinary |
Android native binary execution. |
iosXcTest |
iOS XCTest. |
AndroidInstrumentationTest
The configuration of an Android instrumentation test.
See https://developer.android.com/training/testing/instrumented-tests for more information on Android instrumentation tests.
| JSON representation |
|---|
{ "testInstallable": { object ( |
| Fields | |
|---|---|
testInstallable |
Required. The test package to install and run the test. |
testRunnerClass |
Optional. Full class name of the test runner class. The class must be The default value is determined by examining the application's manifest. If multiple instrumentations are found, the first one in the manifest will be used. |
testTargets[] |
Optional. A list of test targets or target filters to run. Each target must be fully qualified with the package name or class name, in one of these formats:
Formats like If empty, all targets in the module will be run. Limits:
|
enableCodeCoverage |
Optional. Whether to enable code coverage collection for the test. A coverage file |
additionalTestOptions |
Optional. Additional test options to pass to the test runner. Passed to Formats supported in testTargets are not allowed to be used here. Limits:
An object containing a list of |
orchestratorVersion |
Optional. The version of the Android Test Orchestrator to use for the test. If not set, no orchestrator is used. If set to "auto", a system-default orchestrator is used. |
instrumentationTimeout |
Optional. The timeout of the instrumentation test. Default value: 5 min. Range: [1 min, 60 min]. A duration in seconds with up to nine fractional digits, ending with ' |
Union field sharding_option_oneof. The sharding option of the test. If not set, no sharding will be performed and the test will be run as a single shard. sharding_option_oneof can be only one of the following: |
|
uniformSharding |
Optional. Uniform sharding strategy to split the job into multiple shards with equal number of test methods. |
smartSharding |
Optional. Smart sharding strategy to split the job into multiple shards based on the test methods and their execution time. |
UniformSharding
Uniformly shards test cases given a total number of shards.
It will be translated to -e numShard and -e shardIndex AndroidJUnitRunner arguments. With uniform sharding enabled, specifying either of these sharding arguments via environment_variables is invalid.
Based on the sharding mechanism AndroidJUnitRunner uses, there is no guarantee that test cases will be distributed uniformly across all shards.
| JSON representation |
|---|
{ "shardCount": integer } |
| Fields | |
|---|---|
shardCount |
Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. Limits:
|
SmartSharding
The smart sharding strategy to split the job into multiple shards based on the test methods and their recorded execution time.
| JSON representation |
|---|
{
"targetedShardDuration": string,
"timingRecord": {
object ( |
| Fields | |
|---|---|
targetedShardDuration |
Required. The targeted duration of each shard. Limits:
Shard duration is not guaranteed because smart sharding uses test case history and default durations which may not be accurate. Durations are calculated based on the following inputs:
Because the actual shard duration can exceed the targeted shard duration, we recommend that you set the targeted value at least 5 minutes less than the maximum allowed instrumentation timeout. This approach avoids cancelling the shard before all tests can finish. A duration in seconds with up to nine fractional digits, ending with ' |
timingRecord |
Required. The timing record file to use for smart sharding. If the file does not exist, smart sharding will use default test time (30s) for each test method to shard the job into multiple shards. This file will be overwritten with the latest timing record after the job is completed. |
maxShardCount |
Optional. The maximum number of shards to create. If unset or less than 1, system-defined max limits are used. This limit takes precedence if the targetedShardDuration cannot be satisfied. Limits:
|
InputFile
Input file.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
gcsInputFile |
An input file in Google Cloud Storage. |
GcsPath
A path to a file or directory in Google Cloud Storage.
| JSON representation |
|---|
{ "path": string } |
| Fields | |
|---|---|
path |
Required. The Google Cloud Storage path of the file or directory. Format: |
AndroidInstallable
An Android Installable represents the file(s) for installing an Android package on a device.
This can be an APK, an Android App Bundle (AAB), or an APK Set.
| JSON representation |
|---|
{
"files": [
{
object ( |
| Fields | |
|---|---|
files[] |
Required. Files that make up the package. Supported formats are distinguished by their file extension:
|
AndroidNativeBinary
The configuration of an Android native binary execution.
| JSON representation |
|---|
{
"androidNativeBinary": {
object ( |
| Fields | |
|---|---|
androidNativeBinary |
Required. The file path of the Android native binary. |
executionTimeout |
Optional. The timeout of the execution. Default value: 5 min. Range: [1 min, 60 min]. A duration in seconds with up to nine fractional digits, ending with ' |
args[] |
Optional. Arguments for running the binary file. The flags will be appended to the command line that invokes the binary. The number of options is limited to 100. |
envVars |
Optional. A map of environment variables to set for the binary process. The keys are the variable names and the values are the variable values. The maximum number of entries is 100. Each key is limited to 128 characters and must conform to POSIX standards. Each value is limited to 2048 characters. The total size of all environment variables must not exceed 16 KiB. An object containing a list of |
IosXcTest
The configuration of an iOS XCTest.
| JSON representation |
|---|
{ "testsZip": { object ( |
| Fields | |
|---|---|
testsZip |
Required. The .zip containing the .xctestrun file and the contents of the DerivedData/Build/Products directory. |
xctestrun |
Optional. An .xctestrun file that will override the .xctestrun file in the tests zip. |
xcodeVersion |
Optional. The Xcode version that should be used for the test. If not set, a system-default Xcode version is used. The available Xcode versions can be retrieved from the catalog service. |
xcTestTimeout |
Optional. The timeout of the test. Default value: 5 min. Range: [1 min, 60 min]. A duration in seconds with up to nine fractional digits, ending with ' |
AllocationConfig
Allocation config.
| JSON representation |
|---|
{
"deviceConfigs": [
{
object ( |
| Fields | |
|---|---|
deviceConfigs[] |
Required. At least one device config is required. If more than one device config is required, the multiple devices are allocated to each shard of the OmniLab job to run multi-device-interaction tests. |
DeviceConfig
The configuration of a run on a device.
| JSON representation |
|---|
{ "requirement": { object ( |
| Fields | |
|---|---|
requirement |
Required. The requirement of the device. |
actions[] |
Optional. The actions to be performed on the device. Actions will be executed in the order they are specified in the list. Each action type can at most have 1 instance in the list. |
DeviceRequirement
The requirement of a device.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
androidPhysicalDeviceRequirement |
The requirement of a physical Android device. |
deviceId |
The device ID of a device in the catalog. The device ID is the last part of a device's resource name. |
AndroidPhysicalDeviceRequirement
The requirement of an Android physical device.
| JSON representation |
|---|
{ "model": { object ( |
| Fields | |
|---|---|
model |
Optional. The model of the device, e.g. "pixel 6", "pixel 7", etc. https://developer.android.com/reference/android/os/Build#MODEL |
sdkVersion |
Optional. The API level/SDK version of the device, e.g. "26", "27", etc. https://developer.android.com/reference/android/os/Build#VERSION.SDK_INT |
buildType |
Optional. The build type of the device, e.g. "user", "userdebug", "eng", etc. https://developer.android.com/reference/android/os/Build#TYPE |
StringRequirement
Device dimension value that accepts a string typed parameter as value.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field requirement. The requirement of the string value. requirement can be only one of the following: |
|
exact |
The exact string value. |
set |
The set of string values. |
StringSetRequirement
Device dimension value that accepts a set of string values.
| JSON representation |
|---|
{ "values": [ string ] } |
| Fields | |
|---|---|
values[] |
Required. A set of strings, where any of the values is considered a match. |
IntRequirement
Device dimension value that accepts an integer typed parameter as value.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field requirement. The requirement of the integer value. requirement can be only one of the following: |
|
exact |
The exact integer value. |
range |
The range of integer values. |
IntRangeRequirement
Device dimension value that accepts a range of integer values. If minimum is not set, the range is open-ended on the lower side. If maximum is not set, the range is open-ended on the upper side. If both are set, the range is inclusive [minimum, maximum].
| JSON representation |
|---|
{ "minimum": integer, "maximum": integer } |
| Fields | |
|---|---|
minimum |
Optional. The minimum value of the range (inclusive). |
maximum |
Optional. The maximum value of the range (inclusive). |
DeviceAction
The action to be performed on a device.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
androidOrientation |
Sets the orientation of the device. |
androidLogcat |
Collects logcat output from the device. |
androidSwitchLocale |
Switches the locale (language and region) of the device. |
androidRecordVideo |
Records a video of the device screen during the run. |
androidPushFiles |
Pushes files to the device at the beginning of the run. |
androidPullFiles |
Pulls directories and files from the device at the end of the run. |
androidInstallPackages |
Installs Android packages on the device. |
androidBugreport |
Captures a bugreport from the device unless the test result is pass. |
androidDumpsys |
Captures a dumpsys from the device. |
androidMockLocation |
Mocks the location of the device. |
iosPushFiles |
Pushes files to the iOS device sandbox at the beginning of the run. |
iosPullFiles |
Pulls directories and files from the iOS device sandbox at the end of the run. |
iosInstallPackages |
Installs additional iOS packages on the device. |
iosRecordVideo |
Records a video of the iOS device screen during the run. |
AndroidOrientationDeviceAction
Sets the orientation of the device.
| JSON representation |
|---|
{ "orientation": string } |
| Fields | |
|---|---|
orientation |
Required. The orientation to set the device to. One of |
AndroidLogcatDeviceAction
This type has no fields.
Collects logcat output from the device.
The output will be written to a file named logcat.txt in the execution output directory.
AndroidSwitchLocaleDeviceAction
Switches the locale (language and region) of the device.
| JSON representation |
|---|
{ "localeCode": string } |
| Fields | |
|---|---|
localeCode |
Required. The locale (language and region) to switch the device to. The format is |
AndroidRecordVideoDeviceAction
Records a video of the device screen during the run.
The video will be written to a file named video.mp4 in the execution output directory.
| JSON representation |
|---|
{ "discardOnPass": boolean } |
| Fields | |
|---|---|
discardOnPass |
Optional. Whether to discard and not upload the recording when the test passes. Default is false. |
AndroidPushFilesDeviceAction
Pushes files to the device at the beginning of the run.
Files are overwritten if a file with the same path already exists on the device, if device permissions allow.
| JSON representation |
|---|
{
"fileConfigs": [
{
object ( |
| Fields | |
|---|---|
fileConfigs[] |
Required. Configs of pushing files to the device. Limits:
|
FileConfig
The configuration of pushing a file to the device.
| JSON representation |
|---|
{
"sourceFile": {
object ( |
| Fields | |
|---|---|
sourceFile |
Required. The file to be pushed to the device. |
destinationPath |
Required. The destination path on the device. |
AndroidPullFilesDeviceAction
Pulls directories and files from the device at the end of the run.
Files will be copied to the '
Note that:
- A clean device is provided for the run.
- Any existing files in the output directory may be overwritten.
- Pulling files is best effort. Will skip files if they don't exist on the device.
| JSON representation |
|---|
{ "paths": [ string ] } |
| Fields | |
|---|---|
paths[] |
Required. Absolute directory or file paths to pull from the device. Limits:
|
AndroidInstallPackagesDeviceAction
Installs Android packages on the device.
| JSON representation |
|---|
{
"installables": [
{
object ( |
| Fields | |
|---|---|
installables[] |
Required. The Android packages to install on the device. The installation will be performed in the order specified. Limits: - A maximum of 20 installables are allowed. - A maximum of 100 files are allowed in total across all installables. |
AndroidBugreportDeviceAction
Captures a bugreport from the device.
The output will be written to a file named bugreport.zip in the execution output directory.
| JSON representation |
|---|
{ "collectOnPass": boolean } |
| Fields | |
|---|---|
collectOnPass |
Optional. Whether to deliver the bugreport when the test passes. If false, the bugreport is skipped on pass to save time (default behavior). If true, the bugreport is always delivered. |
AndroidDumpsysDeviceAction
Captures dumpsys output from the device.
The output will be written to a file named dumpsys.log in the execution output directory.
| JSON representation |
|---|
{ "collectOnPass": boolean } |
| Fields | |
|---|---|
collectOnPass |
Optional. Whether to deliver the dumpsys when the test passes. If false, the dumpsys is skipped on pass to save time (default behavior). If true, the dumpsys is always delivered. |
AndroidMockLocationDeviceAction
Mocks the location of the Android device.
| JSON representation |
|---|
{
"location": {
object ( |
| Fields | |
|---|---|
location |
Required. The mock location to set on the device. |
LatLng
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
| JSON representation |
|---|
{ "latitude": number, "longitude": number } |
| Fields | |
|---|---|
latitude |
The latitude in degrees. It must be in the range [-90.0, +90.0]. |
longitude |
The longitude in degrees. It must be in the range [-180.0, +180.0]. |
IosPushFilesDeviceAction
Pushes files to the iOS device sandbox at the beginning of the run.
| JSON representation |
|---|
{
"fileConfigs": [
{
object ( |
| Fields | |
|---|---|
fileConfigs[] |
Required. Configs of pushing files to the device. Limits: - A maximum of 50 files are allowed. |
FileConfig
The configuration of pushing a file to the iOS device.
| JSON representation |
|---|
{
"sourceFile": {
object ( |
| Fields | |
|---|---|
sourceFile |
Required. The file to be pushed. |
bundleId |
Required. The bundle ID of the application sandbox. |
destinationPath |
Required. The destination path relative to the app sandbox, e.g. "/Documents/file.txt". |
IosPullFilesDeviceAction
Pulls directories and files from the iOS device sandbox at the end of the run.
| JSON representation |
|---|
{
"paths": [
{
object ( |
| Fields | |
|---|---|
paths[] |
Required. Absolute directory or file paths to pull from the device. Limits: - A maximum of 10 paths are allowed. |
PathConfig
The configuration of pulling a file or directory from the iOS device.
| JSON representation |
|---|
{ "bundleId": string, "devicePath": string } |
| Fields | |
|---|---|
bundleId |
Required. The bundle ID of the application sandbox. |
devicePath |
Required. The device path relative to the app sandbox, e.g. "/Documents/output/". |
IosInstallPackagesDeviceAction
Installs iOS packages on the device.
| JSON representation |
|---|
{
"ipas": [
{
object ( |
| Fields | |
|---|---|
ipas[] |
Required. Additional iOS packages (IPAs) to install on the device. Limits: - A maximum of 20 IPAs are allowed. |
IosRecordVideoDeviceAction
Records a video of the iOS device screen during the run.
The video will be written to a file named video.mp4 in the execution output directory.
| JSON representation |
|---|
{ "discardOnPass": boolean } |
| Fields | |
|---|---|
discardOnPass |
Optional. Whether to discard the video if the test passes. If not specified, the default is false (always keep the video). |
SessionNotificationConfig
Config to control session notification.
| JSON representation |
|---|
{ "pubsubTopic": [ string ] } |
| Fields | |
|---|---|
pubsubTopic[] |
Optional. The Pub/Sub topics to which session events are published. Format: |
SessionOutputFileDirectoryConfig
Config to control session output file directory.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field output_directory_oneof. Output directory for the session. output_directory_oneof can be only one of the following: |
|
gcsOutputDirectory |
The Google Cloud Storage path of the output directory. |
SessionReport
The runtime information and result report of a session.
| JSON representation |
|---|
{ "id": string, "jobReports": [ { object ( |
| Fields | |
|---|---|
id |
Output only. The unique identifier of the session. |
jobReports[] |
Output only. Reports of the jobs in the session. |
startTime |
Output only. The start time of the session. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Output only. The end time of the session. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
status |
Output only. The status of the session. |
result |
Output only. The result of the session. |
JobReport
The runtime information and result report of a job.
| JSON representation |
|---|
{ "id": string, "displayName": string, "executionReports": [ { object ( |
| Fields | |
|---|---|
id |
Output only. The unique identifier of the job. |
displayName |
Output only. The displayName set by users in the JobConfig. |
executionReports[] |
Output only. Reports of the execution attempts of the job. |
startTime |
Output only. The start time of the job. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Output only. The end time of the job. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
status |
Output only. The status of the job. |
result |
Output only. The result of the job. |
outputFiles[] |
Output only. The output files of the job. |
labels |
Output only. The original labels provided by the user during job creation. An object containing a list of |
warnings[] |
Output only. Non-fatal warnings collected during the job. |
ExecutionReport
The runtime information and result report of a single on-device execution attempt.
| JSON representation |
|---|
{ "id": string, "displayName": string, "startTime": string, "endTime": string, "status": { object ( |
| Fields | |
|---|---|
id |
Output only. The unique identifier of the execution. |
displayName |
Output only. The displayName set by users in the ExecutionConfig. |
startTime |
Output only. The start time of the execution. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Output only. The end time of the execution. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
status |
Output only. The status of the execution. |
result |
Output only. The result of the execution. |
warnings[] |
Output only. Non-fatal warnings collected during the execution. |
outputFiles[] |
Output only. The output files of the execution. |
Status
The status of a session/job/execution.
| JSON representation |
|---|
{
"statusType": enum ( |
| Fields | |
|---|---|
statusType |
Output only. The status type of the session/job/execution. |
progressMessages[] |
Output only. Human-readable, detailed descriptions of the session/job/execution's progress. For example: "Provisioning a device", "Starting Test". Each message should contain only one line of text. During the course of execution new data may be appended to the end of progressMessages. |
StatusType
All status types.
| Enums | |
|---|---|
STATUS_TYPE_UNSPECIFIED |
Unknown status type. |
PENDING |
The session/job/execution is pending, not started yet. |
RUNNING |
The session/job/execution is running. |
DONE |
The session/job/execution is finished. |
SUSPENDED |
The session/job/execution is suspended due to quota issues. |
Result
The result of a session/job/execution.
| JSON representation |
|---|
{ "resultType": enum ( |
| Fields | |
|---|---|
resultType |
Output only. The result type of the session/job/execution. |
cause |
Output only. Detailed result cause diagnostics. Set if type is not PASSED. |
ResultType
All result types.
| Enums | |
|---|---|
RESULT_TYPE_UNSPECIFIED |
Unknown result type. |
PASSED |
Finished and passed. |
FAILED |
Finished but failed. It is usually caused by the user config, problematic test cases, or real bugs of their apps/platform under test. |
ERROR |
Unclassified error, can be caused by user config/tests/AUT, infra, or the tools that the infra is depending on. |
TIMED_OUT |
Test timeout. |
CANCELLED |
Test is aborted by user. |
ResultCause
Describes the cause of the non-passed result occurred during the execution.
| JSON representation |
|---|
{
"summary": {
object ( |
| Fields | |
|---|---|
summary |
Output only. Structured cause detail. |
IssueSummary
Describes the summary of an issue (error or warning) with structured details.
| JSON representation |
|---|
{
"type": enum ( |
| Fields | |
|---|---|
type |
Output only. The issue classification based on responsibility. |
reason |
Output only. The reason of the issue. This is a constant value that identifies the proximate cause of the issue. This should be at most 63 characters and match a regular expression of |
message |
Output only. Human-readable explanation of the issue in English. |
IssueType
Classification of issue responsibility.
| Enums | |
|---|---|
ISSUE_TYPE_UNSPECIFIED |
Unspecified issue type. This value is unused. |
INFRA |
Platform infrastructure or operational execution environment failure. |
CUSTOMER |
Customer test script failure, malformed APK, or bad user configuration. |
Warning
Non-fatal operational anomaly, lint observation, or execution insight.
| JSON representation |
|---|
{
"summary": {
object ( |
| Fields | |
|---|---|
summary |
Output only. Detailed warning summary. |
OutputFile
Output file.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
gcsOutputFile |
An output file in Google Cloud Storage. |
Methods |
|
|---|---|
|
Cancels an in-progress automation session. |
|
Starts an automation session with the specified configuration. |
|
Deletes a session. |
|
Returns information about a previously created automation session. |
|
Lists previously created automation sessions. |