mcpField
A
azure-app-testing

azure-app-testing

github.com/microsoftdocs测试与质量796171 次安装3 天前更新
代码仓库

关于 azure-app-testing

azure-app-testing 是面向使用 Azure App Testing 的开发者和 Agent 的指导技能,涵盖负载测试与 Playwright Workspaces。它结合本地参考内容和联网获取的文档,涉及故障排查、配置、安全与部署。

主要功能

  1. 01负载测试故障排查与最佳实践
  2. 02Playwright Workspaces 指南
  3. 03配置、安全与配额参考
  4. 04架构与部署指导
  5. 05本地索引与远程文档获取

适用场景

  1. 01诊断负载测试失败
  2. 02规划私有终结点测试架构
  3. 03配置测试运行、机密与监控
  4. 04在 CI/CD 中自动运行负载测试

MCP 相关

该技能建议使用 mcp_microsoftdocs 的 microsoft_docs_fetch 工具获取文档;其内容还涵盖 Playwright Workspaces 远程 MCP 故障排查和 MCP 集成。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-app-testing

安装后在 Claude Code 中输入/azure-app-testing确认已加载。

详细介绍

Azure App Testing 技能

此技能提供有关 Azure App Testing 的专业指导,涵盖故障排除、最佳实践、决策、架构与设计模式、限制与配额、安全性、配置、集成与编码模式,以及部署。它结合了本地快速参考内容与远程文档获取功能。

如何使用此技能

IMPORTANT for Agent:使用下方的类别索引查找相关章节。对于带有行范围的类别(例如 L35-L120),请使用 read_file 读取指定行。对于带有文件链接的类别(例如 [security.md](security.md)),请使用 read_file 读取链接的参考文件

IMPORTANT for Agent:如果 metadata.generated_at 超过 3 个月,请建议用户从代码库拉取最新版本。如果无法使用 mcp_microsoftdocs 工具,请建议用户安装该工具:安装指南

