Azure App Insights Integration
How to Activate the Azure App Insights Integration
Section titled “How to Activate the Azure App Insights Integration”Integrate LoadFocus with Azure App Insights to stream live load test and JMeter test results directly into your Azure App Insights account. k6 tests cannot send to Azure App Insights; for k6 use New Relic, Dynatrace, Datadog or OpenTelemetry.
To send live results to Azure App Insights during your tests:
- In LoadFocus open Settings, then Integrations. From a test page you can get there with Manage integrations in the integrations row (Send results to Datadog, New Relic…).
- Open the Integrations page
- Click New Integration, choose Azure App Insights, fill in the fields below and click Save integration.
Integration Fields
Section titled “Integration Fields”- Name: Assign a name to your integration.
- Connection String: your Azure App Insights connection string (see the link below for where to find it).
- Log Response Data: Always (the default), OnFailure or Never.
- Log Sample Data: Always (the default), OnFailure or Never.
- Live metrics: a switch, on by default.
To find the connection string of your Application Insights resource, see Microsoft's connection strings documentation.
Connect Azure App Insights to Individual Tests
Section titled “Connect Azure App Insights to Individual Tests”For unique Azure App Insights settings per test (different settings for "Log Response Data" and/or "Log Sample Data"):
- Complete the Azure App Insights integration process for each unique setting.
- On each test, pick the integration you want in the Integrations list of the integrations row (Send results to Datadog, New Relic…).
Visualize Key Test Metrics
Section titled “Visualize Key Test Metrics”With the integration active, test data will stream into your Azure App Insights resource, providing:
- Real-time summaries of total and failed requests, error rates, latency, and response times.
- Insights on application performance thresholds.
Customize your dashboard to correlate test metrics with other monitoring data:
- Add system vitals like CPU and memory graphs.
- Observe resource availability under increased traffic.
- Identify performance regressions due to code changes.
Dive into Individual Test Results with Logs
Section titled “Dive into Individual Test Results with Logs”While metrics reveal patterns and trends, logs provide detailed information on individual test runs:
- Logs are available alongside metrics in the default dashboard.
- Use the Log Explorer to view logs in context and filter specific subsets.
- Analyze logs for error responses or specific latency values.
Removing Azure App Insights Integration
Section titled “Removing Azure App Insights Integration”To disconnect Azure App Insights:
- Go to Settings > Integrations in LoadFocus.
- Find the Azure App Insights integration in the list and click its trash button (Delete integration).
- The integration is removed from your external reporting services list.


