---
title: "POST /#X-Amz-Target=DeviceFarm_20150623.GetTest"
method: POST
path: "/#X-Amz-Target=DeviceFarm_20150623.GetTest"
---

# POST /#X-Amz-Target=DeviceFarm_20150623.GetTest

`POST /#X-Amz-Target=DeviceFarm_20150623.GetTest`

Gets information about a test.

## Headers

- `X-Amz-Target` 'DeviceFarm_20150623.GetTest', required

## Request body

- GetTestRequest — Represents a request to the get test operation.
  - `arn` string, required — The test's ARN.

## Response `200`

Success

- GetTestResult — Represents the result of a get test request.
  - `test` object — A test condition that is evaluated.
    - `arn` string — The test's ARN.
    - `name` string — The test's name.
    - `type` 'BUILTIN_FUZZ' | 'BUILTIN_EXPLORER' | 'WEB_PERFORMANCE_PROFILE' | 'APPIUM_JAVA_JUNIT' | 'APPIUM_JAVA_TESTNG' | 'APPIUM_PYTHON' | 'APPIUM_NODE' | 'APPIUM_RUBY' | 'APPIUM_WEB_JAVA_JUNIT' | 'APPIUM_WEB_JAVA_TESTNG' | 'APPIUM_WEB_PYTHON' | 'APPIUM_WEB_NODE' | 'APPIUM_WEB_RUBY' | 'CALABASH' | 'INSTRUMENTATION' | 'UIAUTOMATION' | 'UIAUTOMATOR' | 'XCTEST' | 'XCTEST_UI' | 'REMOTE_ACCESS_RECORD' | 'REMOTE_ACCESS_REPLAY' — <p>The test's type.</p> <p>Must be one of the following values:</p> <ul> <li> <p>BUILTIN_FUZZ</p> </li> <li> <p>BUILTIN_EXPLORER</p> <note> <p>For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.</p> </note> </li> <li> <p>APPIUM_JAVA_JUNIT</p> </li> <li> <p>APPIUM_JAVA_TESTNG</p> </li> <li> <p>APPIUM_PYTHON</p> </li> <li> <p>APPIUM_NODE</p> </li> <li> <p>APPIUM_RUBY</p> </li> <li> <p>APPIUM_WEB_JAVA_JUNIT</p> </li> <li> <p>APPIUM_WEB_JAVA_TESTNG</p> </li> <li> <p>APPIUM_WEB_PYTHON</p> </li> <li> <p>APPIUM_WEB_NODE</p> </li> <li> <p>APPIUM_WEB_RUBY</p> </li> <li> <p>CALABASH</p> </li> <li> <p>INSTRUMENTATION</p> </li> <li> <p>UIAUTOMATION</p> </li> <li> <p>UIAUTOMATOR</p> </li> <li> <p>XCTEST</p> </li> <li> <p>XCTEST_UI</p> </li> </ul>
    - `created` string, date-time — When the test was created.
    - `status` 'PENDING' | 'PENDING_CONCURRENCY' | 'PENDING_DEVICE' | 'PROCESSING' | 'SCHEDULING' | 'PREPARING' | 'RUNNING' | 'COMPLETED' | 'STOPPING' — <p>The test's status.</p> <p>Allowed values include:</p> <ul> <li> <p>PENDING</p> </li> <li> <p>PENDING_CONCURRENCY</p> </li> <li> <p>PENDING_DEVICE</p> </li> <li> <p>PROCESSING</p> </li> <li> <p>SCHEDULING</p> </li> <li> <p>PREPARING</p> </li> <li> <p>RUNNING</p> </li> <li> <p>COMPLETED</p> </li> <li> <p>STOPPING</p> </li> </ul>
    - `result` 'PENDING' | 'PASSED' | 'WARNED' | 'FAILED' | 'SKIPPED' | 'ERRORED' | 'STOPPED' — <p>The test's result.</p> <p>Allowed values include:</p> <ul> <li> <p>PENDING</p> </li> <li> <p>PASSED</p> </li> <li> <p>WARNED</p> </li> <li> <p>FAILED</p> </li> <li> <p>SKIPPED</p> </li> <li> <p>ERRORED</p> </li> <li> <p>STOPPED</p> </li> </ul>
    - `started` string, date-time — The test's start time.
    - `stopped` string, date-time — The test's stop time.
    - `counters` object — The test's result counters.
      - `total` integer — The total number of entities.
      - `passed` integer — The number of passed entities.
      - `failed` integer — The number of failed entities.
      - `warned` integer — The number of warned entities.
      - `errored` integer — The number of errored entities.
      - `stopped` integer — The number of stopped entities.
      - `skipped` integer — The number of skipped entities.
    - `message` string — A message about the test's result.
    - `deviceMinutes` object — Represents the total (metered or unmetered) minutes used by the test.
      - `total` number, double — When specified, represents the total minutes used by the resource to run tests.
      - `metered` number, double — When specified, represents only the sum of metered minutes used by the resource to run tests.
      - `unmetered` number, double — When specified, represents only the sum of unmetered minutes used by the resource to run tests.

## Other responses

- `480` — ArgumentException
- `481` — NotFoundException
- `482` — LimitExceededException
- `483` — ServiceAccountException

---

[API](https://skmtc.net/aws/apis/devicefarm.md) · [All operations](https://skmtc.net/aws/apis/devicefarm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/devicefarm/versions/a20834382f29/schema)
