Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Firebase Test Lab e Android Device
Streaming
forniscono una quota API Cloud e una quota di test, inclusa nei piani
di prezzi Spark e Blaze
standard. Queste quote si basano sull'utilizzo da parte del progetto della risorsa
di test, della risorsa dispositivo o dell'API
Cloud.
Queste quote vengono applicate a livello di progetto, non di sito. Questi limiti sono condivisi
tra tutte le API (inclusi i test di strumentazione, i test Robo e i test del ciclo di gioco) e le matrici di test. Quando esegui un test, puoi controllare il tempo di esecuzione (ovvero
il tempo necessario per l'esecuzione del test) in Esecuzione del test e risultati della matrice di test nella console Firebase. Quando utilizzi lo streaming del dispositivo Android, puoi controllare l'utilizzo del tuo progetto in Android Studio o nella console Google Cloud. I tempi di esecuzione vengono visualizzati accanto a ogni dispositivo. Se hai scelto il piano Blaze, i tempi di esecuzione dei test vengono utilizzati per la fatturazione.
Quote
Quota di test
La quota di test di Test Lab viene misurata in base al numero di esecuzioni di test al giorno:
Piano Spark (senza costi): i limiti delle risorse sono
elencati per un massimo di 15 test eseguiti al giorno in totale:
10 esecuzioni di test al giorno su dispositivi virtuali
5 esecuzioni di test al giorno su dispositivi fisici
Piano Blaze: non tutti i progetti nel piano Blaze hanno le stesse quote. Se il tuo utilizzo di Google Cloud aumenta nel tempo, le tue quote potrebbero aumentare di conseguenza. Se prevedi un aumento imminente e consistente dell'utilizzo, puoi
richiedere in modo proattivo adeguamenti della quota.
La fatturazione viene calcolata in base ai minuti trascorsi a eseguire i test. Il piano Blaze
inizia con un limite di tempo senza costi aggiuntivi simile al limite di risorse offerto
dal piano Spark:
30 minuti di tempo di test al giorno sui dispositivi fisici
60 minuti di tempo di test al giorno sui dispositivi virtuali
L'utilizzo che supera questi limiti viene addebitato in base alle seguenti tariffe orarie:
5 $ all'ora per ogni dispositivo fisico
1 $ all'ora per ogni dispositivo virtuale
Gli addebiti vengono calcolati al minuto, arrotondati per eccesso al minuto più vicino. Ad esempio, un test di 22 secondi viene fatturato per un minuto, mentre un test di 75 secondi viene fatturato per due minuti. Ti viene addebitato solo il tempo trascorso a eseguire i test (il tempo necessario per installare l'app e raccogliere i risultati dei test non verrà addebitato).
Piano Spark(senza costi): 30 minuti senza costi per progetto al mese
Piano Blaze: 30 minuti senza costi per progetto al mese, 15 centesimi per ogni minuto aggiuntivo
Non tutti i progetti nel piano Blaze hanno le stesse quote. Se il tuo utilizzo della console Google Cloud aumenta nel tempo, le tue quote potrebbero aumentare di conseguenza. Se prevedi un aumento imminente e consistente dell'utilizzo, puoi
richiedere in modo proattivo adeguamenti della quota.
Aumentare le quote
Se hai raggiunto una quota di test del piano Cloud API o Blaze, puoi richiedere un limite
superiore in uno dei seguenti modi:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-03 UTC."],[],[],null,["\u003cbr /\u003e\n\nFirebase Test Lab and [Android Device\nStreaming](https://developer.android.com/studio/run/android-device-streaming)\nprovide a Cloud API quota and a testing quota, which is included in the standard\nSpark and Blaze pricing\nplans. These quotas are based on your project's usage of the [testing\nresource](#testing-quota), [device resource](#device-streaming) or [Cloud\nAPI](#cloud-api-quota).\n\nThese quotas are applied project-level, not site-level. These limits are shared\nacross all APIs (including instrumentation tests, Robo tests, and Game Loop\ntests) and test matrixes. When you run a test, you can check its run time (i.e.,\nthe time it takes the test to run) under **Test execution and test matrix\nresults** in the Firebase console. When using Android Device Streaming, you\ncan check your project's usage in either Android Studio or\nGoogle Cloud console. Run times are displayed next to each device. If you're in\nthe Blaze plan, the test run times are used for billing.\n| When your project is on the Blaze pricing plan, [**set up budget alerts**](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails) using the console. You can use the [Blaze plan calculator](/pricing#blaze-calculator) to estimate your monthly costs.\n|\n| Be aware that **budget alerts do *not* cap your usage or\n| charges** --- they are *alerts* about your costs so that you can\n| take action, if needed. For example, you might consider\n| [using\n| budget notifications to programmatically disable Cloud Billing on a\n| project](https://cloud.google.com/billing/docs/how-to/disable-billing-with-notifications).\n\n**Quotas**\n\nTesting quota\n\nTest Lab's testing quota is measured by the\nnumber of test runs per day:\n\n- **Spark plan (no-cost)**: The resource limits are\n listed for up to 15 test runs per day in total:\n\n - 10 test runs per day on virtual devices\n\n - 5 test runs per day on physical devices\n\n- **Blaze plan** : Not all projects in the Blaze plan have the same quotas. If\n your usage of Google Cloud increases over time, your quotas might increase\n correspondingly. If you expect a sizable upcoming increase in usage, you can\n proactively request [quota adjustments](#increase-cloud-quotas).\n\n Billing is calculated by the minutes spent running tests. The Blaze plan\n begins with a no-cost time limit that's similar to the resource limit offered\n by the Spark plan:\n - 30 minutes of test time per day on physical devices\n\n - 60 minutes of test time per day on virtual devices\n\n Any usage above these limits is charged according to the following hourly\n rates:\n - $5 per hour for each physical device\n\n - $1 per hour for each virtual device\n\nCharges are calculated on a per-minute basis, rounded up to the nearest\nminute. For example, a 22-second test is billed for one minute, while a\n75-second test is billed for two minutes. You are charged only for the\ntime spent running tests (the time it takes to install your app\nand collect test results will not be charged).\n\nYou can monitor your testing quota usage in the\n[Google Cloud console](https://console.cloud.google.com/apis/api/testing.googleapis.com/quotas).\n\nCloud API quotas\n\nThe Testing and Tool Results APIs come with two API limits: requests per day per\nproject, and requests per minute per project.\n\n- Cloud Testing API limit (including calls for Android Device Streaming):\n\n - 10,000,000 calls per day\n - 120,000 calls per 1-minute interval\n\n You can monitor your usage of this API in the\n [Google Cloud console](https://console.cloud.google.com/apis/api/testing.googleapis.com/quotas).\n- Cloud Tool Results API limit:\n\n - 200,000 calls per day\n - 2,400 calls per 1-minute interval\n\n You can monitor your usage of this API in the\n [Google Cloud console](https://console.cloud.google.com/apis/api/toolresults.googleapis.com/quotas).\n\nAndroid Device Streaming quotas\n\n- **(no cost) Spark plan**: 30 no cost minutes per project, per month\n- **Blaze plan**: 30 no cost minutes per project, per month, 15 cents for each additional minute\n\nNot all projects in the Blaze plan have the same quotas. If your usage of\nGoogle Cloud console increases over time, your quotas might increase\ncorrespondingly. If you expect a sizable upcoming increase in usage, you can\nproactively request [quota adjustments](/docs/test-lab/usage-quotas-pricing#increase-cloud-quotas).\n\nIncrease quotas\n\nIf you've reached a Cloud API or Blaze plan testing quota, you can request a\nhigher limit by doing one of the following:\n\n- [Submitting an increase request](https://cloud.google.com/docs/quota#requesting_higher_quota)\n directly in the Google Cloud console.\n\n- Contacting [Firebase support](https://support.google.com/firebase/contact/support)."]]