- Home
- Skills
- Testing & Debugging
- HAR to JMX Lite — HAR to JMeter 5.6 & Redacted API Docs
HAR to JMX Lite — HAR to JMeter 5.6 & Redacted API Docs
by SunQi
Zero-dependency Python CLI to turn browser HAR captures into redacted Markdown API docs and JMeter 5.6 .jmx test plans with noise filtering and leak validation.
Free
HAR to JMX Lite — HAR to JMeter 5.6 & Redacted API Docs
Example session with this skill installed
Scan the traffic.har file to show me which hosts were captured, then generate a redacted English API document named endpoints.md.
- Read your context and instructions
- Compiled the har to jmx
I have scanned the capture file and generated the requested documentation. The scan identified traffic across three hosts, with static assets (CSS/JS) automatically excluded from the results.
Host Summary
api.staging.example.com(14 endpoints)auth.example.com(2 endpoints)cdn.example.com(Filtered: Static content)
API Documentation Summary
| Method | Endpoint | Host | Description |
|---|---|---|---|
| POST | /v1/login | auth.example.com | Authentication request (Credentials Redacted) |
| GET | /v1/user/profile | api.staging.example.com | Fetch user account details |
| PUT | /v1/settings | api.staging.example.com | Update user preferences |
| GET | /v1/orders | api.staging.example.com | List recent transaction history |
Security & Redaction
The following headers were identified and redacted in endpoints.md:
Authorization: [REDACTED]Cookie: [REDACTED]X-Session-ID: [REDACTED]
Next steps
- Review
endpoints.mdto confirm all sensitive business logic was captured. - Run the
jmxcommand with--allow-host api.staging.example.comto generate a targeted load test. - Consult
references/jmeter-guardrails.mdbefore executing the test plan in JMeter.
Connects securely to your tools. The creator never sees your data.
About this skill
Browser .har exports are noisy and risky to share raw: they mix static .js/.css/image traffic with real API calls and embed live Authorization or Cookie credentials.
HAR to JMX Lite gives your coding agent a zero-dependency Python 3.9+ CLI (scripts/har_to_jmx_lite.py) to convert .har captures into clean test assets:
- Smart Noise Filtering (
scan): Drops static assets, OPTIONS preflight requests, and non-HTTP traffic; normalizes numeric IDs and UUIDs into /{id} and /{uuid}. - Credential-Redacted API Docs (
doc): Generates EN/ZH Markdown documentation with Authorization, Cookie, and API-key headers automatically redacted. - JMeter 5.6 Ready & 417-Safe (
jmx): Generates parameterized .jmx plans (${PROTOCOL}, ${BASE_HOST}, ${BASE_PORT}, ${AUTH_TOKEN}) and avoids the reverse-proxy 417 Expectation Failed pitfall. - Fail-Closed Static Validator (
validate): Verifies XML structure and blocks leaked Bearer/JWT tokens.
Open Source (MIT License, Free) — Full source code, demo HAR fixture, unit tests, and CI available in repository sunqi-2025/har-to-jmx-lite on GitHub.
Requires Python 3.9+. Does not automate dynamic token correlation (e.g., extracting a login token for subsequent requests). Not for use on production hosts.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 10 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Creator
SunQi
3 skills on Agensi
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.