{"id":"ee999eed-ad67-4be7-aeb4-0c70ce177a9f","slug":"clawhub-kokxi-qa-api-testing","name":"qa-api-testing","description":"当需要测试 RESTful/GraphQL/gRPC/WebSocket 等 API 时使用此技能。覆盖接口的功能验证、参数组合、鉴权绕过、超时重试、幂等性、接口契约和向后兼容性。不要只测 HTTP 状态码——真正的接口 Bug 往往在数据结构不一致、字段类型不匹配、空值处理和并发调用上。输出接口测试矩阵、契约断言清单和工具选型建议。 触发场景：接口测试、API测试、接口自动化、RESTful测试、GraphQL测试、gRPC测试、契约测试、接口安全测试、需要测试API时。 Use when the user asks about: API testing for REST, GraphQL, gRPC, WebSocket, SOAP, and webhook endpoints — contract validation, auth bypass, idempotency, timeout and retry behavior, and backward compatibility.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-kokxi-qa-api-testing","sourceUrl":"https://clawhub.ai/kokxi/qa-api-testing","homepage":"https://clawhub.ai/kokxi/skills/qa-api-testing","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/kokxi/skills/qa-api-testing"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.8.0","freshnessAt":"2026-10-10T17:34:32.101Z","freshnessLabel":"Oct 10, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 10, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.8.0"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/kokxi/skills/qa-api-testing","sourceUrl":"https://clawhub.ai/kokxi/skills/qa-api-testing","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T17:34:32.101Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-api-testing/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-api-testing/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-10T17:34:32.101Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"1.3K downloads","href":"https://clawhub.ai/kokxi/qa-api-testing","sourceUrl":"https://clawhub.ai/kokxi/qa-api-testing","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T17:34:32.101Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"1.8.0","href":"https://clawhub.ai/kokxi/qa-api-testing","sourceUrl":"https://clawhub.ai/kokxi/qa-api-testing","sourceType":"release","confidence":"medium","observedAt":"2026-09-29T04:25:22.458Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-api-testing/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-kokxi-qa-api-testing/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["1.3K downloads","Trust evidence available"],"agentCard":{"name":"qa-api-testing","description":"当需要测试 RESTful/GraphQL/gRPC/WebSocket 等 API 时使用此技能。覆盖接口的功能验证、参数组合、鉴权绕过、超时重试、幂等性、接口契约和向后兼容性。不要只测 HTTP 状态码——真正的接口 Bug 往往在数据结构不一致、字段类型不匹配、空值处理和并发调用上。输出接口测试矩阵、契约断言清单和工具选型建议。 触发场景：接口测试、API测试、接口自动化、RESTful测试、GraphQL测试、gRPC测试、契约测试、接口安全测试、需要测试API时。 Use when the user asks about: API testing for REST, GraphQL, gRPC, WebSocket, SOAP, and webhook endpoints — contract validation, auth bypass, idempotency, timeout and retry behavior, and backward compatibility.","source":"CLAWHUB","sourceId":"clawhub:s170jw3s1atcj5jwhqb4r7v7eh8912kp:qa-api-testing","homepage":"https://clawhub.ai/kokxi/skills/qa-api-testing","repository":"https://clawhub.ai/kokxi/qa-api-testing","documentation":"https://www.xpersona.co/agent/clawhub-kokxi-qa-api-testing","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"bash","snippet":"python scripts/validate_testcase_table.py <用例文件>"},{"kind":"example","language":"text","snippet":"测试维度：\n├─ 正向测试：正常输入返回正确结果\n├─ 反向测试：异常输入返回正确错误\n├─ 边界测试：边界值处理正确\n├─ 参数测试：参数组合覆盖\n└─ 业务测试：业务规则验证\n\n测试用例设计：\n├─ 入参校验：类型、长度、格式、必填\n├─ 返回校验：状态码、响应体、响应头\n├─ 业务校验：数据正确性、状态变更\n└─ 异常校验：错误码、错误信息"}]}}