ワンクリックで
test-api-performance
执行API性能与并发承载测试,包括高负载性能测试和多用户并发测试。支持Playwright MCP,适用于接口性能优化、上线前压测、性能回归测试等场景。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
执行API性能与并发承载测试,包括高负载性能测试和多用户并发测试。支持Playwright MCP,适用于接口性能优化、上线前压测、性能回归测试等场景。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Complete PRD template with AI-friendly markers. Use for product requirement docs: includes overview, requirements, processes, data, interfaces, acceptance. AI can quickly identify [AI] marked sections for implementation.
Provides API documentation template and standards for RESTful API, gRPC, and other interfaces. Includes request/response format, parameter definitions, error codes, and Markdown documentation structure. Invoke when generating API documentation or interface specifications.
Provides database design templates and documentation structure. Invoke when designing database schemas, creating database design documents, or generating SQL scripts.
Provides common Java coding standards including hutool tool usage and Lombok annotations. Invoke when generating Java code (DO, VO, Service, Controller) or applying coding standards.
Provides Java Controller layer standards including RESTful API design, request mapping, parameter validation, and response handling. Invoke when generating Controller files or RESTful API endpoints.
Provides Java DAO layer standards including interface specifications, MyBatis XML templates, method naming, parameter annotations, and CRUD operation patterns. Invoke when generating DAO files or MyBatis mappers.
| name | test-api-performance |
| description | 执行API性能与并发承载测试,包括高负载性能测试和多用户并发测试。支持Playwright MCP,适用于接口性能优化、上线前压测、性能回归测试等场景。 |
本技能用于执行API的性能与并发承载测试,验证系统在高负载下的可用性和稳定性,面向生产环境压测场景。
技术栈:Playwright MCP工具 测试类型:性能测试(响应时间、吞吐量)、并发测试(多用户并发) 报告格式:Markdown
验证系统在高负载下的行为,包括响应时间、吞吐量、资源使用等指标。
测试要点:
性能指标:
验证系统在多个并发用户下的行为,确保系统在并发场景下的正确性和稳定性。
测试要点:
并发场景:
在执行测试前,请按以下清单逐项检查和执行:
单用户性能测试:
多用户性能测试:
压力测试:
读取并发测试:
写入并发测试:
读写混合并发测试:
在开始测试前,需要收集以下信息:
使用Playwright MCP工具执行性能测试:
支持的HTTP方法:
测试执行流程:
单用户性能测试:
多用户性能测试:
压力测试:
使用Playwright MCP工具执行并发测试:
读取并发测试:
写入并发测试:
读写混合并发测试:
测试完成后,生成Markdown格式的测试报告,报告保存在以下目录:
doc/{业务名称}/测试报告/性能与并发承载/{测试接口名称}_{时间戳}.md