Firebase Test Lab and
Android Device
Streaming
provide a Cloud API quota and a testing quota, which is included in the standard
Spark and Blaze pricing
plans. These quotas are based on your project's usage of the
testing
resource
,
device resource
or
Cloud
API
.
These quotas are applied project-level, not site-level. These limits are shared
across all APIs (including instrumentation tests, Robo tests, and Game Loop
tests) and test matrixes. When you run a test, you can check its run time (i.e.,
the time it takes the test to run) under
Test execution and test matrix
results
in the Firebase console. When using Android Device Streaming, you
can check your project's usage in either Android Studio or
Google Cloud console. Run times are displayed next to each device. If you're in
the Blaze plan, the test run times are used for billing.
Quotas
Testing quota
Test Lab's testing quota is measured by the
number of test runs per day:
Spark plan (no-cost)
: The resource limits are
listed for up to 15 test runs per day in total:
Blaze plan
: Not all projects in the Blaze plan have the same quotas. If
your usage of Google Cloud increases over time, your quotas might increase
correspondingly. If you expect a sizable upcoming increase in usage, you can
proactively request
quota adjustments
.
Billing is calculated by the minutes spent running tests. The Blaze plan
begins with a no-cost time limit that's similar to the resource limit offered
by the Spark plan:
Any usage above these limits is charged according to the following hourly rates:
Charges are calculated on a per-minute basis, rounded up to the nearest
minute. For example, a 22-second test is billed for one minute, while a
75-second test is billed for two minutes. You are charged only for the
time spent running tests (the time it takes to install your app
and collect test results will not be charged).
You can monitor your testing quota usage in the
Google Cloud console
.
Cloud API quotas
The Testing and Tool Results APIs come with two API limits: requests per day per
project, and requests per minute per project.
Cloud Testing API limit (including calls for Android Device Streaming):
- 10,000,000 calls per day
- 120,000 calls per 1-minute interval
You can monitor your usage of this API in the
Google Cloud console
.
Cloud Tool Results API limit:
- 200,000 calls per day
- 2,400 calls per 1-minute interval
You can monitor your usage of this API in the
Google Cloud console
.
Android Device Streaming quotas
Usage is limited, and billing usage will be introduced at a later date.
From now until June 1, 2024, billing won't be enabled:
- Blaze and (no cost) Spark plan
: 120 no cost minutes per project, per month
On June 1, 2024, for a promotional period:
- (no cost) Spark plan
: 120 no cost minutes per month
- Blaze plan
: 120 no cost minutes per project, per month, 15 cents for
each additional minute
On or around February, 2025, the promotional period will end and billing will
be based on the following quota limits:
- (no cost) Spark plan
: 30 no cost minutes per month
- Blaze plan
: 30 no cost per project, per month, 15 cents for each
additional minute
Not all projects in the Blaze plan have the same quotas. If your usage of
Google Cloud console increases over time, your quotas might increase
correspondingly. If you expect a sizable upcoming increase in usage, you can
proactively request
quota adjustments
.
Increase quotas
If you've reached a Cloud API or Blaze plan testing quota, you can request a
higher limit by doing one of the following: