سطوح استفاده، سهمیهها و قیمتگذاری برای آزمایشگاه تست
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Firebase Test Lab و Android Device Streaming یک سهمیه Cloud API و یک سهمیه آزمایشی ارائه میکنند که در طرحهای قیمتگذاری استاندارد Spark و Blaze گنجانده شده است. این سهمیه ها بر اساس استفاده پروژه شما از منبع آزمایشی ، منبع دستگاه یا Cloud API است.
این سهمیه ها در سطح پروژه اعمال می شوند، نه در سطح سایت. این محدودیتها در همه APIها (از جمله تستهای ابزار دقیق، تستهای Robo، و تستهای حلقه بازی) و ماتریسهای تست مشترک هستند. هنگامی که یک آزمایش را اجرا می کنید، می توانید زمان اجرای آن (یعنی مدت زمانی که طول می کشد تا آزمایش اجرا شود) را در زیر اجرای تست و نتایج ماتریس تست در کنسول Firebase بررسی کنید. هنگام استفاده از Android Device Streaming، میتوانید میزان استفاده پروژه خود را در Android Studio یا Google Cloud کنسول بررسی کنید. زمان اجرا در کنار هر دستگاه نمایش داده می شود. اگر در طرح Blaze هستید، زمان اجرای آزمایشی برای صورتحساب استفاده میشود.
سهمیه ها
سهمیه آزمون
سهمیه تست Test Lab تست با تعداد دفعات آزمایش در روز اندازه گیری می شود:
طرح اسپارک (بدون هزینه) : محدودیت های منابع برای حداکثر 15 آزمایش در روز در مجموع ذکر شده است:
طرح Blaze : همه پروژههای طرح Blaze دارای سهمیه یکسان نیستند. اگر استفاده شما از Google Cloud با گذشت زمان افزایش یابد، ممکن است سهمیههای شما به همین ترتیب افزایش یابد. اگر انتظار دارید در آینده افزایش قابل توجهی در استفاده داشته باشید، میتوانید فعالانه درخواست تنظیمات سهمیه کنید.
صورتحساب با دقایقی که صرف انجام آزمایشها میشود محاسبه میشود. طرح Blaze با محدودیت زمانی بدون هزینه شروع می شود که مشابه محدودیت منابع ارائه شده توسط طرح Spark است:
هر گونه استفاده بیش از این محدودیت ها طبق نرخ های ساعتی زیر محاسبه می شود:
هزینه ها بر اساس هر دقیقه محاسبه می شوند و به نزدیکترین دقیقه گرد می شوند. به عنوان مثال، یک آزمون 22 ثانیه ای برای یک دقیقه صورتحساب می شود، در حالی که یک آزمون 75 ثانیه ای برای دو دقیقه صورتحساب می شود. شما فقط برای زمان صرف شده برای اجرای آزمایش ها هزینه دریافت می کنید (زمانی که برای نصب برنامه و جمع آوری نتایج آزمایش لازم است هزینه ای دریافت نمی شود).
میتوانید میزان استفاده از سهمیه آزمایشی خود را در کنسول Google Cloud نظارت کنید.
سهمیه های Cloud API
APIهای تست و نتایج ابزار دارای دو محدودیت API هستند: درخواست در روز برای هر پروژه و درخواست در دقیقه برای هر پروژه.
محدودیت Cloud Testing API (از جمله تماسها برای پخش جریانی دستگاه Android):
- 10000000 تماس در روز
- 120000 تماس در فاصله 1 دقیقه
می توانید استفاده خود از این API را در کنسول Google Cloud نظارت کنید.
محدودیت API نتایج Cloud Tool:
- 200000 تماس در روز
- 2400 تماس در هر فاصله 1 دقیقه ای
می توانید استفاده خود از این API را در کنسول Google Cloud نظارت کنید.
سهمیههای پخش جریانی دستگاه Android
- (بدون هزینه) طرح اسپارک : 30 دقیقه بدون هزینه برای هر پروژه، در ماه
- طرح Blaze : 30 دقیقه بدون هزینه برای هر پروژه، در ماه، 15 سنت برای هر دقیقه اضافی
همه پروژه های طرح Blaze سهمیه یکسانی ندارند. اگر استفاده شما از کنسول Google Cloud با گذشت زمان افزایش یابد، ممکن است سهمیه های شما نیز به همین ترتیب افزایش یابد. اگر انتظار دارید در آینده افزایش قابل توجهی در استفاده داشته باشید، میتوانید فعالانه درخواست تنظیمات سهمیه کنید.
افزایش سهمیه ها
اگر به Cloud API یا سهمیه آزمایش طرح Blaze رسیدهاید، میتوانید با انجام یکی از موارد زیر محدودیت بالاتری درخواست کنید:
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-22 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-22 بهوقت ساعت هماهنگ جهانی."],[],[],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)."]]