WebStress is intentionally designed for authorized performance testing.
Controls implemented:
--authorizedis mandatory for execution.- The target host must exactly match
target.allowed_hosts. - Public targets can be configured to require an ownership token before load begins.
- Redirects to non-allowlisted hosts are blocked.
- Hard RPS and concurrency limits are validated before the run.
- Runtime error/timeout/p99/dropped thresholds can automatically stop load.
- Response bodies are capped by
max_body_bytes. - Proxy environment variables are ignored unless
use_proxy_envis explicitly enabled. - The live dashboard may bind only to loopback/localhost.
- Report generation redacts request bodies, authorization/cookie/API-key style headers and ownership tokens.
- Base URLs with embedded credentials are rejected.
Operational guidance:
- Prefer staging or a production-like isolated environment for destructive breakpoint tests.
- Coordinate test windows with application, network, database, CDN/WAF and observability owners.
- Start with smoke/baseline stages and ramp gradually.
- Set abort thresholds before the test, not after it has already damaged service quality.
- Verify the load generator's CPU/network/file-descriptor capacity and watch
droppedload. - If testing through a proxy/CDN/WAF, confirm that component is also in the authorized scope.