{"id":1463,"date":"2014-04-06T21:18:00","date_gmt":"2014-04-06T21:18:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2014\/04\/06\/get-application-performance-data-during-load-runs-with-visual-studio-online\/"},"modified":"2022-07-18T00:10:35","modified_gmt":"2022-07-18T08:10:35","slug":"get-application-performance-data-during-load-runs-with-visual-studio-online","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/get-application-performance-data-during-load-runs-with-visual-studio-online\/","title":{"rendered":"Get Application Performance data during load runs with Visual Studio Online"},"content":{"rendered":"<p>[ New Update: Now you can collect performance counter of your choice to be monitored during the load run. Read more about it <a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2014\/07\/08\/get-application-performance-counters-of-your-choice-during-load-runs-with-visual-studio-online.aspx\">here<\/a>\u00a0]<\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/04\/4075.pic1_.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>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.<\/p>\n<p>*Please note that Application Insights is in Preview.<\/p>\n<p><strong><span style=\"text-decoration: underline\">Here are the steps to get started:<\/span><\/strong><\/p>\n<ol>\n<li>Verify Cloud based load testing with Visual Studio Online is working correctly. Directions can be found here: <a href=\"https:\/\/aka.ms\/loadtfs\">https:\/\/aka.ms\/loadtfs<\/a><\/li>\n<li>\n<p>Make sure you have the latest Visual Studio Updates:<\/p>\n<\/li>\n<li>\n<p>Download <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=309297\">Visual Studio 2013 Ultimate RTM<\/a><\/p>\n<\/li>\n<li>Download <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=390521\">Visual Studio 2013 Ultimate Update 2 <\/a><\/li>\n<\/ol>\n<ul>\n<li>Verify Application Insights is installed on the\u00a0machine you want to load test. Please see: <a href=\"https:\/\/aka.ms\/aigetstarted\">Get started<\/a> with Application Insights.<br \/>\nMake sure your application(s) which you want to monitor are correctly configured with Application Insights and verify you can view the performance data flowing in the Visual Studio Online portal.\u00a0<strong>Please note<\/strong>: Performance data in Application Insights can take more than 30 minutes to be visible in the Application Insights portal from the time you configure your application. \u00a0If you don\u2019t see your performance data in Application Insights please see: <a title=\"https:\/\/aka.ms\/aimmafaq\" href=\"https:\/\/aka.ms\/aimmafaq\" target=\"_blank\" rel=\"noopener\">https:\/\/aka.ms\/aimmafaq<\/a><\/li>\n<li>Connect the Visual Studio IDE to your Visual Studio Online account from team explorer and open your Load Test.\u00a0<\/li>\n<li>Add Application Monitoring to your load test, for monitoring during the load run.\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 a.\u00a0Right click on Applications and choose the option of &#8220;Get Performance Data from Application Insights&#8221;<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/04\/2656.pic2_.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0b. This will retrieve the list of Applications configured with your Application Insights.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/04\/0160.pic3_.png\" alt=\"\" border=\"0\" \/><\/p>\n<p><strong>Please note<\/strong>: In case you have no Applications registered with Visual Studio Online -Application Insights earlier, than you will get a notification of &#8220;Nothing is configured for your Visual Studio Online account&#8221;. In such a case go ahead and start monitoring your application with Application Insights. <a href=\"https:\/\/aka.ms\/aigetstarted\">Get started<\/a> with Application Insights.<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 c. Choose the Application(s) you want to monitor with the load run<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/04\/4628.pic4_.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0 6.\u00a0Run the load test in Cloud.<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0 7.\u00a0Application Counters are correlated with the User load on the time axis.\u00a0<br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/04\/2626.pic5_.png\" alt=\"\" border=\"0\" \/><\/p>\n<p>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.<\/p>\n<p>8&#46;\u00a0 Go to Application Insights link and do a Root Cause analysis : \u00a0To do the detailed root cause analysis of the issue, you can visit Application Insights with the help of a link in the Application Graph:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/04\/3000.pic_.png\" alt=\"\" width=\"127\" height=\"35\" border=\"0\" \/><\/p>\n<p>To learn more about how to do Root cause analysis of the performance issues with Application Insight, please visit: <a href=\"https:\/\/aka.ms\/aigetstarted\">https:\/\/aka.ms\/aigetstarted<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ New Update: Now you can collect performance counter of your choice to be monitored during the load run. Read more about it here\u00a0] \u00a0 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 [&hellip;]<\/p>\n","protected":false},"author":69,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,252],"tags":[],"class_list":["post-1463","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-testing"],"acf":[],"blog_post_summary":"<p>[ New Update: Now you can collect performance counter of your choice to be monitored during the load run. Read more about it here\u00a0] \u00a0 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 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/1463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=1463"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/1463\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=1463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=1463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=1463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}