Quickstart: Buy cloud-based load testing in VSTS
In this quickstart, you'll learn how to enable paid load testing.
VSTS offers a cloud-based solution for load testing your apps. You can create load tests using Visual Studio Ultimate 2013, Visual Studio Enterprise 2015, or later versions. You can then run these tests in VSTS.
Load tests are measured and billed in virtual user minutes (VUM) as described in this Q&A: What are virtual user minutes (VUMs)? How many minutes will my load test use?.
If you don't have an Azure subscription, create a free account before you begin.
Your VSTS account includes a Free Tier of 20,000 virtual user minutes per month for cloud-based load testing. If you need more than this amount, you must first do the following:
- Set up billing for your VSTS account.
- Enable paid cloud-based load testing in the Azure portal for your VSTS account.
The first time that you set up billing for your VSTS account - whether you do this via the Azure portal or as part of making a purchase in the Visual Studio Marketplace, you will need the following:
- VSTS project collection administrator or account owner permissions
- The owner or contributor role on your Azure subscription
To make subsequent edits to paid quantities in your VSTS account, you only need the owner or contributor role on your Azure subscription.
Enable paid load testing
If you experience browser problems with Azure, make sure that you use a supported browser.
Enter team services accounts into the search box, choose team services accounts from the dropdown menu, and select your VSTS account.
Select Cloud-based load testing, to the right of your screen.
Move the toggle to PAID to turn on paid load testing.
If you want, set a monthly limit on the virtual user minutes that you use by selecting an amount from the PAID LOAD TESTING LIMIT dropdown menu. When you're done, choose Save.
Billing and free monthly usage
You're charged only for virtual user minutes of cloud-based load testing used above the Free Tier (20,000 virtual user minutes per month).
The Free Tier resets on the 1st of the month.
No additional virtual user minutes are included with Visual Studio subscriptions - the free amounts are per VSTS account, not per user.
For cloud-based load testing, you're charged for each virtual user minute that exceeds the free monthly usage.
Graduated discounts for cloud-based load testing are calculated based on your Azure subscription billing cycle.
Limits on load test runs
There's a limit on the duration for each test run. For cloud-based load testing, the limit depends on where you're running your test. For details, see this Q&A.
Clean up resources
To turn off paid cloud-based load testing, go to your account in the Azure portal, choose Cloud-based load testing, move the toggle from PAID to FREE, and then choose Save.