Home NewsX Introducing Server-Side Test Criteria for Azure Load Testing

Introducing Server-Side Test Criteria for Azure Load Testing

by info.odysseyx@gmail.com
0 comment 13 views


We’re excited to announce a powerful new feature in Azure Load Testing: the ability to set test baselines for server-side metrics. This enhancement allows you to define precise error conditions based on the performance of server-side components, providing greater insight into performance bottlenecks and resource limitation issues.

Traditionally, Azure load testing allowed users to define test failure criteria based on client-side metrics. By setting thresholds for these metrics, users can determine when a load test should be considered a failure. However, performance bottlenecks are often caused by server-side resource constraints. Provides a more comprehensive monitoring solution by allowing configuration of test criteria for server-side metrics.

To take advantage of this new feature, follow these steps:

1. Assign a managed identity to the load test resource

First, you need to: Assign managed identity Added to Azure load testing resources that can be system-assigned or user-assigned. This managed identity can get metrics from app components.

System assigned managed ID

Here’s how to assign a system-assigned managed identity:

  • Go to your Azure load testing resource in the Azure portal.
  • Select ID in the left pane.
  • On the System Assignments tab, toggle the status to On and select Save.
  • In the confirmation window, select Yes to confirm the assignment.

When the task is complete, the page displays the object ID of your managed identity so you can assign permissions to that ID.

User-assigned managed identity

To assign a user-assigned managed identity, follow these steps:

  • Go to your Azure load testing resource in the Azure portal.
  • Select ID in the left pane.
  • On the User Assignments tab, click Add, and then select the user-assigned managed identity you want to assign from the list.
  • Select Add to confirm the assignment.

The selected user-assigned managed identity is now associated with the load testing resource and you can grant the required permissions.

2. Grant permission to the managed identity

next, Grant managed identity permissions To read metrics from your app component:

  • In the Azure portal, go to App Components.
  • In the left pane, select Access Control (IAM), then select + Add, and then select Add role assignment.
  • On the Roles tab, under Job Role, search for Monitoring Reader or Monitoring Contributor.
  • On the Members tab, under Access Assignments, select Managed Identity.
  • Click Select Members, search for and select the managed identity for your load testing resource, and then click Next.
  • Select Review + Assign to finalize your permission assignments.

Assignment-Permission.png

3. Configure failure criteria for server-side metrics

finally, Configure failure criteria Server-side metrics within the Azure Load Testing portal:

  • Go to your Azure Load Testing resource and click Create test.
  • In the Monitoring tab, configure the app components you want to monitor during testing.
  • Configure the metric reference ID to use the ID you were previously granted access to.
  • In the Test Criteria window, enter the resource ID, namespace, metrics, aggregates, conditions, and thresholds for your test.
  • Select Apply to save your changes.

Server failure criteria.png

When you run a load test, Azure Load Testing uses these test criteria to determine the load test execution status. The dashboard shows the status of each test criterion, and if one or more criteria are met, the overall test status is marked as Failed.

you can too Integrate your tests Check for server bottlenecks at every release and deployment in your CICD pipeline.

Azure Load Testing’s new server-side test baseline capabilities provide a powerful mechanism for identifying and resolving performance bottlenecks. By configuring error conditions based on server metrics, you can gain deeper insights and ensure the stability and performance of your applications.

If you haven’t tried Azure Load Testing yet, you can: create resourcesTest your application today and set failure criteria for your server metrics. If you’re already using Azure Load Testing, we’d love to hear your feedback. characteristic!

Thank you for your continued support.





Source link

You may also like

Leave a Comment

Our Company

Welcome to OdysseyX, your one-stop destination for the latest news and opportunities across various domains.

Newsletter

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

Laest News

@2024 – All Right Reserved. Designed and Developed by OdysseyX