← 返回
未分类

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...
LMeterX网页负载测试工具。当用户提供网页/网站URL后,脚本立即执行:页面分析+API预检+批量测试...
luckyyc luckyyc 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 299
下载
💾 0
安装
1
版本
#latest

概述

Skill: lmeterx-web-loadtest

⚠️ Intent Routing and Execution Rules (Highest Priority — Must Read)

  1. 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.
  2. 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 curl or requests—to call any LMeterX APIs.
  3. 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 "<web 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 "<web URL>" \
  --concurrent-users <concurrent users> \
  --duration <duration> \
  --spawn-rate <spawn 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 the X-Authorization request header and bound to the agent user.

>

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:

  1. Executive Summary: The number of APIs discovered, and the count of pre-flight checks passed vs. failed.
  2. Failure Classification (If Applicable): A brief summary of the reasons for any pre-flight failures (e.g., 401, 404, 5xx, etc.).
  3. Successful Tasks and Report Links: List the task_id for each successfully created task, along with the corresponding URL to view the report: {LMETERX_BASE_URL}/http-results/{task_id}.

Exception Handling

Error ScenarioOutput Message
------------------
HTTP 401/403LMeterX token is invalid or expired; please check the LMETERX_AUTH_TOKEN configuration.
HTTP 5xxLMeterX platform service error; please try again later.
Connection FailureUnable to connect to the LMeterX service; please check your network connection.
Request TimeoutRequest timed out; the target page may be too complex.
Concurrency Out of RangeConcurrency level exceeds the valid range [1, 5000].
Invalid URL FormatThe URL must begin with http:// or https://.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 17:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,957
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,177
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,773