Get app performance data with your load tests
Visual Studio 2017 | Visual Studio 2015 | Team Services
When you load test your app in the cloud using Visual Studio Team Services, you can compare app performance with virtual user load using Application Insights. Then, by doing a quick root cause analysis, you can figure out which code is causing performance problems.
Download and install Visual Studio Enterprise 2015, if you haven't already done so.
Enable Azure Active Directory for your Team Services account, if you haven't already done so.
Link your Team Services account with your Azure subscription, if you haven't already done so.
Sign in to your Team Services account from your web browser to refresh the Azure Resources Manager access token. The token is valid for 12 hours in the context of Team Services.
- If you have already signed, you must sign out and then sign in again.
Set up your load test project to run in the cloud, if you haven't already done so.
With your load test project open in Visual Studio Enterprise, open the Run Settings section and select your active run settings. Open the shortcut menu and choose Get Performance Data from Application Insights.
Select the apps you want to monitor and the performance counters you want to view while your load test runs.
The counters you selected are shown in the load test project.
Queue a load test run and view the performance data from Application Insights while your load test runs. The data might take a few minutes to appear.
Application counters are correlated with user load so that you can understand which issues might cause performance problems that you find.
The counter samples have a sampling rate of one minute irrespective of the sampling rate configured in your load test project.
To do a more detailed analysis for any performance issue, or to do a quick root cause analysis, go to Application Insights.
- Q & A for load testing
- Load test with Visual Studio
- Load test with Team Services
- Load test with Azure portal
- Tutorial: Run load tests before release
- Analyze load test results using the Load Test Analyzer