{"id":2223,"date":"2013-11-22T21:52:02","date_gmt":"2013-11-22T21:52:02","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2013\/11\/22\/using-a-visual-studio-web-test-for-availability-monitoring-in-application-insights\/"},"modified":"2022-07-18T08:53:47","modified_gmt":"2022-07-18T16:53:47","slug":"using-a-visual-studio-web-test-for-availability-monitoring-in-application-insights","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/using-a-visual-studio-web-test-for-availability-monitoring-in-application-insights\/","title":{"rendered":"Using a Visual Studio Web Test for availability monitoring in Application Insights"},"content":{"rendered":"<p>I am just wrapping up a week at the MVP Summit and one of the System Center MVPs asked me to walk him through creating a Web Test in Visual Studio and using it for Availability monitoring\u2026Of course i promised to do this and as with most good intentions we ran out of time!\u00a0 I am hoping this blog post will make up for the fact we couldn\u2019t do it during the session! (Cameron \u2013 pleasure meeting you!)<\/p>\n<hr \/>\n<p><strong>Step 1: Creating the Web Test in Visual Studio<\/strong><\/p>\n<p>This is pretty much a **File > New **exercise once you are in Visual Studio<\/p>\n<p>\u00a0<img decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/11\/0676.image_thumb_5E87974F.png\" width=\"639\" height=\"454\" \/><\/p>\n<p>After the project is created press the Red record button, record your actions and save the file<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/11\/0028.image_thumb_27411014.png\" width=\"662\" height=\"481\" \/><\/p>\n<hr \/>\n<p><strong>Step 2: Creating the Application in Application Insights<\/strong><\/p>\n<p>It was pointed out to me the \u201cAdd Application\u201d menu doesn\u2019t give you the option to create an Application for JUST Availability Monitoring!\u00a0<\/p>\n<p>Fortunately creating an application for Availability monitoring is actually easier than the \u201cChoose your adventure\u201d <strong>Add Application<\/strong> page!<\/p>\n<p>If the screen shot doesn\u2019t come through the directions are: <strong>Overview Menu > Application Menu > New Menu > Enter a Name > Add<\/strong>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/11\/6646.image_thumb_7E3901C8.png\" width=\"644\" height=\"457\" \/><\/p>\n<p>\u00a0<strong>Step 3: Adding Availability Monitoring to the Application<\/strong><\/p>\n<p>At this point just clicking on the Availability menu will walk you through creating a URL based test.\u00a0<\/p>\n<p>To create a Web Test based Synthetic Transaction press the green \u201c+\u201d sign select \u201cMulti Step Web Test\u201d navigate to the folder you saved your Webtest into and Viola you are done!<\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/11\/2541.image_thumb_593B414F.png\" width=\"711\" height=\"411\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am just wrapping up a week at the MVP Summit and one of the System Center MVPs asked me to walk him through creating a Web Test in Visual Studio and using it for Availability monitoring\u2026Of course i promised to do this and as with most good intentions we ran out of time!\u00a0 I [&hellip;]<\/p>\n","protected":false},"author":63,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[224,1],"tags":[],"class_list":["post-2223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-devops"],"acf":[],"blog_post_summary":"<p>I am just wrapping up a week at the MVP Summit and one of the System Center MVPs asked me to walk him through creating a Web Test in Visual Studio and using it for Availability monitoring\u2026Of course i promised to do this and as with most good intentions we ran out of time!\u00a0 I [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/2223","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\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=2223"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/2223\/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=2223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=2223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=2223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}