LoadStride documentation
Learn to write API and browser performance tests, choose a workload and share useful results.
On this page
LoadStride is an MIT-licensed performance-testing tool for JavaScript teams. Use async HTTP scripts or optional Playwright browser flows, then inspect console, HTML and JSON results. These guides describe v0.2.0, including configurable browser concurrency and measured capacity calibration.
Start with a local test
Follow Getting started to install the npm package, start a demo API and run ten iterations with two virtual users. You do not need to clone the tool repository or install browser dependencies for HTTP testing.
Next, learn configuration and how to write an API test. Use VUs and load models to distinguish concurrency from arrival rate.
Choose your workflow
| Task | Guide |
|---|---|
| Record a visible browser flow and replay it | Browser testing |
| Replay captured network requests as HTTP traffic | HAR import and login |
| Fail a run when performance or checks miss a target | Metrics and thresholds |
| Measure endpoints or business transactions | Endpoints and transactions |
| Measure browser VU headroom and estimate hardware needs | Browser capacity and sizing |
| Save and share completed run results | Reports and report hosting |
| Publish build reports without hiding test failures | Jenkins and CI/CD |
| Diagnose setup, recording or load problems | Troubleshooting |
Understand the example commands
Installed package: run npx --no-install loadstride in your application’s
directory after installing loadstride. Save scripts as .mjs, or configure
your project for ES modules. The package includes a starter-kit under
node_modules/loadstride/.
Source checkout: examples using npm run test:load, npm run browser:run,
node bin/loadstride.js or top-level starter-kit/ paths run inside a clone of
the LoadStride repository. These scripts belong to the tool, not to your application’s
package.json. Reference pages label this distinction explicitly.
Current scope
Normal runs use one Node.js process; calibration launches a fresh process for each trial and browsers spawn child processes. Distributed workers are not included. HTTP capacity depends on the script, generator and target; no universal maximum VU count is claimed. Browser mode supports a single fixed-VU workload with an explicit configurable ceiling (default 20 VUs). Browser calibration requires macOS/Linux; hardware projections remain unvalidated. Streaming exporters and Allure export are not included.
The report server provides read-only access to saved reports. Shared deployments need external authentication/TLS. These reports summarize runs; they are not a time-series monitoring service.
Help and contributions
Use GitHub issues for bugs and feedback. Include your version, Node/OS details and a small reproducible example. For private vulnerability reporting, follow the security policy. See releases and contribution instructions before proposing a change.