.netazureresttelemetry

Rest API (Post) Availability Test in Azure App Insights


I want to check whether my API is working fine. I have an api which only has post requests and no GET.

The tutorial here: https://learn.microsoft.com/en-us/azure/application-insights/app-insights-monitor-web-app-availability mentions that it is very easy to check whether a rest API is working fine.

When I write an availability test, it just asks me a url, but this is not enough for my case as it is a post request.

How to do that in App Insights? Is it not possible?


Solution

  • You can use Multi-step Web Tests for this:

    https://learn.microsoft.com/en-us/azure/application-insights/app-insights-monitor-web-app-availability#multi-step-web-tests

    I think current pricing is $10/month (all locations are included).

    EDIT: Simple Web Tests are free.