﻿ Introducing VUH

In This Chapter

VUH overview

VUH calculation

Scope

Technologies

VUH

Requirements

Getting started

Edge cases

VUH overview

VUH means Virtual User Hour, it represents a Virtual User that runs for an hour.

VUH are consumption based. The formula to calculate them is given as: Number of VUs x Duration

For example, running 100 VUs for a test during a full hour costs 100 VUH, running this test for 6 minutes will cost 10 VUH.

See VUH calculation for more details.

This consumption-based pricing model comes on top of regular licenses in order to manage peak usage and extra needs. This permits that the great majority of the scenarios can be covered by the license VUs. For any extra need, you can add to your license a pay-as-you-go bucket containing VUH.

This model brings the flexibility required to address the following use cases:

• Running tests with a number of VUs higher than the number of VUs included in a license.

For example running a 2500 VU test with a 1000 VU license.

• Running tests when the license is leased by other team members.

Let’s say other testers leased 500 VUs out of a 1000-VUs license, you will be able to run 1000-VU tests anyway if you have enough VUH in your bucket.

VUH calculation

VUH are:

• computed with a per-second granularity of the effective test execution.
• computed with the maximum number of VUs reached during the test.
• rounded up to an integer.

Number of VUH = Maximum number of VUs used over the whole test x Effective duration in seconds / 3600, rounded up.

Example:

For a test that reached 125 VUs somehow in the test and lasts 13 minutes 25 seconds:

125 * (13mn*60+25s) / 3600 = 27,95 = 28 VUH

When starting a test with NeoLoad Web, the graphical interface displays a preview of the consumption based on the theoretical test duration and maximum VUs. This estimation is subtracted from the available VUH when the test starts.

At the end of the test the actual consumption is computed according to the actual test duration and the actual maximum number of VUs reached over the test.

It means that the real consumption can be lower than estimated, typically for example when the test is stopped before the initially planned end of the test. It can also be above the estimation when the test lasts longer than expected or if Virtual User instances have been manually added during the test.

VUH are stacked the regular license. It means that NeoLoad will first use the VUs from the license and then complete with VUH.

When using Web VUs, SAP VUs and VUH, the priority for Web tests is the following:

1. Pick Web VUs.
2. Pick SAP VUs if any.
3. Then use VUH if required.

• For example, with a license having 1000 Web VU and 200 SAP VU

For a 1100 VU test, 1000 Web VU are picked and 100 SAP VU, no VUH.

For a 1300 VU test, 1000 Web VU are picked, 200 SAP VU and VUH based on 100 VUs.

Scope

VUH are available for tests launched from the NeoLoad Controller, NeoLoad Web SaaS and NeoLoad Web on-premise.

• Warning: Tests using SaaS Load Generators running in the NeoLoad Cloud Platform cannot use the new VUH model at the moment. They use the older VUH model: VUH cannot be combined with the license and any hour begun is due in full. In comparison, VUH used in the new way can be stacked to your license VUs and are calculated with an accuracy to the second.