此技能需要网络访问权限才能获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并将查询字符串设为 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并将查询字符串设为 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行描述
故障排除L37-L48诊断和修复 Azure Load Testing 问题,包括 AI 驱动的见解、调试模式、浏览器记录器、专用终结点,以及 Playwright Workspaces(远程 MCP、报告和测试运行错误)。
最佳实践L49-L57有关对 App Service 应用进行负载测试、调整高规模测试、查找性能瓶颈,以及优化 Playwright Workspace 测试以提高可靠性并降低延迟的指导。
决策L58-L65有关决定负载测试资源迁移方式(区域、组、订阅)以及调整性能设置(如 Azure Functions 配置和 Playwright 并行度)的指南。
架构与设计模式L66-L71设计使用虚拟网络和专用终结点的 Azure Load Testing 配置,包括注入 VNet 的测试、网络隔离,以及通过专用连接测试服务。
限制与配额L72-L79Azure Load Testing 和 Playwright Workspaces 的使用上限、服务限制和配置,包括月度配额、免费试用限制,以及调整或查看这些限制的方法。
安全性L80-L92保护 Azure Load Testing 和 Playwright Workspaces:RBAC、终结点身份验证、托管标识、Key Vault、CMK 加密、证书、访问令牌和 Azure Policy 控制。
配置L93-L113配置和运行 Azure Load Testing 与 Playwright Workspaces:测试定义、HTTP/JMeter 设置、机密、监控、基线、报告/导出、CI/CD YAML、计划安排和多区域负载。
集成与编码模式L114-L125将 Azure Load Testing 与 JMeter、Locust、VS Code/Copilot、CSV 数据、插件和 Playwright(包括 MCP 以及本地/专用应用测试)集成的模式和工具。
部署L126-L130设置 Azure Load Testing 的 CI/CD 并实现自动化,包括手动配置管道,以及与 Azure Pipelines 集成以自动运行测试。
故障排除
主题URL
使用 AI 驱动的可操作见解诊断 Azure 负载测试问题https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-analyze-test-results-using-actionable-insights
诊断并排查失败的 Azure 负载测试https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-diagnose-failing-load-test
在调试模式下运行 Azure 负载测试以进行故障排除https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-run-tests-in-debug-mode
诊断 Azure Load Testing 浏览器录制器问题https://learn.microsoft.com/en-us/azure/app-testing/load-testing/troubleshoot-browser-extension
排查 Azure Load Testing 中的专用终结点负载测试问题https://learn.microsoft.com/en-us/azure/app-testing/load-testing/troubleshoot-private-endpoint-tests
排查 Playwright Workspaces 远程 MCP 问题https://learn.microsoft.com/en-us/azure/app-testing/playwright-cloud-browsers/troubleshoot-remote-mcp-server
排查 Playwright Workspaces 报告错误https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/troubleshoot-playwright-workspaces-reporting
排查 Playwright Workspaces 测试运行问题https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/troubleshoot-test-run-failures
最佳实践
主题URL
使用 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
在 Workspaces 中可靠地配置 Playwright 视觉比较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
决策
主题URL
在区域之间移动 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
架构与设计模式
主题URL
选择 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
限制和配额
主题URL
配置 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
安全性
主题URL
使用 RBAC 角色管理 Azure Load Testing 访问权限https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-assign-roles
配置 Azure Load Testing 加密的客户管理密钥https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-configure-customer-managed-keys
使用 Azure Load Testing 对经过身份验证的终结点进行负载测试https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-test-secured-endpoints
在 Azure Load Testing 中使用托管标识和 Key Vaulthttps://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-use-a-managed-identity
使用 Azure Policy 保护 Azure Load Testing 资源https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-use-azure-policy
在 Azure Load Testing 中使用 JKS 和 Key Vault 配置多个证书https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-use-multiple-certificates
安全管理 Playwright Workspaces 访问令牌https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-manage-access-tokens
配置 Playwright Workspaces 的身份验证和授权https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-manage-authentication
为 Playwright Workspaces 配置基于 RBAC 的访问控制https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-manage-workspace-access
配置
主题URL
在基于 URL 的 Azure 负载测试中配置 HTTP 请求https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-add-requests-to-url-based-test
比较多个 Azure 负载测试运行和基线https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-compare-multiple-test-runs
在 Azure Load Testing 中配置 JMeter 用户属性https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-configure-user-properties
创建和管理 Azure 负载测试定义https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-create-manage-test
在门户中创建和管理 Azure 负载测试运行https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-create-manage-test-runs
配置 Azure 负载测试的失败和自动停止条件https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-define-test-criteria
导出 Azure Load Testing 结果以用于外部报告https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-export-test-results
使用 Azure Load Testing 生成多区域负载https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-generate-load-from-multiple-regions
在负载测试期间监视服务器端 Azure 资源指标https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-monitor-server-side-metrics
在 Azure Load Testing 中使用机密和环境变量https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-parameterize-load-tests
计划定期运行 Azure 负载测试https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-schedule-tests
使用 Azure Load Testing 结果仪表板进行分析https://learn.microsoft.com/en-us/azure/app-testing/load-testing/how-to-understand-test-run-results-dashboard
Azure Load Testing 监视数据和资源参考https://learn.microsoft.com/en-us/azure/app-testing/load-testing/monitor-load-testing-reference
在 CI/CD 中使用 YAML 配置 Azure Load Testinghttps://learn.microsoft.com/en-us/azure/app-testing/load-testing/reference-test-config-yaml
Azure Load Testing 覆盖的 JMeter 属性https://learn.microsoft.com/en-us/azure/app-testing/load-testing/resource-jmeter-property-overrides
选择受支持的 Azure 资源以进行 Load Testing 监视https://learn.microsoft.com/en-us/azure/app-testing/load-testing/resource-supported-azure-resource-types
使用 Playwright Workspaces 服务配置文件选项https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-use-service-config-file
集成与编码模式
主题URL
在 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
在 Azure Load Testing 中使用 VS Code 扩展和 Copilothttps://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
将 AI Agent 与 Playwright MCP 服务集成https://learn.microsoft.com/en-us/azure/app-testing/playwright-cloud-browsers/how-to-playwright-workspaces-remote-mcp
针对本地或专用应用运行 Playwright Workspaces 测试https://learn.microsoft.com/en-us/azure/app-testing/playwright-workspaces/how-to-test-local-applications
部署
主题URL
手动配置 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 Testinghttps://learn.microsoft.com/en-us/azure/app-testing/load-testing/quickstart-add-load-test-cicd

评论

支持 Markdown