Updated on 2025-08-29 GMT+08:00

Pay-per-Use Billing

Application Scenarios

Pay-per-use is suitable for short-term use and pressure test tasks that do not need to run 24/7.

Billing Items

Table 1 Billing items of pay-per-use mode

Billing Item

Description

Unit price (USD/VUM)

VUM = VU (number of concurrent virtual users) x M (pressure test duration, in minutes)

Pressure test duration (minutes)

Duration of a CodeArts PerfTest pressure test, in minutes and accurate to seconds.

Pressure test fee = Unit price (USD/VUM) x Pressure test duration (minutes)

Billing Cycle

In the pay-per-use mode, CodeArts PerfTest resources are charged by the second and fees are settled on the hour (GMT+08:00). Once settlement is complete, a new billing cycle starts. The billing starts from the time when a CodeArts PerfTest pressure test begins and ends when the test stops.

For example, if you started a pressure test at 8:45:30 on March 10, 2023 and stopped it at 09:30:00 on the same day, the billing will be divided into the following two cycles:

  • From 08:00:00 to 09:00:00: Fees were generated from 08:45:30 to 09:00:00 and the billing duration is 870 seconds.
  • From 09:00:00 to 10:00:00: Fees were generated from 9:00:00 to 9:30:00 and the billing duration is 1,800 seconds.

Billing Example

Assume that you started a pressure test at 08:45:30 on March 10, 2023 and stopped it at 09:30:00 on the same day, and the unit price is $0.0007 USD/VUM, the billing will be divided into the following two cycles:
  • From 08:00:00 to 09:00:00: Fees were generated from 08:45:30 to 09:00:00 and the billing duration is 870 seconds. Based on the formula in Billing Items, the fees are: 0.0007 x 870/60 = $0.0102 USD
  • From 09:00:00 to 10:00:00: Fees were generated from 9:00:00 to 9:30:00 and the billing duration is 1,800 seconds. Based on the formula in Billing Items, the fees are: 0.0007 x 1,800/60 = $0.021 USD

Arrears Impact

In the pay-per-use mode, CodeArts PerfTest fees are settled on the hour (GMT+08:00). Once settlement is complete, a new billing cycle starts. The system will bill you for pay-per-use resources after each billing cycle ends.

If the settlement fails due to insufficient account balance at a certain settlement time point, your account will be in arrears. Huawei Cloud will notify you by email, SMS, or internal message.

CodeArts PerfTest cannot be used after arrears. You need to pay the fees of your pay-per-use resources. To view the fees, go to the Billing > Bills > Overview page. Huawei Cloud will deduct the fees after you top up your account.