Performance Script Generator Guide — PilotForge Inspector for Chrome
Performance Script Generator is a local-first tool inside PilotForge Inspector (Performance Testing Studio). Generate deterministic k6, JMeter, Locust, Artillery, and Gatling load test scripts locally with secret scrubbing. It runs directly inside Chrome (Popup, Side Panel, DevTools, Full Tab) without sending your page DOM, traffic, or test artifacts to external servers.
- Author:
- SoftwareTestPilot
- Reviewed by:
- Priyanka G.
- Verified on:
- v0.5.1
- Published:
- Updated:
Practical benefits
- Runs directly inside Chrome (Popup, Side Panel, DevTools, Full Tab) with zero external proxy or cloud setup.
- Keeps all inspection data, rules, and outputs strictly local in your browser.
- Designed for repeatable QA workflows inside Performance Testing Studio.
Prerequisites & installation
- Google Chrome 116+ (or Chromium browser) with PilotForge Inspector v0.5.1 installed from the Chrome Web Store.
- An open standard http:// or https:// web page (browser internal pages like chrome:// cannot be inspected).
How to launch inside PilotForge
- Click the pinned PilotForge Inspector icon in your Chrome toolbar.
- Open Performance Testing Studio in the Popup and select Performance Script Generator.
- Optionally click Full tab in the tool header for a wider workspace.
Step-by-step usage instructions
- Provide target endpoint details or import from captured API traffic.
- Choose your load-testing tool (k6, JMeter, Locust, Artillery, or Gatling) and virtual user stages.
- Copy or download the scrubbed script and run it in your dedicated load-testing environment.
Practical software testing example
Practical QA workflow with Performance Script Generator
Use Performance Script Generator on a staging or local web application to validate behavior and capture actionable QA output.
- Provide target endpoint details or import from captured API traffic.
- Choose your load-testing tool (k6, JMeter, Locust, Artillery, or Gatling) and virtual user stages.
- Copy or download the scrubbed script and run it in your dedicated load-testing environment.
Expected outcome: Performance Script Generator produces verifiable local results in Popup, Side Panel, DevTools, Full Tab that you can inspect immediately or export into your test suite or bug tracker.
import http from "k6/http";
import { check } from "k6";
export const options = { vus: 10, duration: "30s" };
export default function () {
const res = http.get("https://staging.example.com/api/health");
check(res, { "status is 200": (r) => r.status === 200 });
}
Settings & controls
- Surface Switcher
- Available across Popup, Side Panel, DevTools, Full Tab so you can work docked beside the page or in a dedicated view.
- Active Tab Target
- Targets the currently authorized browser tab and shows a clear status indicator when attached.
- Local Reset / Clear
- Clears local session results in chrome.storage.local without affecting your application.
Results & output
- Live structured results inside Performance Script Generator updated locally as you interact with the page.
- Explicit status, match counts, or diagnostic details designed for fast QA triage.
Export options
- Copy structured output or generated snippets directly to the clipboard.
- Export local JSON, Markdown, or framework-ready test artifacts where supported by the tool.
FREE vs PRO feature differences
FREE (v0.5.1)
- Performance Script Generator is included FREE in PilotForge Inspector v0.5.1 with full local-first execution.
- No account, credit card, or remote API key required.
PRO
- No paid upgrade is required to run this tool in v0.5.1.
- Future PRO studio capabilities will be clearly labeled in the extension when released.
Common errors & troubleshooting
Authorization tokens were replaced with placeholders
Secret scrubbing intentionally replaces bearer tokens and API keys with environment variables so you never commit credentials.
Browser permissions & privacy
Permissions used
- activeTab and storage (baseline local-only permissions).
- On-demand scripting injection on the active tab when you click start.
Privacy guarantees
- All DOM reads, metrics, and exports stay on your machine inside Chrome.
- No page content, cookies, or test outputs are transmitted to third-party servers.
Technical limitations
- Cannot run on Chrome internal URLs (chrome://, edge://, chrome-extension://) or the Chrome Web Store.
- Cross-origin iframes and closed shadow roots are restricted by standard Chrome extension security boundaries.
Best practices
- Reload your target tab once after installing or updating the extension so scripts attach cleanly.
- Export or copy important findings before closing an incognito or temporary test profile.
Frequently asked questions
Frequently asked questions
1.Is Performance Script Generator free to use in PilotForge Inspector?
2.Does Performance Script Generator send my page data to any server?
Was this guide helpful?
Your feedback helps us improve these documentation pages.
Try this tool locally in Chrome
Install PilotForge Inspector free from the Chrome Web Store — no account required.
Requires desktop Chrome. Copy the link to install on your computer.
