Install
openclaw skills install lmeterx-web-loadtestLMeterX Web Load test tool。When a user provides a **webpage/website URL**, the script executes immediately to perform: Page Analysis + API Pre-checks + Batch Creation of Load Testing Tasks. No health checks are required.
openclaw skills install lmeterx-web-loadtesthttps://www.baidu.com), you must—and may only—use this specific Skill.curl or requests—to call any LMeterX APIs.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 theX-Authorizationrequest header and bound to theagentuser.
Upon completion of execution, please extract the terminal output and respond to the user clearly using the following Markdown format:
task_id for each successfully created task, along with the corresponding URL to view the report: {LMETERX_BASE_URL}/http-results/{task_id}.| 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://. |