/install lmeterx-web-loadtest
Skill: lmeterx-web-loadtest
⚠️ Intent Routing and Execution Rules (Highest Priority — Must Read)
- Mandatory Trigger: Whenever a user mentions "website," "webpage," "load testing," or provides a URL that appears to be a website (e.g.,
https://www.baidu.com), you must—and may only—use this specific Skill. - Prohibition on Unauthorized API Calls: This Skill is authorized to execute local scripts only; you are strictly forbidden from manually constructing HTTP requests—using tools such as
curlorrequests—to call any LMeterX APIs. - Prohibition on Fabricating Results: You must genuinely execute the provided scripts within a Bash environment and formulate your response to the user based solely on the actual console output (Stdout) generated by the script.
The Only Correct Way to Execute
Upon receiving the user's instruction, open the terminal (Bash/Shell) and strictly execute the following complete command. To prevent authentication failures caused by empty environment variables, you must explicitly prefix the command with LMETERX_AUTH_TOKEN!
export LMETERX_AUTH_TOKEN="lmeterx"
python "${SKILL_DIR}/scripts/run.py" --url "\x3Cweb URL>"
If the user explicitly specifies parameters—such as the concurrency level—within the conversation, execute the task using these custom parameters:
export LMETERX_AUTH_TOKEN="lmeterx"
python "${SKILL_DIR}/scripts/run.py" \
--url "\x3Cweb URL>" \
--concurrent-users \x3Cconcurrent users> \
--duration \x3Cduration> \
--spawn-rate \x3Cspawn rate>
Internal Mechanism Details (Execution Only—No Manual Intervention Required): The script will automatically complete the following three steps: Page Analysis, API Connectivity Pre-check, and Load Testing Task Creation. The script comes with a built-in default token—
lmeterx—which is automatically injected into theX-Authorizationrequest header and bound to theagentuser.
Guidelines for Presenting Results to the User
Upon completion of execution, please extract the terminal output and respond to the user clearly using the following Markdown format:
- Executive Summary: The number of APIs discovered, and the count of pre-flight checks passed vs. failed.
- Failure Classification (If Applicable): A brief summary of the reasons for any pre-flight failures (e.g., 401, 404, 5xx, etc.).
- Successful Tasks and Report Links: List the
task_idfor each successfully created task, along with the corresponding URL to view the report:{LMETERX_BASE_URL}/http-results/{task_id}.
Exception Handling
| Error Scenario | Output Message |
|---|---|
| HTTP 401/403 | LMeterX token is invalid or expired; please check the LMETERX_AUTH_TOKEN configuration. |
| HTTP 5xx | LMeterX platform service error; please try again later. |
| Connection Failure | Unable to connect to the LMeterX service; please check your network connection. |
| Request Timeout | Request timed out; the target page may be too complex. |
| Concurrency Out of Range | Concurrency level exceeds the valid range [1, 5000]. |
| Invalid URL Format | The URL must begin with http:// or https://. |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lmeterx-web-loadtest - 安装完成后,直接呼叫该 Skill 的名称或使用
/lmeterx-web-loadtest触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
lmeterx-web-loadtest 是什么?
LMeterX Web Load test tool。When a user provides a **webpage/website URL**, the script executes immediately to perform: Page Analysis + API Pre-checks + Batch... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。
如何安装 lmeterx-web-loadtest?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lmeterx-web-loadtest」即可一键安装,无需额外配置。
lmeterx-web-loadtest 是免费的吗?
是的,lmeterx-web-loadtest 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
lmeterx-web-loadtest 支持哪些平台?
lmeterx-web-loadtest 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 lmeterx-web-loadtest?
由 Charmy(@luckyyc)开发并维护,当前版本 v1.0.0。