Skip to content

kaising-openclaw1/api-tester-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

API Tester Pro

API 批量测试与性能报告工具

功能

  • 单接口快速测试
  • 批量测试(从配置文件加载)
  • 重复测试(压力测试)
  • 响应时间统计
  • 自动生成 JSON/Markdown/CSV 报告

使用

# 测试单个 API
python api_tester.py --url https://api.example.com/users --method GET

# 批量测试
python api_tester.py --config tests.json

# 压力测试(重复 10 次)
python api_tester.py --url https://api.example.com/data --iterations 10

配置文件示例

{
  "tests": [
    {
      "name": "获取用户列表",
      "url": "https://api.example.com/users",
      "method": "GET",
      "headers": {"Authorization": "Bearer YOUR_TOKEN"}
    },
    {
      "name": "创建用户",
      "url": "https://api.example.com/users",
      "method": "POST",
      "data": {"name": "test", "email": "test@example.com"}
    }
  ]
}

服务

需要 API 测试服务?

  • 单接口测试:¥200
  • 全套测试 + 报告:¥800-2000
  • 自动化测试集成:¥3000+

GitHub: https://github.com/kaising-openclaw1

About

API 测试工具 - 自动化测试+性能压测+Mock 服务

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages