{ "uuid": "c7f73f65-6c6e-441c-9f37-0140f635f61d", "lastMigration": 29, "name": "Cloud Testing API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "53948363-1c1f-46ba-b504-918b9ca52dc5", "documentation": "Gets the details of an Android application APK.", "method": "post", "endpoint": "v1/applicationDetailService/getApkDetails", "responses": [ { "uuid": "95c19240-b0ef-4f2b-b0fd-74f438178ade", "body": "{\n \"apkDetail\": {\n \"apkManifest\": {\n \"applicationLabel\": \"\",\n \"intentFilters\": [\n {\n \"actionNames\": [\n \"\"\n ],\n \"categoryNames\": [\n \"\"\n ],\n \"mimeType\": \"\"\n }\n ],\n \"maxSdkVersion\": {{faker 'number.int' max=99999}},\n \"minSdkVersion\": {{faker 'number.int' max=99999}},\n \"packageName\": \"\",\n \"targetSdkVersion\": {{faker 'number.int' max=99999}},\n \"usesPermission\": [\n \"\"\n ],\n \"versionCode\": \"\",\n \"versionName\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d13fab3b-477c-4d21-8c05-16b04b8df794", "documentation": "Creates 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. 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.", "method": "post", "endpoint": "v1/projects/:projectId/testMatrices", "responses": [ { "uuid": "de8d3cda-c77f-44d9-9d26-6f61c88a100f", "body": "{\n \"clientInfo\": {\n \"clientInfoDetails\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"name\": \"\"\n },\n \"environmentMatrix\": {\n \"androidDeviceList\": {\n \"androidDevices\": [\n {\n \"androidModelId\": \"\",\n \"androidVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n }\n ]\n },\n \"androidMatrix\": {\n \"androidModelIds\": [\n \"\"\n ],\n \"androidVersionIds\": [\n \"\"\n ],\n \"locales\": [\n \"\"\n ],\n \"orientations\": [\n \"\"\n ]\n },\n \"iosDeviceList\": {\n \"iosDevices\": [\n {\n \"iosModelId\": \"\",\n \"iosVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n }\n ]\n }\n },\n \"failFast\": {{faker 'datatype.boolean'}},\n \"flakyTestAttempts\": {{faker 'number.int' max=99999}},\n \"invalidMatrixDetails\": \"{{oneOf (array 'INVALID_MATRIX_DETAILS_UNSPECIFIED' 'DETAILS_UNAVAILABLE' 'MALFORMED_APK' 'MALFORMED_TEST_APK' 'NO_MANIFEST' 'NO_PACKAGE_NAME' 'INVALID_PACKAGE_NAME' 'TEST_SAME_AS_APP' 'NO_INSTRUMENTATION' 'NO_SIGNATURE' 'INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE' 'NO_TEST_RUNNER_CLASS' 'NO_LAUNCHER_ACTIVITY' 'FORBIDDEN_PERMISSIONS' 'INVALID_ROBO_DIRECTIVES' 'INVALID_RESOURCE_NAME' 'INVALID_DIRECTIVE_ACTION' 'TEST_LOOP_INTENT_FILTER_NOT_FOUND' 'SCENARIO_LABEL_NOT_DECLARED' 'SCENARIO_LABEL_MALFORMED' 'SCENARIO_NOT_DECLARED' 'DEVICE_ADMIN_RECEIVER' 'MALFORMED_XC_TEST_ZIP' 'BUILT_FOR_IOS_SIMULATOR' 'NO_TESTS_IN_XC_TEST_ZIP' 'USE_DESTINATION_ARTIFACTS' 'TEST_NOT_APP_HOSTED' 'PLIST_CANNOT_BE_PARSED' 'TEST_ONLY_APK' 'MALFORMED_IPA' 'MISSING_URL_SCHEME' 'MALFORMED_APP_BUNDLE' 'NO_CODE_APK' 'INVALID_INPUT_APK' 'INVALID_APK_PREVIEW_SDK' 'MATRIX_TOO_LARGE')}}\",\n \"outcomeSummary\": \"{{oneOf (array 'OUTCOME_SUMMARY_UNSPECIFIED' 'SUCCESS' 'FAILURE' 'INCONCLUSIVE' 'SKIPPED')}}\",\n \"projectId\": \"\",\n \"resultStorage\": {\n \"googleCloudStorage\": {\n \"gcsPath\": \"\"\n },\n \"resultsUrl\": \"\",\n \"toolResultsExecution\": {\n \"executionId\": \"\",\n \"historyId\": \"\",\n \"projectId\": \"\"\n },\n \"toolResultsHistory\": {\n \"historyId\": \"\",\n \"projectId\": \"\"\n }\n },\n \"state\": \"{{oneOf (array 'TEST_STATE_UNSPECIFIED' 'VALIDATING' 'PENDING' 'RUNNING' 'FINISHED' 'ERROR' 'UNSUPPORTED_ENVIRONMENT' 'INCOMPATIBLE_ENVIRONMENT' 'INCOMPATIBLE_ARCHITECTURE' 'CANCELLED' 'INVALID')}}\",\n \"testExecutions\": [\n {\n \"environment\": {\n \"androidDevice\": {\n \"androidModelId\": \"\",\n \"androidVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n },\n \"iosDevice\": {\n \"iosModelId\": \"\",\n \"iosVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n }\n },\n \"id\": \"\",\n \"matrixId\": \"\",\n \"projectId\": \"\",\n \"shard\": {\n \"numShards\": {{faker 'number.int' max=99999}},\n \"shardIndex\": {{faker 'number.int' max=99999}},\n \"testTargetsForShard\": {\n \"testTargets\": [\n \"\"\n ]\n }\n },\n \"state\": \"{{oneOf (array 'TEST_STATE_UNSPECIFIED' 'VALIDATING' 'PENDING' 'RUNNING' 'FINISHED' 'ERROR' 'UNSUPPORTED_ENVIRONMENT' 'INCOMPATIBLE_ENVIRONMENT' 'INCOMPATIBLE_ARCHITECTURE' 'CANCELLED' 'INVALID')}}\",\n \"testDetails\": {\n \"errorMessage\": \"\",\n \"progressMessages\": [\n \"\"\n ]\n },\n \"testSpecification\": {\n \"androidInstrumentationTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"orchestratorOption\": \"{{oneOf (array 'ORCHESTRATOR_OPTION_UNSPECIFIED' 'USE_ORCHESTRATOR' 'DO_NOT_USE_ORCHESTRATOR')}}\",\n \"shardingOption\": {\n \"manualSharding\": {\n \"testTargetsForShard\": [\n {\n \"testTargets\": [\n \"\"\n ]\n }\n ]\n },\n \"uniformSharding\": {\n \"numShards\": {{faker 'number.int' max=99999}}\n }\n },\n \"testApk\": {\n \"gcsPath\": \"\"\n },\n \"testPackageId\": \"\",\n \"testRunnerClass\": \"\",\n \"testTargets\": [\n \"\"\n ]\n },\n \"androidRoboTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appInitialActivity\": \"\",\n \"appPackageId\": \"\",\n \"maxDepth\": {{faker 'number.int' max=99999}},\n \"maxSteps\": {{faker 'number.int' max=99999}},\n \"roboDirectives\": [\n {\n \"actionType\": \"{{oneOf (array 'ACTION_TYPE_UNSPECIFIED' 'SINGLE_CLICK' 'ENTER_TEXT' 'IGNORE')}}\",\n \"inputText\": \"\",\n \"resourceName\": \"\"\n }\n ],\n \"roboMode\": \"{{oneOf (array 'ROBO_MODE_UNSPECIFIED' 'ROBO_VERSION_1' 'ROBO_VERSION_2')}}\",\n \"roboScript\": {\n \"gcsPath\": \"\"\n },\n \"startingIntents\": [\n {\n \"launcherActivity\": {},\n \"startActivity\": {\n \"action\": \"\",\n \"categories\": [\n \"\"\n ],\n \"uri\": \"\"\n },\n \"timeout\": \"\"\n }\n ]\n },\n \"androidTestLoop\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"scenarioLabels\": [\n \"\"\n ],\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"disablePerformanceMetrics\": {{faker 'datatype.boolean'}},\n \"disableVideoRecording\": {{faker 'datatype.boolean'}},\n \"iosTestLoop\": {\n \"appBundleId\": \"\",\n \"appIpa\": {\n \"gcsPath\": \"\"\n },\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"iosTestSetup\": {\n \"additionalIpas\": [\n {\n \"gcsPath\": \"\"\n }\n ],\n \"networkProfile\": \"\",\n \"pullDirectories\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ],\n \"pushFiles\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ]\n },\n \"iosXcTest\": {\n \"appBundleId\": \"\",\n \"testSpecialEntitlements\": {{faker 'datatype.boolean'}},\n \"testsZip\": {\n \"gcsPath\": \"\"\n },\n \"xcodeVersion\": \"\",\n \"xctestrun\": {\n \"gcsPath\": \"\"\n }\n },\n \"testSetup\": {\n \"account\": {\n \"googleAuto\": {}\n },\n \"additionalApks\": [\n {\n \"location\": {\n \"gcsPath\": \"\"\n },\n \"packageName\": \"\"\n }\n ],\n \"directoriesToPull\": [\n \"\"\n ],\n \"dontAutograntPermissions\": {{faker 'datatype.boolean'}},\n \"environmentVariables\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"filesToPush\": [\n {\n \"obbFile\": {\n \"obb\": {\n \"gcsPath\": \"\"\n },\n \"obbFileName\": \"\"\n },\n \"regularFile\": {\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n }\n ],\n \"networkProfile\": \"\",\n \"systrace\": {\n \"durationSeconds\": {{faker 'number.int' max=99999}}\n }\n },\n \"testTimeout\": \"\"\n },\n \"timestamp\": \"\",\n \"toolResultsStep\": {\n \"executionId\": \"\",\n \"historyId\": \"\",\n \"projectId\": \"\",\n \"stepId\": \"\"\n }\n }\n ],\n \"testMatrixId\": \"\",\n \"testSpecification\": {\n \"androidInstrumentationTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"orchestratorOption\": \"{{oneOf (array 'ORCHESTRATOR_OPTION_UNSPECIFIED' 'USE_ORCHESTRATOR' 'DO_NOT_USE_ORCHESTRATOR')}}\",\n \"shardingOption\": {\n \"manualSharding\": {\n \"testTargetsForShard\": [\n {\n \"testTargets\": [\n \"\"\n ]\n }\n ]\n },\n \"uniformSharding\": {\n \"numShards\": {{faker 'number.int' max=99999}}\n }\n },\n \"testApk\": {\n \"gcsPath\": \"\"\n },\n \"testPackageId\": \"\",\n \"testRunnerClass\": \"\",\n \"testTargets\": [\n \"\"\n ]\n },\n \"androidRoboTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appInitialActivity\": \"\",\n \"appPackageId\": \"\",\n \"maxDepth\": {{faker 'number.int' max=99999}},\n \"maxSteps\": {{faker 'number.int' max=99999}},\n \"roboDirectives\": [\n {\n \"actionType\": \"{{oneOf (array 'ACTION_TYPE_UNSPECIFIED' 'SINGLE_CLICK' 'ENTER_TEXT' 'IGNORE')}}\",\n \"inputText\": \"\",\n \"resourceName\": \"\"\n }\n ],\n \"roboMode\": \"{{oneOf (array 'ROBO_MODE_UNSPECIFIED' 'ROBO_VERSION_1' 'ROBO_VERSION_2')}}\",\n \"roboScript\": {\n \"gcsPath\": \"\"\n },\n \"startingIntents\": [\n {\n \"launcherActivity\": {},\n \"startActivity\": {\n \"action\": \"\",\n \"categories\": [\n \"\"\n ],\n \"uri\": \"\"\n },\n \"timeout\": \"\"\n }\n ]\n },\n \"androidTestLoop\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"scenarioLabels\": [\n \"\"\n ],\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"disablePerformanceMetrics\": {{faker 'datatype.boolean'}},\n \"disableVideoRecording\": {{faker 'datatype.boolean'}},\n \"iosTestLoop\": {\n \"appBundleId\": \"\",\n \"appIpa\": {\n \"gcsPath\": \"\"\n },\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"iosTestSetup\": {\n \"additionalIpas\": [\n {\n \"gcsPath\": \"\"\n }\n ],\n \"networkProfile\": \"\",\n \"pullDirectories\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ],\n \"pushFiles\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ]\n },\n \"iosXcTest\": {\n \"appBundleId\": \"\",\n \"testSpecialEntitlements\": {{faker 'datatype.boolean'}},\n \"testsZip\": {\n \"gcsPath\": \"\"\n },\n \"xcodeVersion\": \"\",\n \"xctestrun\": {\n \"gcsPath\": \"\"\n }\n },\n \"testSetup\": {\n \"account\": {\n \"googleAuto\": {}\n },\n \"additionalApks\": [\n {\n \"location\": {\n \"gcsPath\": \"\"\n },\n \"packageName\": \"\"\n }\n ],\n \"directoriesToPull\": [\n \"\"\n ],\n \"dontAutograntPermissions\": {{faker 'datatype.boolean'}},\n \"environmentVariables\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"filesToPush\": [\n {\n \"obbFile\": {\n \"obb\": {\n \"gcsPath\": \"\"\n },\n \"obbFileName\": \"\"\n },\n \"regularFile\": {\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n }\n ],\n \"networkProfile\": \"\",\n \"systrace\": {\n \"durationSeconds\": {{faker 'number.int' max=99999}}\n }\n },\n \"testTimeout\": \"\"\n },\n \"timestamp\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8b0d9cd4-79f6-43f9-b1bb-7821ff0447f7", "documentation": "Checks the status of a test matrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist", "method": "get", "endpoint": "v1/projects/:projectId/testMatrices/:testMatrixId", "responses": [ { "uuid": "bfe219bf-7548-42bf-9ee5-fec4a267be84", "body": "{\n \"clientInfo\": {\n \"clientInfoDetails\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"name\": \"\"\n },\n \"environmentMatrix\": {\n \"androidDeviceList\": {\n \"androidDevices\": [\n {\n \"androidModelId\": \"\",\n \"androidVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n }\n ]\n },\n \"androidMatrix\": {\n \"androidModelIds\": [\n \"\"\n ],\n \"androidVersionIds\": [\n \"\"\n ],\n \"locales\": [\n \"\"\n ],\n \"orientations\": [\n \"\"\n ]\n },\n \"iosDeviceList\": {\n \"iosDevices\": [\n {\n \"iosModelId\": \"\",\n \"iosVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n }\n ]\n }\n },\n \"failFast\": {{faker 'datatype.boolean'}},\n \"flakyTestAttempts\": {{faker 'number.int' max=99999}},\n \"invalidMatrixDetails\": \"{{oneOf (array 'INVALID_MATRIX_DETAILS_UNSPECIFIED' 'DETAILS_UNAVAILABLE' 'MALFORMED_APK' 'MALFORMED_TEST_APK' 'NO_MANIFEST' 'NO_PACKAGE_NAME' 'INVALID_PACKAGE_NAME' 'TEST_SAME_AS_APP' 'NO_INSTRUMENTATION' 'NO_SIGNATURE' 'INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE' 'NO_TEST_RUNNER_CLASS' 'NO_LAUNCHER_ACTIVITY' 'FORBIDDEN_PERMISSIONS' 'INVALID_ROBO_DIRECTIVES' 'INVALID_RESOURCE_NAME' 'INVALID_DIRECTIVE_ACTION' 'TEST_LOOP_INTENT_FILTER_NOT_FOUND' 'SCENARIO_LABEL_NOT_DECLARED' 'SCENARIO_LABEL_MALFORMED' 'SCENARIO_NOT_DECLARED' 'DEVICE_ADMIN_RECEIVER' 'MALFORMED_XC_TEST_ZIP' 'BUILT_FOR_IOS_SIMULATOR' 'NO_TESTS_IN_XC_TEST_ZIP' 'USE_DESTINATION_ARTIFACTS' 'TEST_NOT_APP_HOSTED' 'PLIST_CANNOT_BE_PARSED' 'TEST_ONLY_APK' 'MALFORMED_IPA' 'MISSING_URL_SCHEME' 'MALFORMED_APP_BUNDLE' 'NO_CODE_APK' 'INVALID_INPUT_APK' 'INVALID_APK_PREVIEW_SDK' 'MATRIX_TOO_LARGE')}}\",\n \"outcomeSummary\": \"{{oneOf (array 'OUTCOME_SUMMARY_UNSPECIFIED' 'SUCCESS' 'FAILURE' 'INCONCLUSIVE' 'SKIPPED')}}\",\n \"projectId\": \"\",\n \"resultStorage\": {\n \"googleCloudStorage\": {\n \"gcsPath\": \"\"\n },\n \"resultsUrl\": \"\",\n \"toolResultsExecution\": {\n \"executionId\": \"\",\n \"historyId\": \"\",\n \"projectId\": \"\"\n },\n \"toolResultsHistory\": {\n \"historyId\": \"\",\n \"projectId\": \"\"\n }\n },\n \"state\": \"{{oneOf (array 'TEST_STATE_UNSPECIFIED' 'VALIDATING' 'PENDING' 'RUNNING' 'FINISHED' 'ERROR' 'UNSUPPORTED_ENVIRONMENT' 'INCOMPATIBLE_ENVIRONMENT' 'INCOMPATIBLE_ARCHITECTURE' 'CANCELLED' 'INVALID')}}\",\n \"testExecutions\": [\n {\n \"environment\": {\n \"androidDevice\": {\n \"androidModelId\": \"\",\n \"androidVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n },\n \"iosDevice\": {\n \"iosModelId\": \"\",\n \"iosVersionId\": \"\",\n \"locale\": \"\",\n \"orientation\": \"\"\n }\n },\n \"id\": \"\",\n \"matrixId\": \"\",\n \"projectId\": \"\",\n \"shard\": {\n \"numShards\": {{faker 'number.int' max=99999}},\n \"shardIndex\": {{faker 'number.int' max=99999}},\n \"testTargetsForShard\": {\n \"testTargets\": [\n \"\"\n ]\n }\n },\n \"state\": \"{{oneOf (array 'TEST_STATE_UNSPECIFIED' 'VALIDATING' 'PENDING' 'RUNNING' 'FINISHED' 'ERROR' 'UNSUPPORTED_ENVIRONMENT' 'INCOMPATIBLE_ENVIRONMENT' 'INCOMPATIBLE_ARCHITECTURE' 'CANCELLED' 'INVALID')}}\",\n \"testDetails\": {\n \"errorMessage\": \"\",\n \"progressMessages\": [\n \"\"\n ]\n },\n \"testSpecification\": {\n \"androidInstrumentationTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"orchestratorOption\": \"{{oneOf (array 'ORCHESTRATOR_OPTION_UNSPECIFIED' 'USE_ORCHESTRATOR' 'DO_NOT_USE_ORCHESTRATOR')}}\",\n \"shardingOption\": {\n \"manualSharding\": {\n \"testTargetsForShard\": [\n {\n \"testTargets\": [\n \"\"\n ]\n }\n ]\n },\n \"uniformSharding\": {\n \"numShards\": {{faker 'number.int' max=99999}}\n }\n },\n \"testApk\": {\n \"gcsPath\": \"\"\n },\n \"testPackageId\": \"\",\n \"testRunnerClass\": \"\",\n \"testTargets\": [\n \"\"\n ]\n },\n \"androidRoboTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appInitialActivity\": \"\",\n \"appPackageId\": \"\",\n \"maxDepth\": {{faker 'number.int' max=99999}},\n \"maxSteps\": {{faker 'number.int' max=99999}},\n \"roboDirectives\": [\n {\n \"actionType\": \"{{oneOf (array 'ACTION_TYPE_UNSPECIFIED' 'SINGLE_CLICK' 'ENTER_TEXT' 'IGNORE')}}\",\n \"inputText\": \"\",\n \"resourceName\": \"\"\n }\n ],\n \"roboMode\": \"{{oneOf (array 'ROBO_MODE_UNSPECIFIED' 'ROBO_VERSION_1' 'ROBO_VERSION_2')}}\",\n \"roboScript\": {\n \"gcsPath\": \"\"\n },\n \"startingIntents\": [\n {\n \"launcherActivity\": {},\n \"startActivity\": {\n \"action\": \"\",\n \"categories\": [\n \"\"\n ],\n \"uri\": \"\"\n },\n \"timeout\": \"\"\n }\n ]\n },\n \"androidTestLoop\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"scenarioLabels\": [\n \"\"\n ],\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"disablePerformanceMetrics\": {{faker 'datatype.boolean'}},\n \"disableVideoRecording\": {{faker 'datatype.boolean'}},\n \"iosTestLoop\": {\n \"appBundleId\": \"\",\n \"appIpa\": {\n \"gcsPath\": \"\"\n },\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"iosTestSetup\": {\n \"additionalIpas\": [\n {\n \"gcsPath\": \"\"\n }\n ],\n \"networkProfile\": \"\",\n \"pullDirectories\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ],\n \"pushFiles\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ]\n },\n \"iosXcTest\": {\n \"appBundleId\": \"\",\n \"testSpecialEntitlements\": {{faker 'datatype.boolean'}},\n \"testsZip\": {\n \"gcsPath\": \"\"\n },\n \"xcodeVersion\": \"\",\n \"xctestrun\": {\n \"gcsPath\": \"\"\n }\n },\n \"testSetup\": {\n \"account\": {\n \"googleAuto\": {}\n },\n \"additionalApks\": [\n {\n \"location\": {\n \"gcsPath\": \"\"\n },\n \"packageName\": \"\"\n }\n ],\n \"directoriesToPull\": [\n \"\"\n ],\n \"dontAutograntPermissions\": {{faker 'datatype.boolean'}},\n \"environmentVariables\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"filesToPush\": [\n {\n \"obbFile\": {\n \"obb\": {\n \"gcsPath\": \"\"\n },\n \"obbFileName\": \"\"\n },\n \"regularFile\": {\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n }\n ],\n \"networkProfile\": \"\",\n \"systrace\": {\n \"durationSeconds\": {{faker 'number.int' max=99999}}\n }\n },\n \"testTimeout\": \"\"\n },\n \"timestamp\": \"\",\n \"toolResultsStep\": {\n \"executionId\": \"\",\n \"historyId\": \"\",\n \"projectId\": \"\",\n \"stepId\": \"\"\n }\n }\n ],\n \"testMatrixId\": \"\",\n \"testSpecification\": {\n \"androidInstrumentationTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"orchestratorOption\": \"{{oneOf (array 'ORCHESTRATOR_OPTION_UNSPECIFIED' 'USE_ORCHESTRATOR' 'DO_NOT_USE_ORCHESTRATOR')}}\",\n \"shardingOption\": {\n \"manualSharding\": {\n \"testTargetsForShard\": [\n {\n \"testTargets\": [\n \"\"\n ]\n }\n ]\n },\n \"uniformSharding\": {\n \"numShards\": {{faker 'number.int' max=99999}}\n }\n },\n \"testApk\": {\n \"gcsPath\": \"\"\n },\n \"testPackageId\": \"\",\n \"testRunnerClass\": \"\",\n \"testTargets\": [\n \"\"\n ]\n },\n \"androidRoboTest\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appInitialActivity\": \"\",\n \"appPackageId\": \"\",\n \"maxDepth\": {{faker 'number.int' max=99999}},\n \"maxSteps\": {{faker 'number.int' max=99999}},\n \"roboDirectives\": [\n {\n \"actionType\": \"{{oneOf (array 'ACTION_TYPE_UNSPECIFIED' 'SINGLE_CLICK' 'ENTER_TEXT' 'IGNORE')}}\",\n \"inputText\": \"\",\n \"resourceName\": \"\"\n }\n ],\n \"roboMode\": \"{{oneOf (array 'ROBO_MODE_UNSPECIFIED' 'ROBO_VERSION_1' 'ROBO_VERSION_2')}}\",\n \"roboScript\": {\n \"gcsPath\": \"\"\n },\n \"startingIntents\": [\n {\n \"launcherActivity\": {},\n \"startActivity\": {\n \"action\": \"\",\n \"categories\": [\n \"\"\n ],\n \"uri\": \"\"\n },\n \"timeout\": \"\"\n }\n ]\n },\n \"androidTestLoop\": {\n \"appApk\": {\n \"gcsPath\": \"\"\n },\n \"appBundle\": {\n \"bundleLocation\": {\n \"gcsPath\": \"\"\n }\n },\n \"appPackageId\": \"\",\n \"scenarioLabels\": [\n \"\"\n ],\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"disablePerformanceMetrics\": {{faker 'datatype.boolean'}},\n \"disableVideoRecording\": {{faker 'datatype.boolean'}},\n \"iosTestLoop\": {\n \"appBundleId\": \"\",\n \"appIpa\": {\n \"gcsPath\": \"\"\n },\n \"scenarios\": [\n {{faker 'number.int' max=99999}}\n ]\n },\n \"iosTestSetup\": {\n \"additionalIpas\": [\n {\n \"gcsPath\": \"\"\n }\n ],\n \"networkProfile\": \"\",\n \"pullDirectories\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ],\n \"pushFiles\": [\n {\n \"bundleId\": \"\",\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n ]\n },\n \"iosXcTest\": {\n \"appBundleId\": \"\",\n \"testSpecialEntitlements\": {{faker 'datatype.boolean'}},\n \"testsZip\": {\n \"gcsPath\": \"\"\n },\n \"xcodeVersion\": \"\",\n \"xctestrun\": {\n \"gcsPath\": \"\"\n }\n },\n \"testSetup\": {\n \"account\": {\n \"googleAuto\": {}\n },\n \"additionalApks\": [\n {\n \"location\": {\n \"gcsPath\": \"\"\n },\n \"packageName\": \"\"\n }\n ],\n \"directoriesToPull\": [\n \"\"\n ],\n \"dontAutograntPermissions\": {{faker 'datatype.boolean'}},\n \"environmentVariables\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"filesToPush\": [\n {\n \"obbFile\": {\n \"obb\": {\n \"gcsPath\": \"\"\n },\n \"obbFileName\": \"\"\n },\n \"regularFile\": {\n \"content\": {\n \"gcsPath\": \"\"\n },\n \"devicePath\": \"\"\n }\n }\n ],\n \"networkProfile\": \"\",\n \"systrace\": {\n \"durationSeconds\": {{faker 'number.int' max=99999}}\n }\n },\n \"testTimeout\": \"\"\n },\n \"timestamp\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f26daa3f-8c2a-4aa7-be36-a037c68c1762", "documentation": "Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asynchronously. If the matrix is already final, this operation will have no effect. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist", "method": "post", "endpoint": "v1/projects/:projectId/testMatrices/:testMatrixId:cancel", "responses": [ { "uuid": "bd1e9222-8e1d-4faf-b9db-de4d3b993468", "body": "{\n \"testState\": \"{{oneOf (array 'TEST_STATE_UNSPECIFIED' 'VALIDATING' 'PENDING' 'RUNNING' 'FINISHED' 'ERROR' 'UNSUPPORTED_ENVIRONMENT' 'INCOMPATIBLE_ENVIRONMENT' 'INCOMPATIBLE_ARCHITECTURE' 'CANCELLED' 'INVALID')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fff70ebf-a99e-4124-893e-847755d498fb", "documentation": "Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred", "method": "get", "endpoint": "v1/testEnvironmentCatalog/:environmentType", "responses": [ { "uuid": "e7f5e9dc-f383-42e9-b004-698800af9f0a", "body": "{\n \"androidDeviceCatalog\": {\n \"models\": [\n {\n \"brand\": \"\",\n \"codename\": \"\",\n \"form\": \"{{oneOf (array 'DEVICE_FORM_UNSPECIFIED' 'VIRTUAL' 'PHYSICAL' 'EMULATOR')}}\",\n \"formFactor\": \"{{oneOf (array 'DEVICE_FORM_FACTOR_UNSPECIFIED' 'PHONE' 'TABLET' 'WEARABLE')}}\",\n \"id\": \"\",\n \"lowFpsVideoRecording\": {{faker 'datatype.boolean'}},\n \"manufacturer\": \"\",\n \"name\": \"\",\n \"screenDensity\": {{faker 'number.int' max=99999}},\n \"screenX\": {{faker 'number.int' max=99999}},\n \"screenY\": {{faker 'number.int' max=99999}},\n \"supportedAbis\": [\n \"\"\n ],\n \"supportedVersionIds\": [\n \"\"\n ],\n \"tags\": [\n \"\"\n ],\n \"thumbnailUrl\": \"\"\n }\n ],\n \"runtimeConfiguration\": {\n \"locales\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"region\": \"\",\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"orientations\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"tags\": [\n \"\"\n ]\n }\n ]\n },\n \"versions\": [\n {\n \"apiLevel\": {{faker 'number.int' max=99999}},\n \"codeName\": \"\",\n \"distribution\": {\n \"marketShare\": {{faker 'number.float'}},\n \"measurementTime\": \"\"\n },\n \"id\": \"\",\n \"releaseDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"tags\": [\n \"\"\n ],\n \"versionString\": \"\"\n }\n ]\n },\n \"deviceIpBlockCatalog\": {\n \"ipBlocks\": [\n {\n \"addedDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"block\": \"\",\n \"form\": \"{{oneOf (array 'DEVICE_FORM_UNSPECIFIED' 'VIRTUAL' 'PHYSICAL' 'EMULATOR')}}\"\n }\n ]\n },\n \"iosDeviceCatalog\": {\n \"models\": [\n {\n \"deviceCapabilities\": [\n \"\"\n ],\n \"formFactor\": \"{{oneOf (array 'DEVICE_FORM_FACTOR_UNSPECIFIED' 'PHONE' 'TABLET' 'WEARABLE')}}\",\n \"id\": \"\",\n \"name\": \"\",\n \"screenDensity\": {{faker 'number.int' max=99999}},\n \"screenX\": {{faker 'number.int' max=99999}},\n \"screenY\": {{faker 'number.int' max=99999}},\n \"supportedVersionIds\": [\n \"\"\n ],\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"runtimeConfiguration\": {\n \"locales\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"region\": \"\",\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"orientations\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"tags\": [\n \"\"\n ]\n }\n ]\n },\n \"versions\": [\n {\n \"id\": \"\",\n \"majorVersion\": {{faker 'number.int' max=99999}},\n \"minorVersion\": {{faker 'number.int' max=99999}},\n \"supportedXcodeVersionIds\": [\n \"\"\n ],\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"xcodeVersions\": [\n {\n \"tags\": [\n \"\"\n ],\n \"version\": \"\"\n }\n ]\n },\n \"networkConfigurationCatalog\": {\n \"configurations\": [\n {\n \"downRule\": {\n \"bandwidth\": {{faker 'number.float'}},\n \"burst\": {{faker 'number.float'}},\n \"delay\": \"\",\n \"packetDuplicationRatio\": {{faker 'number.float'}},\n \"packetLossRatio\": {{faker 'number.float'}}\n },\n \"id\": \"\",\n \"upRule\": {\n \"bandwidth\": {{faker 'number.float'}},\n \"burst\": {{faker 'number.float'}},\n \"delay\": \"\",\n \"packetDuplicationRatio\": {{faker 'number.float'}},\n \"packetLossRatio\": {{faker 'number.float'}}\n }\n }\n ]\n },\n \"softwareCatalog\": {\n \"androidxOrchestratorVersion\": \"\",\n \"orchestratorVersion\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "53948363-1c1f-46ba-b504-918b9ca52dc5" }, { "type": "route", "uuid": "d13fab3b-477c-4d21-8c05-16b04b8df794" }, { "type": "route", "uuid": "8b0d9cd4-79f6-43f9-b1bb-7821ff0447f7" }, { "type": "route", "uuid": "f26daa3f-8c2a-4aa7-be36-a037c68c1762" }, { "type": "route", "uuid": "fff70ebf-a99e-4124-893e-847755d498fb" } ] }