azure-app-testing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure App Testing Skill
Azure App Testing 技能
This skill provides expert guidance for Azure App Testing. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本技能为Azure App Testing提供专业指导,涵盖故障排查、最佳实践、决策制定、架构与设计模式、限制与配额、安全、配置、集成与编码模式以及部署。它结合了本地快速参考内容与远程文档获取功能。
How to Use This Skill
如何使用本技能
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,), useL35-L120with the specified lines. For categories with file links (e.g.,read_file), use[security.md](security.md)on the linked reference fileread_file
IMPORTANT for Agent: Ifis more than 3 months old, suggest the user pull the latest version from the repository. Ifmetadata.generated_attools are not available, suggest the user install it: Installation Guidemcp_microsoftdocs
This skill requires network access to fetch documentation content:
- Preferred: Use with query string
mcp_microsoftdocs:microsoft_docs_fetch. Returns Markdown.from=learn-agent-skill - Fallback: Use with query string
fetch_webpage. Returns Markdown.from=learn-agent-skill&accept=text/markdown
Agent 重要提示: 使用下方的分类索引查找相关章节。对于带有行范围的分类(例如),使用L35-L120并指定对应行。对于带有文件链接的分类(例如read_file),对链接的参考文件使用[security.md](security.md)read_file
本技能需要网络访问权限来获取文档内容:
- 首选方式: 使用,查询字符串为
mcp_microsoftdocs:microsoft_docs_fetch,返回Markdown格式内容。from=learn-agent-skill - 备用方式: 使用,查询字符串为
fetch_webpage,返回Markdown格式内容。from=learn-agent-skill&accept=text/markdown
Category Index
分类索引
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L37-L46 | Diagnosing and fixing Azure Load Testing issues (failures, debug runs, private endpoints) and troubleshooting Playwright Workspaces errors and test run problems. |
| Best Practices | L47-L55 | Guidance on load testing App Service apps, tuning high-scale tests, finding performance bottlenecks, and optimizing Playwright Workspace tests for reliability and low latency. |
| Decision Making | L56-L63 | Guides for deciding load test resource moves (regions, groups, subscriptions) and tuning performance settings like Azure Functions configs and Playwright parallelism. |
| Architecture & Design Patterns | L64-L69 | Designing Azure Load Testing setups with virtual networks and private endpoints, including VNet-injected tests, network isolation, and testing services over private connectivity. |
| Limits & Quotas | L70-L77 | Usage caps, service limits, quotas, and configuration details for Azure Load Testing and Playwright Workspaces, including free trial constraints and how to set monthly usage limits. |
| Security | L78-L90 | Securing Azure Load Testing and Playwright Workspaces: RBAC, auth for endpoints, managed identities, Key Vault, CMK encryption, certificates, access tokens, and Azure Policy controls. |
| Configuration | L91-L112 | Configuring and running Azure Load Testing: test definitions/runs, HTTP/JMeter/Playwright settings, baselines, auto-stop, scheduling, multi-region, monitoring, exports, and CI/CD YAML. |
| Integrations & Coding Patterns | L113-L123 | Authoring and running load tests with JMeter, Locust, and Playwright, using CSV data and plugins, integrating with VS Code/Copilot, and testing local or private apps via Azure Load Testing. |
| Deployment | L124-L128 | Setting up and automating CI/CD for Azure Load Testing, including manual pipeline configuration and integration with Azure Pipelines for automated test runs. |
| 分类 | 行范围 | 描述 |
|---|---|---|
| 故障排查 | L37-L46 | 诊断并修复Azure Load Testing问题(失败、调试运行、专用终结点),以及排查Playwright Workspaces错误和测试运行问题。 |
| 最佳实践 | L47-L55 | 提供负载测试App Service应用、调优高并发测试、查找性能瓶颈以及优化Playwright Workspace测试的可靠性与低延迟的指导。 |
| 决策制定 | L56-L63 | 指导如何迁移负载测试资源(区域、资源组、订阅)以及调优性能设置,如Azure Functions配置和Playwright并行度。 |
| 架构与设计模式 | L64-L69 | 设计带有虚拟网络和专用终结点的Azure Load Testing设置,包括虚拟网络注入测试、网络隔离以及通过专用连接测试服务。 |
| 限制与配额 | L70-L77 | Azure Load Testing和Playwright Workspaces的使用上限、服务限制、配额及配置细节,包括免费试用限制和如何设置月度使用限额。 |
| 安全 | L78-L90 | 保护Azure Load Testing和Playwright Workspaces:RBAC、终结点身份验证、托管标识、Key Vault、CMK加密、证书、访问令牌以及Azure Policy控制。 |
| 配置 | L91-L112 | 配置并运行Azure Load Testing:测试定义/运行、HTTP/JMeter/Playwright设置、基准、自动停止、调度、多区域、监控、导出以及CI/CD YAML。 |
| 集成与编码模式 | L113-L123 | 使用JMeter、Locust和Playwright编写并运行负载测试,使用CSV数据和插件,与VS Code/Copilot集成,以及通过Azure Load Testing测试本地或私有应用。 |
| 部署 | L124-L128 | 设置并自动化Azure Load Testing的CI/CD,包括手动管道配置以及与Azure Pipelines集成以实现自动化测试运行。 |
Troubleshooting
故障排查
| Topic | URL |
|---|---|
| Use AI-powered actionable insights to diagnose Azure load test issues | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-analyze-test-results-using-actionable-insights |
| Diagnose and troubleshoot failing Azure load tests | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-diagnose-failing-load-test |
| Run Azure load tests in debug mode for troubleshooting | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-run-tests-in-debug-mode |
| Troubleshoot private endpoint load tests in Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/troubleshoot-private-endpoint-tests |
| Troubleshoot Playwright Workspaces reporting errors | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/troubleshoot-playwright-workspaces-reporting |
| Troubleshoot Playwright Workspaces test run issues | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/troubleshoot-test-run-failures |
Best Practices
最佳实践
| Topic | URL |
|---|---|
| Load test Azure App Service apps with Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/concept-load-test-app-service |
| Configure high-scale load tests and engine instances in Azure | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-high-scale-load |
| Identify performance bottlenecks using Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/tutorial-identify-bottlenecks-azure-portal |
| Configure Playwright visual comparisons in Workspaces reliably | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-configure-visual-comparisons |
| Optimize regional latency for Playwright Workspaces tests | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-optimize-regional-latency |
| 主题 | 链接 |
|---|---|
| 使用Azure Load Testing负载测试Azure App Service应用 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/concept-load-test-app-service |
| 在Azure中配置高并发负载测试和引擎实例 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-high-scale-load |
| 使用Azure Load Testing识别性能瓶颈 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/tutorial-identify-bottlenecks-azure-portal |
| 可靠配置Playwright Workspaces中的视觉对比 | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-configure-visual-comparisons |
| 优化Playwright Workspaces测试的区域延迟 | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-optimize-regional-latency |
Decision Making
决策制定
| Topic | URL |
|---|---|
| Move Azure Load Testing resources between regions | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-move-between-regions |
| Move Azure Load Testing resources across resource groups or subscriptions | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-move-between-resource-groups-subscriptions |
| Choose optimal Azure Functions configuration with load tests | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-optimize-azure-functions |
| Determine optimal Playwright Workspaces parallelism configuration | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/concept-determine-optimal-configuration |
| 主题 | 链接 |
|---|---|
| 在区域之间迁移Azure Load Testing资源 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-move-between-regions |
| 在资源组或订阅之间迁移Azure Load Testing资源 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-move-between-resource-groups-subscriptions |
| 通过负载测试选择最优Azure Functions配置 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-optimize-azure-functions |
| 确定Playwright Workspaces的最优并行度配置 | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/concept-determine-optimal-configuration |
Architecture & Design Patterns
架构与设计模式
| Topic | URL |
|---|---|
| Choose virtual network deployment scenarios for Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/concept-azure-load-testing-vnet-injection |
| Test private endpoints with virtual network–injected Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-test-private-endpoint |
| 主题 | 链接 |
|---|---|
| 为Azure Load Testing选择虚拟网络部署场景 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/concept-azure-load-testing-vnet-injection |
| 使用虚拟网络注入的Azure Load Testing测试专用终结点 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-test-private-endpoint |
Limits & Quotas
限制与配额
| Topic | URL |
|---|---|
| Configure monthly usage limits for Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-manage-usage-limits |
| Service limits and quotas for Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/resource-limits-quotas-capacity |
| Understand Playwright Workspaces free trial limits | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-try-playwright-workspaces-free |
| Service limits, quotas, and configuration for Playwright Workspaces | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/resource-limits-quotas-capacity |
| 主题 | 链接 |
|---|---|
| 配置Azure Load Testing的月度使用限额 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-manage-usage-limits |
| Azure Load Testing的服务限制和配额 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/resource-limits-quotas-capacity |
| 了解Playwright Workspaces免费试用限制 | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-try-playwright-workspaces-free |
| Playwright Workspaces的服务限制、配额和配置 | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/resource-limits-quotas-capacity |
Security
安全
Configuration
配置
Integrations & Coding Patterns
集成与编码模式
| 主题 | 链接 |
|---|---|
| 在Azure Load Testing中运行基于JMeter的负载测试 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-create-and-run-load-test-with-jmeter-script |
| 在Azure Load Testing的JMeter和Locust测试中使用CSV数据 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-read-csv-data |
| 在Azure Load Testing中使用JMeter插件 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-use-jmeter-plugins |
| 在Azure Load Testing中创建基于Locust的负载测试 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/quickstart-create-run-load-test-with-locust |
| 使用VS Code扩展和Copilot进行Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/quickstart-create-run-load-tests-from-visual-studio-code |
| 在Azure Load Testing中使用支持的JMeter功能 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/resource-jmeter-support |
| 针对本地或私有应用运行Playwright Workspaces测试 | https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-test-local-applications |
Deployment
部署
| Topic | URL |
|---|---|
| Manually configure CI/CD pipelines for Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-configure-load-test-cicd |
| Automate Azure Load Testing in Azure Pipelines CI/CD | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/quickstart-add-load-test-cicd |
| 主题 | 链接 |
|---|---|
| 手动配置Azure Load Testing的CI/CD管道 | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-configure-load-test-cicd |
| 在Azure Pipelines CI/CD中自动化Azure Load Testing | https://learn.microsoft.com/en-us/azure/app-testing/load-testing/quickstart-add-load-test-cicd |