The core load-test.exe engine is built for reliability. When multiple inputs exist, the engine follows a simple rule: CLI flags override environment-variable fallbacks. The recorded JSON remains the replay contract: most replay options resolve as CLI flag > the recording's runs[0] setting > built-in default, and a few read an environment variable between the flag and the recording. Run settings (speed, start mode, waves, sync points) also have a settings file, run-parameters.json; flags win over it. Flags are case-insensitive, and value flags accept both -flag value and -flag=value.
1. Installation & Package Choice
Choose the package that matches how you want to run Futuristic WebLoad:
- Light: smaller download; Chromium is downloaded automatically on first use.
- Offline: larger download; Chromium is included in the package.
No separate Chromium install step is required for the Windows desktop packages. If you deploy load-test or another browser worker onto your own machine, VM, or custom image, include the Chromium and OS dependencies in that environment before you run tests.
2. Base Commands
| Command |
Behavior |
load-test.exe | Opens the visual editor (recorder) with no script, starting at about:blank. |
load-test.exe -edit <file.json> | Opens the editor directly on the specified script, starting at its first recorded page. |
load-test.exe -replay <file.json> | Executes the script in headless mode by default. |
load-test.exe -replay -zipInput <file.zip> | Replays a zip bundle (the script path is optional when -zipInput is given). |
load-test.exe -replay <file.json> --dry-run | Validates the JSON only and prints JSON OK, the script count and the databank user count. Not supported with -zipInput. |
load-test.exe --version | Prints the version and exits. |
Replay requires a Software License (or a local run license prepared by Runs-Manager). An unknown argument prints the usage and exits with code 1. Ctrl+C exits with 130.
3. Replay & Orchestration Options
These flags control the concurrency, speed, and behavior of the browser workers.
| Option |
Description |
Example |
-zipInput <file.zip> |
Advanced: replay from a zip bundle. The tool extracts the zip, tries to locate recording.json, and replays it. |
-zipInput "C:\Runs\trace.zip" |
-unzipFolder <path> |
Advanced: where to extract -zipInput. Defaults to the zip folder. |
-unzipFolder "C:\Temp\unzip" |
-runXUser <N> |
Concurrency: runs up to N users in isolated contexts. |
-runXUser 50 |
-databankFile <file.json> |
Replaces the recording's databank (parameters.users) with the users in this file. See Databank. |
-databankFile "users.json" |
-useDatabank <sel> |
First databank user: N (1-based), random, worker, or run. Default: user 1. |
-useDatabank 21 |
-recycleUsers |
Wraps around to the first databank user instead of stopping when the end of the databank is reached. |
-runXUser 100 -recycleUsers |
-replaySpeed <X|random> |
Run setting. Divides recorded waits by X (2 = twice as fast). Clamped to 0.2-5. random keeps speed 1 and enables -replayJitter. See Run Settings. |
-replaySpeed 2.5 |
-replayJitter <percent> |
Run setting. With -replaySpeed random only: each recorded wait is lengthened by a random 0 to percent% (accepted 0-10000, clamped to 400). |
-replaySpeed random -replayJitter 25 |
-startMode <gate|noGate|paced> |
Run setting. How users start: together (gate, default), as soon as ready (noGate), or in waves (paced). |
-startMode noGate |
-waveSize <N> -waveInterval <s> [-waveJitter <s>] |
Run setting. Paced waves: N users every s seconds, optional ± jitter (at most half the interval). Implies -startMode paced. |
-waveSize 20 -waveInterval 10 |
-syncPoints <honor|skip> |
Run setting. skip passes the script's own sync points without waiting. |
-syncPoints skip |
-runParameters <file|none> |
Run settings file to use, or none to ignore any run-parameters.json and use only the flags. |
-runParameters none |
--dry-run |
Validates JSON and summary without launching browsers (needs -replay <script.json>; not with -zipInput). |
--dry-run |
-withUX |
Shows the browser windows (Headful mode). |
-withUX |
-outDir <path> |
Sets the root directory for artifacts and reports. |
-outDir "C:\Runs" |
-chromePath <path> |
Override path to Chromium/Chrome binary. Also applies in the editor (-edit). A browser path stored in the recording (runs[0].chromePath) is used only when it names a Chrome, Chromium or Edge executable outside the recording's folder; otherwise it is ignored with a log line. The command-line flag is not restricted. |
-chromePath "/usr/bin/google-chrome" |
-baseUrlOverride <url> |
Base URL that the recording's relative URLs resolve against. On its own it does not switch the site; pair it with -urlRebaseFrom for a full rebase. See URL Rebase. |
-baseUrlOverride "https://staging.acme.com/" |
-urlRebaseFrom <url> |
The recorded site base (must equal the recording's runs[0].baseUrl). Requires -baseUrlOverride. |
-urlRebaseFrom "https://www.acme.com/" |
-startUrlOverride <url> |
Start page instead of the first recorded navigation. Relative values resolve against the effective base URL. Command line only (no environment variable, run-parameters field or UI). Without it, the start page is the first enabled step's URL; runs[0].startUrl is used only when no step has one. |
-startUrlOverride "/login" |
-networkPolicy <path> |
Network policy file: allow, block, fake, rewrite and inject rules (authentication tokens). See Authentication and Network Policy Rules. |
-networkPolicy "C:\Auth\network-policy.json" |
-identitySerialNo <N> |
First authentication token (<folder>\<N>.json) for the policy's token-injection rules. |
-identitySerialNo 21 |
-identitiesFolder <folder> |
Folder holding the tokens 1.json, 2.json, ... (relative paths resolve against the recording's folder). |
-identitiesFolder "C:\Auth\auth" |
-networkPolicyDefaultAction <allow|block> |
Action for requests no policy rule matches. Default: the policy's own value, else allow. |
-networkPolicyDefaultAction block |
-lighthouse / -lighthouseUrl <url> |
Runs a Lighthouse audit after the replay (the lighthouse CLI must be on PATH); results go to Runs\Summary\lighthouse.*. The URL must be a plain http(s) address; otherwise the audit is skipped (Lighthouse skipped). |
-lighthouse |
4. Run Settings (Speed, Start, Waves, Sync Points)
Run settings control timing only; they never change the recorded steps. Set them with flags, or with a run-parameters.json file. Runs-Manager sets them in the Load run page and writes the matching flags or file for you.
In Runs-Manager: "Synchronization and timing"
The Load run page's Synchronization and timing (optional) panel sets the same options:
- Arrival: Max burst (
gate, the default), Paced, or Random arrival (noGate).
- Paced: pick the number of waves (only counts that divide your users exactly are offered, for example 5 waves × 3 users), then Every N s ± J s jitter (interval 0.1-3600 s; jitter at most half the interval).
- Sync points: Synchronized (
honor) or Not synchronized (skip).
- Steps timing: Recorded timing, Change speed (×0.5 to ×3, in steps of 0.25), or Randomize timings (10-100%, default 25%).
- Approval runs always replay the recorded timing; run settings never apply to them.
Run now passes the settings as flags (with -runParameters none). Cloud and on-prem runs carry them in run-parameters.json inside input.zip.
Speed and Jitter
-replaySpeed X: recorded waits are divided by X. Any positive number is accepted and then clamped to 0.2-5 (a warning is logged). Default: 1.
-replaySpeed random -replayJitter J: speed stays 1 and each recorded wait is lengthened by a random 0 to J% (clamped to 400%). -replayJitter has no effect without random.
- Applied clamps are logged as
[loadtest][run-parameters] WARNING: ... and reported as runControl.limitsApplied in runs_summary.json.
- The Runs-Manager page offers speed 0.5-3 and jitter 10-100% for every run type; cloud runs are also checked on the server (Cloud runs take a replay speed between ×0.5 and ×3. / Cloud runs take event jitter up to 100%.). A speed other than 1 cannot be combined with jitter: Choose either a replay speed or event jitter, not both.
Start Modes
gate (default): all users wait at the automatic StartOfScript point and start together. A single local user has no gate.
noGate: no start gate; each user starts as soon as its browser is ready.
paced: the gate opens first, then users start in waves: -waveSize users every -waveInterval seconds.
- The first wave starts 1 second after GO; wave
w starts at GO + 1 s + w × interval. A user's wave is its position in the run divided by the wave size (shard-run and cloud runs count positions across the whole run).
-waveJitter J spreads each user randomly within ±J seconds of its wave time. J may be at most half the interval. Wave 0 is only moved forward, so nobody starts before the first wave.
- Waves re-form after every synchronized sync point: when a script sync point gives GO, each user continues at the GO time + its wave offset (same wave and jitter as at the start, without the 1 s lead). After a timeout release, each user counts its offset from its own release time. Skipped points add no delay.
- Long waits are split into chunks of 60 seconds or less, so a long schedule never fires early. The reports show
PacedLanding and PacedRelease:<point> rows; these are pacing rows, not sync points.
Wave flags rules: wave flags without -startMode mean paced; -startMode paced needs both -waveSize (1-100000) and -waveInterval (above 0, at most 3600 s); wave flags with gate or noGate are an error.
Wave budget (Runs-Manager): a paced run may last at most 3× the script's own time, or 4× when the run is slowed down (a speed below 1, or any jitter). The script's time is the approved timing's execution time (else the recorded duration, at least 1 minute). The run's length is estimated as: the time until the last wave starts (1 s + (waves − 1) × interval + wave jitter), plus the script time stretched by the speed or jitter, plus the same wave spread again for each synchronized sync point. For example, a 5-minute script with 1000 users in waves of 100 fits with a 66 s interval and does not fit with 67 s; one synchronized sync point adds about 10 minutes.
- The page shows Last wave at X min, run ends at about Y min of Z allowed., or Too long: the run ends at about X min, Z allowed. Use fewer waves or a shorter interval.
- The limit is enforced for Run now and on-prem Prepare on the page, and on the server for cloud runs. It is not enforced for Run later, plain CLI runs, or
run-parameters.json files you write yourself.
Script Sync Points
-syncPoints honor (default) waits at the script's sync points. -syncPoints skip passes every script sync point immediately (not an error: the step reports show skipped, and sync_users_report.tsv shows ignored / SYNC_POINTS_SKIPPED_BY_RUN_SETTINGS). The automatic start gate is not affected.
run-parameters.json
{
"version": 1,
"parameters": {
"replaySpeed": "random",
"replayJitter": 25,
"startMode": "paced",
"pacing": { "usersPerInterval": 100, "intervalSeconds": 10, "jitterSeconds": 0 },
"syncPoints": "honor"
}
}
replaySpeed: a positive number or "random". replayJitter: integer 0-10000 (used only with "random").
startMode: "gate", "noGate" or "paced"; "paced" requires pacing (usersPerInterval 1-100000, intervalSeconds above 0 and at most 3600, jitterSeconds 0 to half the interval).
syncPoints: "honor" or "skip".
- Version 2 adds a URL rebase:
"rebase": { "from": "https://recorded.example/", "to": "https://target.example/" }. A rebase requires version 2 or 3, and version 2 requires a rebase, so older engines fail safely instead of hitting the wrong site.
- An invalid file fails the run with exit code
1. A missing file (when not passed explicitly) is not an error.
Version 3: Request Capture and Optional Rebase
{
"version": 3,
"parameters": {
"rebase": { "from": "https://recorded.example/", "to": "https://target.example/" },
"httpCapture": {
"enabled": true,
"domains": "tested",
"types": ["xhr", "html"],
"parts": ["headers", "cookies", "data"],
"maxGB": 10
}
}
}
Version 3 supports httpCapture and an optional rebase, alongside the timing fields above. Capture is off for regular runs unless enabled. An httpCapture object enables capture unless enabled is explicitly false. All its fields are optional:
| Field | Values | Default when capture is enabled |
enabled | true or false | true |
domains | "tested", "tested+sub", "all", or a domain list | "all" |
types | "all", or a list of xhr, static, html, images, videos, others | All types |
parts | "all", or a list of cookies, headers, data | All parts |
maxGB | Number above 0 and at most 1000, per user | 10 |
Lists accept arrays or comma-separated strings. See Request Capture for data-safety warnings and capture limits. Every worker that receives the file captures the same way, so the speed cost applies to each of them: see the speed note.
Which file is used:
-runParameters <path>: that file (missing file = error).
-runParameters none: no file, even if one sits beside the recording. Runs-Manager's local runs and the Run later command use this, followed by the run-setting flags.
- No flag,
-replay <script.json>: run-parameters.json beside the recording, if present.
- No flag,
-zipInput: only if the zip itself contains run-parameters.json at its root. A leftover file in the extraction folder is ignored.
Precedence (flags win): if -replaySpeed or -replayJitter is given, the file's speed and jitter are ignored. If any of -startMode, -waveSize, -waveInterval, -waveJitter is given, they replace the file's start mode and pacing as one group. -syncPoints overrides the file's syncPoints. -baseUrlOverride turns off the file's rebase. Each -httpCapture* flag overrides its corresponding capture field and enables capture unless -httpCapture off is also supplied. The effective settings are logged as [loadtest][run-parameters] ... lines.
5. Sync Points
A sync point is a recorded step (syncPoint / meetingPoint) where users wait for each other and then continue together. An unnamed point is named SyncPoint-<step number>. A point can have a JavaScript condition; when it is false, that user skips the point. Besides the script's points, there is an automatic StartOfScript gate (see Start Modes).
- Inside one process (plain CLI, including the Run later command):
load-test.exe synchronizes only the users of its own process. GO is given when all of them arrive, or 90 seconds after the first one arrives (recording setting runs[0].localSyncPointTimeoutSeconds).
- Through Runs-Manager (Run now, and on-prem with "Synchronize runners in task manager"): users report to the Runs-Manager orchestrator, which gives GO when the expected number of users has arrived. The wait limit is 300 seconds (recording setting
runs[0].cloudSyncTimeoutSec). Runs-Manager is localhost-only, so only runners on the same machine can reach it, through localhost or 127.0.0.1 (a hostname or LAN IP is refused even on the same machine).
- Timeouts release, they do not abort: when the wait limit passes, waiting users continue (
timeout_released, shown as a warning).
- In cloud runs, GO is given when all of the run's workers have arrived. A worker whose machine already stopped counts as arrived at every point, so it never holds the others.
- Transient errors are retried: HTTP 5xx, 408, 429, timeouts, unreadable responses, and any answer that did not come from the WebLoad server (for example a tunnel or proxy error page). A failed GO poll is retried after 2, 4 and 8 seconds and then every 15 seconds (each randomized by ±50%), until the wait limit; each poll is cut after 10 seconds. A failed arrival report is retried for up to 2 minutes. Only a refusal or an abort answer from the WebLoad server itself aborts that user.
- When the limit passes the user is released with Sync timeout after N seconds at point 'X': released without the missing users. The failure kind is
saas_unreachable when the server did not answer in the last 15 seconds, otherwise wait_timeout.
- Users that end early (failure, crash, or a skipped conditional point) report "arrived without waiting" at the points they never reach, so the others are not held until the timeout.
- Results:
sync_users_report.tsv per user and in Runs/Summary/, with the status of each user at each point: go, timeout_released, abort, ignored (sync points skipped by the run settings), skipped, skipped_arrival, ended_arrival, plus the PacedLanding / PacedRelease pacing rows. sync_polls.tsv lists the individual polls. runs_summary.json holds the run's runControl and syncPoints counts.
6. Databank, Authentication & URL Rebase
Databank
- The databank is the recording's
parameters.users array. -databankFile <file.json> replaces it (the file may be {"users":[...]} or {"parameters":{"users":[...]}}).
- A zip prepared by Runs-Manager carries its databank (
env/vars/zip/databank-reference.json) and it is used automatically; an explicit -databankFile wins.
-useDatabank selects the first user: N (1-based; out of range is an error unless -recycleUsers), random, worker (from FWL_WORKER_ID, RUN_SLOT or FWL_RUN_ID), or run (from FWL_RUN_ID or RUN_SLOT). worker and run are meant for orchestrated runs and fail if those variables are missing. When the recording has no databank users, -useDatabank is ignored with a log line, and every user replays the recorded values.
-runXUser N runs N users from the selected one onward. Without -recycleUsers the run stops at the end of the databank (Databank users exhausted. Running K user(s).); with it, users wrap around.
Authentication Injection
Authentication injection assigns a prepared session token to each virtual user. You supply the tokens, for example from your test environment, and WebLoad injects them into requests to the exact tested host. Use a recording that starts after login; injection does not remove recorded login steps. Distinct tokens allow different authenticated identities; reusing tokens can make users share a session.
In Runs-Manager (Load run → Authentication injection (optional)):
- Choose a Token file: a
.csv or .tsv (one token per row; choose First row contains column names and the Token column; a column named value, token, accessToken, bearer or similar is suggested), or a .zip of token files.
- Choose Inject as:
- Header: default name
Authorization, template Bearer {0}. Set or replaced on every request.
- URL parameter (the default): default name
i, template {0}. Added or replaced on every request.
- Cookie: default name
id, template {0}. A cookie for the tested host, set before the replay starts and again after each browser-context reset.
In the Value template, {0} stands for the token.
- Check the Main tested domain shown (from
runs[0].baseUrl, else the first step's URL). Only requests to exactly that host get the token; subdomains and third-party sites get nothing.
- Press Use authentication. The page shows Authentication ready: N token(s). Changing the mode, the header choice or the column discards the prepared package; Remove authentication deletes it.
- Set Start at (1-based). The page shows which tokens the users get, for example Users 1–50 use tokens 11–60 of 100, and warns when tokens wrap around and are used more than once.
The package is saved beside the recording, in AuthPackages\auth-<id>\: a network-policy.json with one injection rule and auth\1.json … N.json (each {"value":"…"}). The uploaded file itself is not kept.
Which token each user gets:
- Run now, Run later and approval runs use the package as it is: user
k gets token Start at + k − 1, wrapping after the last token.
- Cloud and on-prem zips are renumbered so the Start at token is
auth/1.json. In the cloud each worker runs one user, and worker K gets the K-th token from Start at (wrapping). With more workers than tokens, users share sessions. Cloud workers load the zip's network-policy.json automatically.
- Shard-Run starts each shard at token
((userStart − 1) mod tokens) + 1.
Token file rules: in a CSV or TSV, blank rows and empty cells are skipped, so token N is not always row N. Files inside a zip are taken in alphabetical order (10.json comes before 2.json). A JSON token file may hold value, token, identityToken, accessToken or secret; otherwise its whole text is the token. Local storage, form logins and token refresh are not supported.
On the command line:
- Tokens are injected by the network policy's token rules. Pass the policy with
-networkPolicy <path> (or FWL_NETWORK_POLICY_PATH). A network-policy.json inside a zip you replay yourself is not loaded automatically: pass -networkPolicy <extraction folder>\network-policy.json (its auth\ folder sits beside the recording, so -identitiesFolder is not needed).
- The first token is
-identitySerialNo N (or FWL_IDENTITY_INJECTION_SERIAL_NO, a whole number above 0); it is required when the policy injects tokens. Tokens are read from <folder>\<N>.json, where the folder is -identitiesFolder, else FWL_IDENTITY_INJECTION_FOLDER, else the rule's own folder, else identities (relative to the recording's folder).
- Users in one process take consecutive tokens (N, N+1, ...), wrapping after the last consecutive file (
1.json, 2.json, …; a gap ends the list). This needs the folder from -identitiesFolder or the rule's own folder; with only FWL_IDENTITY_INJECTION_FOLDER or the default, every user in the process uses the start token. The console shows identity round-robin enabled: start=S, cap=C, users=U and one user=U identitySerialNo=N line per user.
- Errors stop the run before the browser starts (exit code
1), for example Identity file not found for rule '…', or FWL_IDENTITY_INJECTION_SERIAL_NO is required by at least one testedDomainFile identity rule (pass -identitySerialNo).
In the results: network-policy.applied.json (tokens redacted; it records the start token only) and network-policy.decisions.tsv (one row per request, with its identitySerialNo) are written to the output folder. With URL parameter injection, the finalUrl column of network-policy.decisions.tsv contains the tokens in clear text. The cloud review shows Authentication: N identities · start at S · <host>.
URL Rebase (Run a Recording Against Another Site)
A rebase replays the same recording against another site, for example a recording made on production run against staging, without editing the recording.
In Runs-Manager (Load run → Change domain / site (optional)): the panel shows the Recorded site. Enter the Target site (an absolute http(s) URL with no credentials, query or fragment) and press Validate target domain.
- Ownership: you must be signed in, and the target host (or a parent domain) must have an enabled, unexpired domain license. Until then: Validate the target domain before running this recording there. Runs wait while validation is in progress.
- The target is used by the approval replay, Run now, Run later (it adds
-baseUrlOverride and -urlRebaseFrom), on-prem Prepare and the cloud review (Site rewrite: from → to). Changing the site needs no new approval: the approval covers the recording, not the site.
- Only the recorded host moves. Other hosts of the same site and third-party URLs stay where they are; the page lists the recorded same-site hosts that stay.
- Client certificates: a recording that uses a client certificate cannot change domain until the certificate is updated for the target (This recording uses a client certificate. Update the certificate for the target domain before changing domains.). A path-only change on the same origin is allowed.
- Which recordings can be rebased: the recording needs
runs[0].baseUrl and no absolute URLs for its recorded host. Otherwise: This recording has no runs[0].baseUrl. Re-save it before changing its domain or site. or This recording contains absolute URLs for its recorded host. Re-save it once before rebasing. Re-saving changes the recording, so it needs a new approval.
On the command line:
- Full rebase:
-baseUrlOverride <target> -urlRebaseFrom <recorded base>, or a version 2 run-parameters.json with rebase. The recorded base must equal the recording's runs[0].baseUrl (The URL rebase source '…' does not match the recording base URL '…'.). Network policy rules and the Lighthouse URL (unless -lighthouseUrl is given) follow the target, and a license file beside the recording that does not allow the target is ignored. A client certificate for another origin stops the run (without a rebase it is only a warning). The command line does not check domain ownership.
-baseUrlOverride alone only changes the base that relative URLs resolve against; absolute URLs still go to the recorded site, except an absolute runs[0].startUrl, which moves to the new base. It also turns off a rebase in run-parameters.json.
-urlRebaseFrom without -baseUrlOverride is an error. Targets must be absolute http(s) URLs without credentials, query or fragment. Rebase errors start with [loadtest][url-rebase] error: and exit with code 1.
- Older recordings that still contain absolute URLs for the recorded site must be opened and saved once before they can be rebased.
- In the results: the log line Using replay base URL: X (CLI override | run parameters rebase | runs[0].baseUrl), and
options.baseUrlOverride, options.urlRebase and options.startUrlOverride in runs_summary.json.
Network Policy Rules (Block, Fake, Rewrite, Inject)
A network policy file decides, request by request, what the replay may reach. Write it by hand and pass it with -networkPolicy (CLI and on-prem runs). Runs-Manager's local and cloud runs accept only the authentication package it builds itself (Authentication Injection).
{
"defaultAction": "allow",
"rules": [
{ "ruleId": "no-analytics", "match": { "rootDomain": "analytics.example" }, "action": "block" },
{ "ruleId": "api-to-staging", "match": { "host": "api.myapp.com", "pathPrefix": "/v2" },
"action": "rewrite", "rewrite": { "host": "api.staging.myapp.com" } },
{ "ruleId": "stub-payments", "match": { "host": "pay.myapp.com" },
"action": "fake", "fulfill": { "status": 200, "contentType": "application/json", "body": "{\"ok\":true}" } }
]
}
- The file may be the policy object itself, or wrap it as
{"networkPolicy": {…}}. defaultAction is allow or block (-networkPolicyDefaultAction overrides it).
- Actions:
allow, block, fake (answer with fulfill: status, content type, body, headers), and rewrite and/or inject (for example "rewrite+inject").
- Matching: every field given in
match must match. host is exact (no wildcards); rootDomain matches the domain and its subdomains; pathPrefix matches the start of the path (not case-sensitive); method matches the HTTP method. There is no regular-expression or query matching. The first matching rule in file order wins.
- Rewrite (
rewrite: scheme, host, port, pathPrefixFrom / pathPrefixTo, preservePath and preserveQuery, both true by default) sends the request to another address. It changes the request only: the browser's address bar, location, cookies and CORS origin stay the original ones, and there is no redirect.
- Rewrites stay on validated domains: in cloud and on-prem runs, a rewrite to another host is checked against the run's license like the original request (main-frame pages: your validated domains; other requests: those or the allowed third parties). A rewrite to any other domain, including one that is disabled or not validated, is blocked (
net::ERR_BLOCKED_BY_CLIENT in http_report.tsv). Local runs check no domain.
- Results (output folder):
network-policy.applied.json, network-policy.decisions.tsv (originalUrl and finalUrl per request), network-policy.blocked.tsv, and network-policy.generated.json, an allow-all template of every host the run reached that you can start a policy from. The log line [loadtest][network-policy] source=…, defaultAction=…, rules=N shows what was loaded.
7. Zip Bundles, On-Prem and Commands Built by Runs-Manager
Replaying input.zip
-replay -zipInput <file.zip> extracts the zip (to -unzipFolder, default: the zip's own folder), finds recording.json (or the only JSON file), and writes results under the zip's folder unless -outDir is given.
- Picked up automatically: the recording,
run-parameters.json (root of the zip), the packaged databank, license files beside the recording, and captcha licenses.
- Not picked up automatically:
network-policy.json (pass -networkPolicy), the first token (-identitySerialNo), the first databank user (-useDatabank), and the number of users (-runXUser).
Run later (Local Runs)
The Local runs panel shows a command you can copy and run on this machine, for example:
.\load-test.exe -replay "C:\Recordings\checkout.json" -runXUser 10 -outDir "C:\WebLoad\LocalRuns\local-NEW" -recycleUsers -runParameters none -startMode paced -waveSize 5 -waveInterval 10
It always contains -runParameters none, so a run-parameters.json beside the recording never overrides what you chose; your run settings follow as flags (only non-default values). With authentication it adds -networkPolicy, -identitySerialNo (the Start at token) and -identitiesFolder from the auth package; with a rebase it adds -baseUrlOverride and -urlRebaseFrom. This command synchronizes sync points inside its own process only (90 s limit), while Run now synchronizes through Runs-Manager (300 s limit).
On-Prem (Prepare, input.zip, Runner Command)
The on-prem flow first Prepares OnPremRuns\onprem-<taskKey>\input.zip: the recording, databank, run settings (run-parameters.json, including any rebase), uploads, certificates, a 12-hour local run license, and the auth package (network-policy.json + auth/1.json ... auth/N.json, renumbered from the Start at token). Changing any of these settings afterwards requires a new Prepare. The page then shows the runner command, for example:
.\load-test.exe -replay -zipInput "C:\WebLoad\OnPremRuns\onprem-mytask\input.zip" -runXUser 20 -cloudTaskKey mytask -runSlot $slot -useDatabank $db -networkPolicy "C:\WebLoad\OnPremRuns\onprem-mytask\network-policy.json" -identitySerialNo $token -recycleUsers
$slot: the machine number, starting at 1.
$db (shown when there is a databank): the first databank user of that machine, in steps of users per machine (1, 21, 41, ...).
$token (shown when authentication is used): the first token of that machine, counted in the zip's renumbered tokens and wrapped by their count: $token = (((slot - 1) × users per machine) % tokens) + 1. The start token file must exist (a missing auth/<$token>.json stops the run); load-test wraps only the tokens after it. Example: 5 tokens, 20 users per machine: machine 2 uses $token 1, not 21.
- Before Prepare there is no zip yet: the command shows placeholders. Prepare first, then copy it.
- With "Synchronize runners in task manager", choose
localhost or 127.0.0.1 as the sync host.
- Copy
input.zip to the runner and update the -zipInput path. -networkPolicy points at the zip's folder, because the zip extracts beside itself by default.
- Run settings and the Start at token are already inside
input.zip, so the command carries no run-setting flags. Keep the other flags as generated.
- With Synchronize runners in task manager checked, the command also carries the Runs-Manager address for sync points (same-machine runners only, see Sync Points). Without it, each runner synchronizes only its own users.
- Paced waves are counted per process with this command (each machine starts at wave 0). Use
shard-run.exe if waves must count across machines.
Run in shards writes shards.json next to input.zip and shows .\shard-run.exe -shard "<shards.json>" -input "<input.zip>" -shard-id X; change X per machine, starting at 1. See Shard-Run.
8. Request Capture
A run can save request details for each user, including headers, cookies and bodies, subject to the filters and limits below. Use it to find data bugs that timings cannot show: users who see each other's data under load, errors that answer 200, answers that change as the run goes on (data used up, prices, stock).
- Where: each user run writes its own folder,
Runs/User<N>/http_capture/:
index.tsv: one row per request, with its URL, status, the step it followed (afterStep) and the files of its headers and bodies;
store/: every body and header set, saved once and named by its SHA-256 hash, so the same file name always means the same bytes, across users and runs;
summary.json: what was written, and what was left out and why.
In http_report.tsv, the captureSeq column points to the row in index.tsv.
- Settings: off by default for regular load runs; domains (the tested domain, it and its subdomains, specific domains, or all); types (XHR, static, HTML, images, videos, others); parts (cookies, headers, data). Everything is captured by default once the capture is on. As flags:
-httpCapture on, -httpCaptureDomains, -httpCaptureTypes, -httpCaptureParts, -httpCaptureMaxGB. Cloud and on-prem workers read the same settings from run-parameters.json ("version": 3, parameters.httpCapture) inside input.zip; Runs-Manager writes it from the run page's Request capture (optional) section.
- Approval runs always capture the relevant calls: XHR and pages, with every part, on the tested domain. Capturing everything slowed the approval's steps by up to 56%, and its timing is the baseline later runs are compared with. That capture is the reference: compare any later run with it, file name by file name.
- In the recorder: Run properties > Capture requests (on by default, saved for this recorder, not in the recording) captures while you record and replay there, so the recording assistant can read what a step sent and got back.
- Size and safety: each user's capture stops writing bodies at its write cap (10 GB by default); its rows go on and say why a body is missing. Writing also stops when the drive has less than 2 GB free, and a slow disk never holds up the replay. Capture errors are handled separately from replay; capture files may be incomplete. On big runs, capture only XHR and HTML on the tested domain. The run page estimates the size from the approval run's capture.
- Clear text: the files hold the tested system's traffic as sent and received, cookies, tokens and test data included. There is no automatic redaction. Protect local files and review them before sharing. They travel with the run's results, including cloud results, and an AI assistant with access to these artifacts may send relevant content to its provider.
- Not captured: WebSocket frames (planned), the body of an event stream that never ends, redirect bodies, requests made by service workers, and answers the browser takes from its own cache.
- What it did: every run writes
Runs/Summary/http_capture.json, with the capture on or off. It records what was asked for, how much the capture may have slowed the run (timingEffect: none, low or high), what was and was not captured, and what each user's capture holds (rows, size, anything left out and why). AI agents read it first.
Capturing slows the run it records. The more you capture, the slower your users go: each body WebLoad saves travels over the same connection the page's own requests wait on. The steps take longer, and your system receives fewer requests per second than the number of users suggests. Measured on a page with 30 images and 60 data calls (the steps' time per user):
| What is captured | 5 users | 1 user |
| Nothing | 3.6 s | 2.2 s |
| Headers and cookies only | +8% | |
| XHR and pages, tested domain (what approval runs capture) | no measurable cost | +19% |
| Everything (the default once capture is on) | up to +140% (2.4× longer) | +56% |
Capture only what the question needs: headers for what a step sent, XHR and pages for data bugs, images and static files only to debug those, on a short run with few users. Keep the capture off for runs whose result is a time or a capacity (baseline, step-up, breaking point), and do not compare the timings of runs captured differently.
9. Vitals, Snapshots & Metrics Tuning
Control the overhead of telemetry collection for massive scale runs.
| Option |
Description |
Default |
-noVitals |
Disables browser vitals and the host and browser runtime metrics (CPU/RAM sampling). |
Enabled |
-maxVitalsPerMinute <N> |
Caps the sampling rate of vitals per user. 0 stops all vitals except the ones a step forces. |
60 |
-runtimeMetricsIntervalMs |
Interval for browser resource sampling (CPU/RAM). 0 turns this sampling off. |
5000ms |
-noMousePointer |
Hides the drawn mouse pointer (visible only with -withUX). |
Shown |
-noBrowserSnapshot |
Disables the final automatic snapshots and every recorded snapshot step (screenshots, DOM, trace) for maximum throughput. Error snapshots stay on; add -noErrorSnapshots to turn them off too. |
Enabled |
-noErrorSnapshots |
Disables the snapshots taken when a step fails. |
Enabled |
-snapshotScreenshotMode <mode> |
auto, viewport, fullPage (also written full_page or full-page) or both. A value other than auto overrides each snapshot step's own mode. |
viewport |
--video / -video |
Records a video per user. |
Disabled |
10. The Deterministic Engine
Futuristic WebLoad differs from traditional tools by keeping replay deterministic: the engine executes the recorded steps in order, and it does not "self-heal", retry, or make AI-like decisions during replay. If a selector resolves to zero elements (or multiple elements), replay fails fast so you can fix the script or the environment instead of masking the issue.
Sync Points
Users can be configured to "Wait for Go" at specific steps. This lets many users click "Submit" at the same moment, creating a true peak-load spike. With paced waves, users leave a sync point in waves again. See Sync Points for how synchronization, timeouts and retries work.
11. Environment Fallbacks
| Variable |
Fallback For |
FWL_CLIENT_CERT_PASSWORD | -clientCertPassword |
FWL_CAPTCHA_BYPASS_LICENSE | -captchaBypassLicense |
FWL_NETWORK_POLICY_PATH | -networkPolicy |
FWL_NETWORK_POLICY_DEFAULT_ACTION | -networkPolicyDefaultAction |
FWL_IDENTITY_INJECTION_SERIAL_NO | -identitySerialNo |
FWL_IDENTITY_INJECTION_FOLDER | -identitiesFolder |
PLAYWRIGHT_BROWSERS_PATH | Browser location (otherwise the bundled .playwright folder is used) |
FWL_WORKER_ID, FWL_RUN_ID, RUN_SLOT | -useDatabank worker / -useDatabank run (set by Shard-Run and cloud workers) |
Runs-Manager and Shard-Run find load-test.exe through FWL_LOADTEST_EXE when it is set. Runs-Manager then tries FWL_REPLAYER_DIR (a folder that holds load-test.exe), and falls back to its own installation when FWL_LOADTEST_EXE points to a missing file; Shard-Run treats a missing file as an error.
FWL_RUNS_MANAGER_LOG_DIR moves Runs-Manager's log folder (default %LOCALAPPDATA%\FuturisticWebLoad\runs-manager\Logs).
12. Practical Examples
Multi-Environment Testing
Run the same recording.json against different environments without modifying the script (full rebase from the recorded site):
// Test against Staging
load-test.exe -replay recording.json -baseUrlOverride "https://staging.myapp.com/" -urlRebaseFrom "https://www.myapp.com/"
// Test against Production
load-test.exe -replay recording.json -baseUrlOverride "https://prod.myapp.com/" -urlRebaseFrom "https://www.myapp.com/"
Paced Ramp-Up
Start 100 users in waves of 10 every 15 seconds, ignoring any run-parameters.json:
load-test.exe -replay recording.json -runXUser 100 -recycleUsers -runParameters none -waveSize 10 -waveInterval 15 -waveJitter 3
Extreme Load Optimization (10k+ Users)
When scaling to massive numbers, disable all heavy telemetry to minimize node CPU/RAM usage:
load-test.exe -replay recording.json -runXUser 200 -noVitals -noBrowserSnapshot -noErrorSnapshots
Longevity & Soak Testing
Keep the load constant by recycling databank users indefinitely:
load-test.exe -replay recording.json -runXUser 50 -recycleUsers
Headful Debugging
Watch exactly what the browser is doing during a failure (headful mode):
load-test.exe -replay recording.json -withUX -replaySpeed 0.5
Using External Databanks
Inject a fresh dataset without touching your main script file:
load-test.exe -replay recording.json -databankFile "prod_users.json" -useDatabank random
Replay From a Zip Bundle (Advanced)
If you received a zipped bundle (for example from a CI artifact), you can replay directly from the zip. The tool extracts the zip and searches for recording.json inside it.
load-test.exe -replay -zipInput "C:\Artifacts\run-bundle.zip" -runXUser 20
If the zip contains authentication tokens, also pass -networkPolicy "C:\Artifacts\network-policy.json" -identitySerialNo 1 (see Authentication Token Injection).