Using Azure to monitor website availability and responsiveness

In this blog post I describe how you easily can monitor the performance and the availability of a website. You need an Azure (trial-) account and Visual Studio Enterprise (or Ultimate). There are multiple options, but in this post I describe the URL ping test and the Multi-step web test.

The ping test is an easy way to start. From 5 multiple locations all over the world Azure send an ping to the specified website.

Ping Test

First login to your Windows Azure account. Make sure you’ve already created an Application Insight Resource. Check the following pictures how to create :

image

Create the Application Insight:

image

Specify a name and choose for ASP.NET

image

Go to your Application Insight Resource and Add a web test.

SNAGHTML9e9402

Specify a name, the URL ping test type and the test frequency. Make sure you add the http prefix to the url specification.

image

When you are ready wait when the test has been completed (this can take some time) go to your Application Insight Resource Tile.

Click the Availability Tile and check your results.

SNAGHTML450734

See the above example for the number of tests and the performance.

Multiple-step test

First make sure you have Visual Studio Enterprise 2015 Enterprise or Ultimate. Create a new project :

image

Choose a unique name and create a new project. Select the .webtest file and click the red record button.

image

Record the actions you wish to test and click stop when you’re finished.

SNAGHTMLa3cfab

Alright, test the file. And save the file. Now go Azure and choose to Add a web test :

SNAGHTMLa63a52

Fill in the webtest name and upload the .webtest file.

image

All done. Glimlach Now watch your Azure portal and see the new test appearing.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.