perf-autocorrelator-pro
perf-autocorrelator-pro takes a HAR file captured from a browser and generates a fully runnable performance test script with automatic extraction and correlation of dynamic values (session tokens, CSRF tokens, view state, etc.).
| Tier | Price |
|---|---|
| Basic | £59 one-time |
| Pro (web UI, AI detection, OAuth/GraphQL/enterprise patterns) | £99 one-time |
Platforms: Linux x86_64, Windows x86_64
Commands
Section titled “Commands”generate — HAR to script
Section titled “generate — HAR to script”Converts a HAR file into a complete runnable script:
# JMeterperf-autocorrelator-pro generate session.har --tool jmeter -o load-test.jmx
# k6perf-autocorrelator-pro generate session.har --tool k6 -o load-test.js
# Gatlingperf-autocorrelator-pro generate session.har --tool gatling -o src/test/scala/LoadTest.scalacorrelate — Add extractors to existing script
Section titled “correlate — Add extractors to existing script”Adds correlation extractors to a script you’ve already written:
perf-autocorrelator-pro correlate \ --script existing-test.jmx \ --har session.har \ --tool jmeter \ -o correlated-test.jmxWhat Gets Correlated
Section titled “What Gets Correlated”The tool detects and correlates over 50 dynamic value patterns:
| Pattern | Detection Method |
|---|---|
| Session cookies | Cookie header analysis |
| Bearer tokens | Authorization header |
| CSRF tokens | Form field names (_token, csrf_token, __RequestVerificationToken, etc.) |
| View state | ASP.NET __VIEWSTATE |
| Anti-forgery tokens | Common framework patterns |
| OAuth tokens | access_token, refresh_token in JSON responses |
| API keys in responses | JSON key name heuristics |
| JSESSIONID / PHPSESSID | Server-set cookies |
| GraphQL variables | Operation variables extraction |
Each detected correlation becomes an extractor in the output script. For JMeter: regex/JSON extractors + variable references. For k6: jsonPath() extractions + vars object. For Gatling: .check(jsonPath(...).saveAs(...)).
Think Times
Section titled “Think Times”By default, think times from the HAR are preserved in the output:
# Disable think times (for maximum load generation)perf-autocorrelator-pro generate session.har --tool k6 --no-think-times -o test.js
# Scale think times (e.g., 50% of recorded)perf-autocorrelator-pro generate session.har --tool k6 --think-time-factor 0.5 -o test.jsParallel Request Groups
Section titled “Parallel Request Groups”Requests that occur within a configurable time window (default: 50ms) are grouped as parallel in the output:
# Adjust parallel windowperf-autocorrelator-pro generate session.har --tool jmeter --parallel-window 100 -o test.jmxJMeter: parallel requests become a Parallel Sampler group. k6: Promise.all([...]). Gatling: .resources(...).
Capture a HAR File
Section titled “Capture a HAR File”Chrome / Edge: F12 → Network tab → record your user journey → right-click → “Save all as HAR”
Firefox: F12 → Network → gear icon → “Save All As HAR”
Playwright (for automated capture):
const { chromium } = require('playwright');const fs = require('fs');
const browser = await chromium.launch();const context = await browser.newContext({ recordHar: { path: 'session.har' } });const page = await context.newPage();// ... navigateawait context.close();Pro Features
Section titled “Pro Features”Web UI: Local web dashboard for reviewing correlations, toggling extractors, and previewing the output script before export.
AI Detection (Pro): Uses pattern matching with machine learning weighting to detect non-standard correlation patterns not covered by the 50+ built-in rules.
OAuth 2.0 support: Full support for authorization code flow — captures code, exchanges for access_token/refresh_token, and generates the complete OAuth script including token refresh.
GraphQL: Extracts operation names, variables, and response fields. Groups related operations.
Enterprise patterns: SAP Fiori, Salesforce platform events, custom header propagation.
License
Section titled “License”export PERF_AUTOCORRELATOR_LICENSE=your-license-key# orperf-autocorrelator-pro generate session.har --license your-key --tool k6 -o test.js