360 Secure SkillHub
360 安全技能中心

APITester Agent-Driven API Testing

面向 API 端点测试:用 YAML/自然语言定义请求(方法、URL、请求体、期望状态码与内容),支持变量串联、多环境配置(dev/staging/prod)、并行执行,输出测试结果、自动生成 API 文档及 HTML/JSON/Markdown 报告。需运行随附脚本并实际访问被测 API 端点。

theshadowrose
theshadowrose
热度 91.27
最近更新 2026-05-11 17:30:20
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / 自动化脚本 / 报告撰写 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-api-tester
Metadata
name
APITester Agent-Driven API Testing
description
Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.
author
@TheShadowRose
version
1.0.0
tags
["api-tester"]
license
MIT

APITester Agent-Driven API Testing

Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.


Define API tests in plain English. Run them. Get documented results.

Usage

tests:
  - name: "Get all users"
    method: GET
    url: "https://api.example.com/users"
    expect:
      status: 200
      body_contains: "users"

  - name: "Create user"
    method: POST
    url: "https://api.example.com/users"
    body:
      name: "Test User"
      email: "test@example.com"
    expect:
      status: 201

Test Results

API Test Results — 2026-02-28
✅ Get all users        200 OK    145ms
✅ Create user          201 OK    230ms
❌ Delete user          403 FORBIDDEN
✅ Update user          200 OK    189ms

Pass: 3/4 (75%) | Avg response: 188ms

Features

  • YAML test definitions — no code required
  • Variable chaining — use response values in subsequent requests
  • Environment configs — dev, staging, prod
  • Auto-documentation — generates API docs from test results
  • Parallel execution — run independent tests concurrently
  • Report generation — HTML, JSON, or markdown

⚠️ Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied.

USE AT YOUR OWN RISK.

  • The author(s) are NOT liable for any damages, losses, or consequences arising from the use or misuse of this software — including but not limited to financial loss, data loss, security breaches, business interruption, or any indirect/consequential damages.
  • This software does NOT constitute financial, legal, trading, or professional advice.
  • Users are solely responsible for evaluating whether this software is suitable for their use case, environment, and risk tolerance.
  • No guarantee is made regarding accuracy, reliability, completeness, or fitness for any particular purpose.
  • The author(s) are not responsible for how third parties use, modify, or distribute this software after purchase.

By downloading, installing, or using this software, you acknowledge that you have read this disclaimer and agree to use the software entirely at your own risk.

DATA DISCLAIMER: This software processes and stores data locally on your system. The author(s) are not responsible for data loss, corruption, or unauthorized access resulting from software bugs, system failures, or user error. Always maintain independent backups of important data. This software does not transmit data externally unless explicitly configured by the user.


Support & Links

🐛 Bug Reports TheShadowyRose@proton.me
☕ Ko-fi ko-fi.com/theshadowrose
🛒 Gumroad shadowyrose.gumroad.com
🐦 Twitter @TheShadowyRose
🐙 GitHub github.com/TheShadowRose
🧠 PromptBase promptbase.com/profile/shadowrose

Built with OpenClaw — thank you for making this possible.


🛠️ Need something custom? Custom OpenClaw agents & skills starting at $500. If you can describe it, I can build it. → Hire me on Fiverr