.cursor/skills/jmeter-script-validator/SKILL.md
Validate existing JMeter scripts via autonomous smoke testing using the jmeter-script-validator subagent. Use when the user mentions script validation, script health check, validate JMeter script, re-validate old scripts, check if a JMeter script still works, or smoke test validation. This skill orchestrates one or more validator subagents, each producing a standalone Markdown validation report.
npx skillsauth add canyonlabz/mcp-perf-suite jmeter-script-validatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This section provides context for humans and capable models. For the step-by-step execution instructions, skip to the Execution section below.
This skill orchestrates the jmeter-script-validator subagent to autonomously
validate JMeter scripts. Each subagent:
NOT_FOUND patternsThe subagent does NOT apply fixes. It is strictly a validation and diagnosis
tool. For iterative fix-and-retest, use the jmeter-debugging skill instead.
User Prompt (test_run_id, jmx_filename, ...)
│
▼
Orchestrator (this skill)
│
├── jmeter-script-validator subagent
│ ├── Smoke Test 1 (detect first failure via run status / JTL)
│ ├── Attach Debug Post-Processor to failing sampler
│ ├── Smoke Test 2 (capture verbose debug data)
│ ├── Analyze JMeter log + inspect JTL Request URLs
│ ├── Generate aggregate report (optional)
│ └── Write validation report
│ └── artifacts/{test_run_id}/analysis/Report_{Script_Name}.md
│
├── [optional] additional subagents for other scripts
│
└── Summary to user
Each smoke test produces its own Markdown report. The report name is derived from
the JMX script filename using Snake Case with a Report_ prefix:
| JMX Filename | Report Name |
|---|---|
| Login_Flow.jmx | Report_Login_Flow.md |
| ai-generated-script.jmx | Report_Ai_Generated_Script.md |
| imported_checkout-api.jmx | Report_Imported_Checkout_Api.md |
| my test script.jmx | Report_My_Test_Script.md |
Conversion rules:
.jmx extension-), spaces, and dots with underscores (_)Report_Reports are written to: artifacts/{test_run_id}/analysis/Report_{Script_Name}.md
| Aspect | Script Validator (this skill) | Debugging Skill | |---|---|---| | Purpose | Diagnose and report | Diagnose and fix | | Applies fixes? | No | Yes | | Max smoke tests | 2 per script | Up to 5 iterations | | Output | Markdown report only | Fixed script + debug manifest | | Runs as | Subagent | Interactive foreground |
.cursor/agents/jmeter-script-validator.md.cursor/skills/jmeter-debugging/SKILL.md.cursor/skills/jmeter-hitl-editing/SKILL.md.cursor/rules/jmeter-script-guardrails.mdc.cursor/rules/skill-execution-rules.mdc.cursor/rules/prerequisites.mdc.cursor/rules/mcp-error-handling.mdcFollow these steps exactly, in order.
Ask the user for the following values. Do not proceed until all required values are collected.
REQUIRED:
test_run_id = [ask user — must have an existing JMX in artifacts/{test_run_id}/jmeter/]
OPTIONAL:
jmx_filename = [specific JMX file to validate — if not provided, auto-discovers]
validate_all = [true/false — validate all JMX scripts found for this test_run_id.
Default: false. If true, one subagent is launched per script.]
generate_report = [true/false — generate aggregate report after smoke tests.
Default: true]
Create task items to monitor progress:
Action: List the JMX scripts available for this test run.
The orchestrator (you) should call the JMeter MCP tool directly to discover scripts:
list_jmeter_scripts(
test_run_id = {test_run_id}
)
Save: scripts_list — the list of JMX script paths and filenames.
Decision gate:
jmx_filename was provided, verify it exists in scripts_list. If not found, report
the error to the user and stop.validate_all=true, all scripts in scripts_list will be validated.Save: target_scripts — the list of scripts to validate (one or more).
For each script in target_scripts, derive the report filename:
Login_Flow.jmx).jmx extension → Login_FlowLogin_FlowLogin_FlowReport_ → Report_Login_Flow.md → Report_Login_Flow.mdSave: Mapping of {jmx_filename} → {report_filename} for each target script.
For each script in target_scripts, invoke a jmeter-script-validator subagent
with the following prompt:
Validate the JMeter script for test_run_id: {test_run_id}
jmx_filename: {jmx_filename}
report_filename: {report_filename}
generate_report: {generate_report}
Follow all instructions in your system prompt. Write the validation report to:
artifacts/{test_run_id}/analysis/{report_filename}
Important:
validate_all=true and multiple scripts exist, invoke subagents
sequentially — one at a time, waiting for each to complete before
starting the nextAfter all subagents complete, verify that each expected report file exists:
artifacts/{test_run_id}/analysis/{report_filename}
For each report:
Present a clear summary to the user:
Scripts Validated
Validation Results
Report Locations
artifacts/{test_run_id}/analysis/Next Steps
jmeter-debugging skill
to iteratively fix the issueslist_jmeter_scripts returns no scripts, stop and inform the user that no JMX
files were found for the given test_run_id.testing
Orchestrates BlazeMeter and Datadog data extraction using dedicated subagents. Use when the user mentions subagent workflow, subagent orchestrator, or wants to run the BlazeMeter and Datadog extraction phases via subagents. This skill handles the extraction and handoff phases only — it does NOT run PerfAnalysis, PerfReport, or Confluence. After this skill completes, the user can continue with the performance-testing-workflow skill starting from Step 4 (PerfAnalysis).
testing
AI-assisted HITL revision of performance test reports with iterative refinement, version tracking, and optional Confluence publishing. Use when the user mentions report revision, AI-enhanced report, revise executive summary, revise key observations, revise issues table, or improve a performance report.
tools
Run Playwright browser automation to capture network traffic and generate a JMeter JMX script. Use when the user mentions browser automation, Playwright recording, test spec execution, browser-based network capture, or generating a JMeter script from a live browser session.
tools
End-to-end performance testing pipeline orchestrating BlazeMeter, Datadog, PerfAnalysis, PerfReport, and Confluence MCP workflows sequentially. Use when the user mentions performance testing workflow, E2E pipeline, BlazeMeter results, test run analysis, performance report generation, or end-to-end test processing.