← 返回 Skills 市场
lamb

Easy run test

作者 金氧 · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ⚠ suspicious
122
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install basjoofan
功能描述
Use when user needs to run api test, performance test, load test, stress test, http test etc. 当用户需要运行接口测试、性能测试、负载测试、压力测试、HTTP测试等时使用。 触发词: 接口测试、API测试、性能测试、负载测...
使用说明 (SKILL.md)

API test

通过 basjoofan test [OPTIONS] [NAME] 来运行测试脚本。

Quick Reference

参数 说明 必需 默认值
--tasks, -t 并发数量 1
--duration, -d 测试时长(秒)或分钟(例如:60s, 1m) -
--number, -n 测试次数 1
--path, -p 测试脚本路径 当前路径
--record, -r 是否记录测试结果 -
--stat, -s 是否输出统计信息 false

命令选择决策树

用户想运行测试脚本
├─ 接口测试 → basjoofan test name 测试方法名为name的接口测试
├─ 性能测试 → basjoofan test name -t 100 -d 1m 测试方法名为name的接口测试,并发数量为100,测试时长为1分钟

使用示例

让我们开始一个简单的接口测试,测试方法名为get,这是一个GET请求。

let host = "httpbin.org";

rq get`
  GET https://{host}/get
`[status == 200]

test get {
  let response = get->;
  response.status
}

这个脚本保存为.fan为后缀名的文件,例如get.fan。 如果用户想运行测试脚本 ├─ 接口测试 → basjoofan test get 测试方法名为get的接口测试 ├─ 性能测试 → basjoofan test get -t 100 -d 1m -s 测试方法名为get的接口测试,并发数量为100,测试时长为1分钟,输出统计信息

这是一个POST请求

let host = "httpbin.org";

rq post`
  POST https://{host}/post
`[status == 200]

test post {
  let response = post->;
  response.status
}

这是一个POST请求,请求体为application/x-www-form-urlencoded格式。

let host = "httpbin.org";

rq post`
  POST https://{host}/post
Content-Type: application/x-www-form-urlencoded

key: value
`[status == 200]

test post {
  let response = post->;
  response.status
}

这是一个POST请求,请求体为multipart/form-data格式。

let host = "httpbin.org";

rq post`
  POST https://{host}/post
  Content-Type: multipart/form-data

  key: value
  file: @path/to/file
`[status == 200]

test post {
  let response = post->;
  response.status
}

这是一个POST请求,请求体为application/json格式。

let host = "httpbin.org";

rq post`
  POST https://{host}/post
  Content-Type: application/json

  {
    "name": "Gauss",
    "age": 6,
    "address": {
      "street": "19 Hear Sea Street",
      "city": "DaLian"
    },
    "phones": [
      "+86 13098767890",
      "+86 15876567890"
    ]
  }
`[status == 200]

test post {
  let response = post->;
  response.status
}
安全使用建议
This skill appears to do what it says (run API/performance tests) and requires the 'basjoofan' binary. Before installing: (1) verify the upstream project (https://github.com/basjoofan/core) and its releases are trustworthy, (2) be aware the SKILL.md installer uses an inline Node script to fetch the latest release and then downloads a binary — ensure you have Node if you plan to run that installer and preferably verify checksums/signatures of the downloaded binary, (3) note the registry metadata and the embedded install steps are inconsistent (the registry claimed no install spec), which suggests the package metadata may be incomplete or out of sync, (4) avoid running tests that target internal or sensitive endpoints without reviewing the test scripts (load tests can send arbitrary network traffic and may include file uploads), and (5) consider running the downloaded binary in a sandbox or reviewing the binary on disk before execution. If you need higher assurance, request a signed release or a reproducible build / checksums from the skill author.
功能分析
Type: OpenClaw Skill Name: basjoofan Version: 0.0.1 The skill provides a utility for API and performance testing by installing and executing the 'basjoofan' binary. The installation process in SKILL.md fetches the latest version from a legitimate GitHub repository (basjoofan/core) and downloads the platform-specific binary. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code and instructions are consistent with the stated purpose of the tool.
能力评估
Purpose & Capability
The skill is described as an API/performance testing helper and requires the basjoofan binary — that aligns. However, the SKILL.md contains an 'install' stanza that runs a Node one-liner to query GitHub and then downloads a release binary, yet the registry metadata indicated 'No install spec'. Also the install relies on Node being available but 'node' is not listed in required binaries — an inconsistency.
Instruction Scope
The instructions focus on invoking 'basjoofan test' and include example test scripts. They do not instruct reading unrelated files, harvesting credentials, or exfiltrating data. Example scripts reference files for upload (path/to/file) which is expected for load tests but imply the tool will access user-specified file paths when tests include them.
Install Mechanism
SKILL.md contains an install workflow that (a) runs an inline Node command to query the GitHub Releases API for the latest version and (b) downloads a platform/arch-specific binary from a GitHub releases URL. Downloading a binary from GitHub releases is common, but there is no checksum or signature verification, the Node dependency is implicit, and the registry metadata earlier claimed there was no install spec — these are inconsistencies and increase risk.
Credentials
The skill does not request any environment variables or credentials (good). The install metadata sets VERSION/ARCH/OS for templating the download, but these are internal to installation. No secrets or unrelated credentials are requested.
Persistence & Privilege
The skill is not marked 'always' and is user-invocable only. There is no indication it modifies other skills or global agent config. Autonomous invocation is allowed (platform default) and not an additional red flag here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install basjoofan
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /basjoofan 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
basjoofan 0.0.1 – Initial Release - Introduced a new tool for API, performance, load, stress, and HTTP testing. - Added CLI options for concurrency, duration, number of runs, script path, result recording, and statistics output. - Provided sample scripts for GET and POST requests (including form, multipart, and JSON payloads). - Included a command decision tree for typical testing scenarios. - Installation instructions and examples are documented in both English and Chinese.
元数据
Slug basjoofan
版本 0.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Easy run test 是什么?

Use when user needs to run api test, performance test, load test, stress test, http test etc. 当用户需要运行接口测试、性能测试、负载测试、压力测试、HTTP测试等时使用。 触发词: 接口测试、API测试、性能测试、负载测... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 122 次。

如何安装 Easy run test?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install basjoofan」即可一键安装,无需额外配置。

Easy run test 是免费的吗?

是的,Easy run test 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Easy run test 支持哪些平台?

Easy run test 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Easy run test?

由 金氧(@lamb)开发并维护,当前版本 v0.0.1。

💬 留言讨论