Introducing Server-Side Test Criteria for Azure Load Testing by info.odysseyx@gmail.com October 8, 2024 written by info.odysseyx@gmail.com October 8, 2024 0 comment 11 views 11 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. 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. 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 Share 0 FacebookTwitterPinterestEmail info.odysseyx@gmail.com previous post New research warns of gaming scams targeting kids next post Serverless is not supported for Elastic Pool You may also like A good Los Angeles rebuild with fire-resistant houses January 20, 2025 2024 PC shipments increase with strong refresh cycle, Win10 ends January 15, 2025 Biden Battered Over AI Diffusion Policy January 14, 2025 The best thing about CES 2025 January 13, 2025 Meta Scrap fact-checker, eases content restrictions January 8, 2025 2025 Cyber Security Predictions Influenced by AI January 7, 2025 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.