Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

api-test-automationAPI 测试自动化

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

11,476

周安装

483

GitHub Stars

公开资料未说明

下载量

4,019
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:api-test-automation(API 测试自动化)
来源仓库:https://github.com/kaiyuelv/api-test-automation
安装命令:
openclaw skills install api-test-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install api-test-automation

简介

API接口自动化测试工具,支持REST/GraphQL,包含接口测试、性能测试、契约测试、Mock服务等功能 | REST/GraphQL 的 API 测试自动化,包括性能、合同测试和模拟服务

SKILL.md

name
api-test-automation
description
API接口测试自动化工具,支持REST/GraphQL,包含接口测试、性能测试、契约测试、Mock服务等功能 | API Test Automation for REST/GraphQL with performance, contract testing and Mock services
homepage
https://github.com/kaiyuelv/api-test-automation
category
devops
tags
version
1.0.0

API Test Automation

API接口测试自动化工具,支持REST/GraphQL,包含接口测试、性能测试、契约测试、Mock服务等功能。

概述

本Skill提供完整的API测试解决方案,支持:

  • REST API 功能测试
  • GraphQL 查询测试
  • 性能测试(并发、响应时间、吞吐量)
  • 契约测试(OpenAPI/Swagger 验证)
  • Mock 服务
  • 测试报告生成

依赖

  • Python >= 3.8
  • requests >= 2.28.0
  • httpx >= 0.24.0
  • pytest >= 7.0.0
  • pytest-asyncio >= 0.21.0
  • schemathesis >= 3.19.0
  • hypothesis >= 6.82.0
  • aiohttp >= 3.8.0
  • uvicorn >= 0.23.0
  • starlette >= 0.27.0
  • jsonschema >= 4.19.0
  • pyyaml >= 6.0
  • allure-pytest >= 2.13.0

文件结构

api-test-automation/
├── SKILL.md                  # 本文件
├── README.md                 # 使用文档
├── requirements.txt          # 依赖声明
├── examples/
│   └── run_tests.py         # 使用示例
├── tests/
│   └── test_api_suite.py    # 单元测试
└── src/
    ├── __init__.py
    ├── rest_client.py       # REST API 客户端
    ├── graphql_client.py    # GraphQL 客户端
    ├── performance.py       # 性能测试工具
    ├── contract_tester.py   # 契约测试
    ├── mock_server.py       # Mock 服务
    └── reporter.py          # 报告生成

快速开始

from api_test_automation import RestClient, GraphQLClient, PerformanceTester

# REST API 测试
client = RestClient(base_url="https://api.example.com")
response = client.get("/users")
assert response.status_code == 200

# GraphQL 测试
graphql = GraphQLClient(endpoint="https://api.example.com/graphql")
result = graphql.query("{ users { id name } }")

许可证

MIT


API Test Automation (English)

A comprehensive API testing automation tool supporting REST/GraphQL with functional testing, performance testing, contract testing, and Mock services.

Overview

This Skill provides a complete API testing solution:

  • REST API functional testing
  • GraphQL query testing
  • Performance testing (concurrency, response time, throughput)
  • Contract testing (OpenAPI/Swagger validation)
  • Mock services
  • Test report generation

Dependencies

  • Python >= 3.8
  • requests >= 2.28.0
  • httpx >= 0.24.0
  • pytest >= 7.0.0
  • pytest-asyncio >= 0.21.0
  • schemathesis >= 3.19.0
  • hypothesis >= 6.82.0
  • aiohttp >= 3.8.0
  • uvicorn >= 0.23.0
  • starlette >= 0.27.0
  • jsonschema >= 4.19.0
  • pyyaml >= 6.0
  • allure-pytest >= 2.13.0

File Structure

api-test-automation/
├── SKILL.md                  # This file
├── README.md                 # Usage documentation
├── requirements.txt          # Dependencies
├── examples/
│   └── run_tests.py         # Usage examples
├── tests/
│   └── test_api_suite.py    # Unit tests
└── src/
    ├── __init__.py
    ├── rest_client.py       # REST API client
    ├── graphql_client.py    # GraphQL client
    ├── performance.py       # Performance testing tools
    ├── contract_tester.py   # Contract testing
    ├── mock_server.py       # Mock server
    └── reporter.py          # Report generation

Quick Start

from api_test_automation import RestClient, GraphQLClient, PerformanceTester

# REST API Testing
client = RestClient(base_url="https://api.example.com")
response = client.get("/users")
assert response.status_code == 200

# GraphQL Testing
graphql = GraphQLClient(endpoint="https://api.example.com/graphql")
result = graphql.query("{ users { id name } }")

License

MIT

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

97.36%
按下载量换算3,913

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills