DEV Community

HarmonyOS
HarmonyOS

Posted on

Cloud Debugging & Cloud Testing — Time Quotas (HarmonyOS)

Read the original article:Cloud Debugging & Cloud Testing — Time Quotas (HarmonyOS)

Context

When validating HarmonyOS app compatibility across real devices, teams rely on Cloud Debugging and Cloud Testing. If an account has no usage time quota, it’s important to know what (if anything) can still be used without immediate payment.

Description

  • Cloud Debugging lets you interact with real devices in the cloud to reproduce issues, cover more models, and reduce device procurement/management costs.
  • Cloud Testing provides one-stop automated testing on popular devices (compatibility, stability, performance, power, UX, security) and returns professional, detailed reports.

Solution / Approach

  • Cloud Debugging
    • Some device models include a discounted usage time of up to 300 minutes per day.
    • Other devices require payment to use.
    • Single session limit: When using discounted time, each debugging session can last up to 10 minutes.
    • As time runs low, you’ll get a prompt:
      • OK: Continue only if you have a paid package balance or account balance. Otherwise, purchase/recharge first.
      • Cancel: The device is released once the 10 minutes of discounted time is consumed; reapply to continue later.
  • Cloud Testing
    • Similar policy: Some devices include 300 discounted minutes per day; other devices are pay-to-use.
    • Provides targeted tests (compatibility, stability, performance, power, UX, security) with quick, detailed reports for pre-release quality assurance.
  • Common FAQs
    • Q: Is there a time limit for a single cloud debugging test? A: Yes. With discounted time, a single session is capped at 10 minutes; continuing beyond that requires paid balance.
    • Q: Can I test an app package that isn’t signed with a release certificate? A: No. Only packages signed with a release certificate and built in Release mode are supported (see custom testing prerequisites).
    • Q: Why can’t the app be found after uploading a signed package? A: Check API level compatibility (e.g., app uses 5.0.1 but cloud device is 5.0.0). Align the app’s API with the cloud device’s API.
    • Q: What are the charges for AGC services (cloud hosting/functions/databases/storage/auth)? A: See each service’s billing documentation for free quotas and overage pricing.

Key Takeaways

  • You can use certain devices without prepaid quota via discounted time (up to 300 min/day); sessions are max 10 minutes each.
  • To go beyond discounted limits or to use other devices, you’ll need paid package balance or account balance.
  • Release-signed packages are required for cloud testing, and API versions must match between your app and the cloud device.
  • AGC services (hosting, functions, DB, storage, auth) have service-specific billing pages detailing free tiers and charges.

Written by Fatih Turan Gundogdu

Top comments (0)