.cursor/skills/jmeter-har-conversion/SKILL.md
Convert HAR (HTTP Archive) files into JMeter JMX scripts. Use when the user mentions HAR files, HAR conversion, Chrome DevTools recording, Fiddler capture, mitmproxy, Postman export, or creating a JMeter script from browser network traffic.
npx skillsauth add canyonlabz/mcp-perf-suite jmeter-har-conversionInstall 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.
.har file from a browser recording and needs a .jmx load test scriptThis section provides context for humans and capable models. For the step-by-step execution instructions, skip to the Execution section below.
Required:
test_run_id — Unique identifier for this test run (e.g., hardemo1).
All artifacts are written to artifacts/{test_run_id}/jmeter/.har_path — Absolute filesystem path to the .har file.
Relative paths will fail.Optional:
step_strategy — How to group HAR entries into test steps. Defaults to auto.
auto — Use HAR page references when available, fall back to time-gap detectionpage — Group strictly by HAR page entriestime_gap — Group by time gaps between requestssingle_step — All entries in one steptime_gap_threshold_ms — Gap threshold in milliseconds for the time_gap strategy.
Defaults to 3000.These Cursor Rules apply when using this skill:
prerequisites.mdc — test_run_id and artifact structure validationskill-execution-rules.mdc — Follow steps in order, collect inputs first, do not skipmcp-error-handling.mdc — Error handling for MCP tool calls (retry policy, reporting format)jmeter-script-guardrails.mdc — Applies to downstream HITL editing and debugging after conversionpage strategy if the HAR has clean page entries. Use time_gap if pages
are missing._t, _) with epoch-millisecond values are common.
These are typically orphan IDs best handled with JMeter's __time() function..cursor/skills/jmeter-correlation-naming/SKILL.md.Follow these steps exactly, in order. Each step has one action.
Ask the user for the following values. Do not proceed until all required values are collected.
REQUIRED:
test_run_id = [ask user]
har_path = [ask user — must be absolute path]
OPTIONAL:
step_strategy = [ask user or use default: "auto"]
time_gap_threshold_ms = [ask user or use default: 3000]
Input: test_run_id, har_path, step_strategy, time_gap_threshold_ms
Action: Call MCP tool convert_har_to_capture
convert_har_to_capture(
test_run_id = {test_run_id},
har_path = {har_path},
step_strategy = {step_strategy},
time_gap_threshold_ms = {time_gap_threshold_ms}
)
Expected response:
{
"status": "OK",
"network_capture_path": "artifacts/{test_run_id}/jmeter/network-capture/network_capture_YYYYMMDD_HHMMSS.json",
"test_run_id": "{test_run_id}"
}
Save: capture_path = value of network_capture_path from the response.
On error: If status is "ERROR", stop. Report the full error message to the user.
Input: test_run_id
Action: Call MCP tool analyze_network_traffic
analyze_network_traffic(
test_run_id = {test_run_id}
)
Expected response:
{
"status": "OK",
"correlation_spec_path": "artifacts/{test_run_id}/jmeter/correlation_spec.json",
"correlation_naming_path": "artifacts/{test_run_id}/jmeter/correlation_naming.json",
"count": 7,
"summary": { "total_correlations": 7, "business_ids": 3, "..." : "..." }
}
Save: correlation_count = value of count from the response.
On error: If status is "ERROR", stop. Report the full error message to the user.
This step produces two files:
correlation_spec.json — raw correlation analysiscorrelation_naming.json — auto-generated variable names (no manual step needed)Input: test_run_id, capture_path (saved from Step 1)
Action: Call MCP tool generate_jmeter_script
generate_jmeter_script(
test_run_id = {test_run_id},
json_path = {capture_path}
)
Expected response:
{
"status": "success",
"jmx_path": "artifacts/{test_run_id}/jmeter/ai-generated_script_YYYYMMDD_HHMMSS.jmx",
"message": "JMX script generated successfully: ..."
}
Save: jmx_path = value of jmx_path from the response.
On error: If status is "error", stop. Report the full error message to the user.
Note: This tool returns lowercase
"success"/"error", unlike the other tools which return uppercase"OK"/"ERROR".
Input: test_run_id, jmx_path (saved from Step 3), correlation_count (saved from Step 2)
Action: Present the results to the user.
Tell the user:
{jmx_path}{correlation_count} correlations were detected and parameterizedartifacts/{test_run_id}/jmeter/
├── network-capture/
│ └── network_capture_<timestamp>.json
├── capture_manifest.json
├── correlation_spec.json
├── correlation_naming.json
├── ai-generated_script_<timestamp>.jmx
└── testdata_csv/
└── environment.csv
Ask the user:
.cursor/skills/jmeter-correlation-naming/SKILL.md (Scenario A).These rules apply to every step:
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.