Learn to use Visual Studio, Visual Studio Online, Application Insights and Team Foundation Server to decrease rework, increase transparency into your application and increase the rate at which you can ship high quality software throughout the application lifecycle
[ New Update: Now you can collect performance counter of your choice to be monitored during the load run. Read more about it here ]
Goal of a load testing activity is to identify and fix performance bottlenecks. Visual Studio Online integrates Load testing with Application Insights to give deep insights into performance and diagnostics data of your application dramatically decreasing the discovery and resolution of any issues discovered later. This article will walk you through configuring Load Testing to take advantage of Application Insights.
*Please note that Application Insights is in Preview.
Here are the steps to get started:
a. Right click on Applications and choose the option of "Get Performance Data from Application Insights"
b. This will retrieve the list of Applications configured with your Application Insights.
Please note: In case you have no Applications registered with Visual Studio Online -Application Insights earlier, than you will get a notification of "Nothing is configured for your Visual Studio Online account". In such a case go ahead and start monitoring your application with Application Insights. Get started with Application Insights.
c. Choose the Application(s) you want to monitor with the load run
6. Run the load test in Cloud.
7. Application Counters are correlated with the User load on the time axis.
You can observe 6 counters for each Application. CPU, Memory, PerformanceEventsPerSec and ExceptionsPerSecond are the preselected ones. You can as well select NetworkIO and DiskIO and view them in the graph. These are correlated with User load on the time axis.
8. Go to Application Insights link and do a Root Cause analysis : To do the detailed root cause analysis of the issue, you can visit Application Insights with the help of a link in the Application Graph:
To learn more about how to do Root cause analysis of the performance issues with Application Insight, please visit: http://aka.ms/aigetstarted
Implementing this NOW. Thanks!
How can we add more counters in - Get Performance Data from Application Insights dialog box ?
While running the load tests, I need to see more performance counters like Memory Utilization, Request Rejected, Request Queued etc.
Take a look at this post:
Take a look at this post: blogs.msdn.com/.../monitoring-custom-performance-counters-in-application-insights.aspx