مستويات الاستخدام والحصص والأسعار في Test Lab
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
توفّر Firebase Test Lab وبث التطبيقات على أجهزة Android حصة من Cloud API وحصة اختبار مضمّنة في خطط الأسعار العادية في Spark وBlaze. وتستند هذه الحصص إلى استخدام مشروعك لمورد الاختبار أو مورد الجهاز أو Cloud API.
يتم تطبيق هذه الحصص على مستوى المشروع، وليس على مستوى الموقع. تتم مشاركة هذه الحدود بين جميع واجهات برمجة التطبيقات (بما في ذلك اختبارات الأجهزة، واختبارات Robo، واختبارات Game Loop) ومصفوفات الاختبار. عند إجراء اختبار، يمكنك التحقّق من وقت تنفيذه (أي الوقت الذي يستغرقه الاختبار) ضمن نتائج تنفيذ الاختبار ومصفوفة الاختبار في وحدة تحكّم Firebase. عند استخدام ميزة "بث التطبيقات على أجهزة Android"، يمكنك الاطّلاع على إحصاءات استخدام مشروعك في "استوديو Android" أو في Google Cloud. يتم عرض أوقات التشغيل بجانب كل جهاز. إذا كنت مشتركًا في خطة Blaze، سيتم استخدام أوقات تشغيل الاختبارات في الفوترة.
الحصص
حصة الاختبار
يتم قياس حصة اختبارات Test Lab من خلال عدد عمليات تنفيذ الاختبارات في اليوم:
خطة Spark (بدون تكلفة): يتم عرض حدود الموارد لما يصل إلى 15 عملية اختبار في اليوم إجمالاً:
خطة Blaze: لا تتضمّن جميع المشاريع في خطة Blaze الحصص نفسها. إذا زاد استخدامك لخدمة Google Cloud بمرور الوقت، قد تزيد الحصص بشكل متناسب. إذا كنت تتوقّع زيادة كبيرة في الاستخدام قريبًا، يمكنك طلب تعديلات على الحصة بشكل استباقي.
يتم احتساب الفوترة حسب عدد الدقائق التي استغرقتها الاختبارات. تبدأ خطة Blaze بحد زمني بدون تكلفة يشبه حد الموارد الذي توفّره خطة Spark:
يتم تحصيل رسوم مقابل أي استخدام يتجاوز هذه الحدود وفقًا للأسعار التالية بالساعة:
يتم احتساب الرسوم على أساس الدقيقة، ويتم تقريبها إلى أقرب دقيقة. على سبيل المثال، يتم تحصيل رسوم دقيقة واحدة مقابل اختبار مدته 22 ثانية، بينما يتم تحصيل رسوم دقيقتَين مقابل اختبار مدته 75 ثانية. لن يتم تحصيل رسوم منك إلا مقابل
الوقت الذي تستغرقه الاختبارات (لن يتم تحصيل رسوم مقابل الوقت الذي يستغرقه تثبيت تطبيقك
وجمع نتائج الاختبار).
يمكنك تتبُّع استخدام حصة الاختبار في Google Cloud console.
حصص Cloud API
تتضمّن واجهتا برمجة التطبيقات Testing API وTool Results API حدّين: عدد الطلبات في اليوم لكل مشروع، وعدد الطلبات في الدقيقة لكل مشروع.
الحدّ الأقصى المسموح به لاستخدام Cloud Testing API (بما في ذلك طلبات Android Device Streaming):
- 10,000,000 مكالمة في اليوم
- 120,000 مكالمة لكل فاصل زمني مدته دقيقة واحدة
يمكنك مراقبة استخدامك لواجهة برمجة التطبيقات هذه في
وحدة تحكّم Google Cloud.
حدّ Cloud Tool Results API:
- 200,000 طلب في اليوم
- 2,400 مكالمة لكل دقيقة
يمكنك مراقبة استخدامك لواجهة برمجة التطبيقات هذه في
وحدة تحكّم Google Cloud.
حصص البث على أجهزة Android
- خطة Spark(بدون تكلفة): 30 دقيقة بدون تكلفة لكل مشروع في الشهر
- خطة Blaze: 30 دقيقة بدون تكلفة لكل مشروع في الشهر، و15 سنتًا لكل دقيقة إضافية
لا تتضمّن جميع المشاريع في خطة Blaze الحصص نفسها. إذا زاد استخدامك لوحدة تحكّم Google Cloud بمرور الوقت، قد تزيد حصصك بشكل متناسب. إذا كنت تتوقّع زيادة كبيرة في الاستخدام قريبًا، يمكنك طلب تعديلات على الحصة بشكل استباقي.
زيادة الحصص
إذا بلغت حصة الاختبار في Cloud API أو خطة Blaze، يمكنك طلب حد أعلى باتّباع أحد الإجراءَين التاليَين:
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-23 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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)."]]