Safety on production#
CrushTest is made to be run against production servers. It does so with these rules.
Before the run#
- The preflight checks everything first and changes nothing (Running a test). It reads the server's own limits: a default CrushFTP server bans an address that opens 100 connections in 10 seconds (3 for HTTP) and allows 100 connections per address. A run whose caps would trip a ban or a lock does not start.
- Production servers must be confirmed: the run starts only after you type the server's name.
- A dry run shows what a run would do and makes nothing.
- A time window (not before, not after) keeps the load inside a maintenance window: the agents stop by themselves at its end.
During the run#
-
Caps on every load machine: sessions, new connections a second, operations a second, MB a second. A machine never goes past them, whatever the controller asks.
-
Guards stop the run by themselves. The run then says why, in the job and in its results:

Guard Default errors above 5% latency p99 above 10 times its warm-up value, and above 10 s server CPU above 95% for a minute server disk less than 2 GB free (from a monitor, or the server's disk alert) a ban at once, when the server refuses a load machine's connections as banned The server CPU guard reads the CPU of the server's whole machine, as the server reports it. A load machine on the server's own machine counts in it too, and can stop the run by itself: run the load elsewhere.
-
Abort always works, from the UI or Ctrl-C, and stops every load machine at once. Closing CrushTest's window during a run aborts it the same way.
-
The dead-man switch: an agent that stops hearing from the controller stops its load.
After the run#
- CrushTest deletes only what its ledger says it made. Every file it uploads and every user it makes is written to the ledger first, and only those are removed. A user of the same name that CrushTest did not make stops the run and is left untouched.
- Test users expire a day after the run, even if nothing removes them.
- An unfinished ledger (CrushTest was killed during a run) blocks the next run against that server until Clean up what CrushTest made (in the server's editor, or on the License page without a license) has removed what was left. Clean-up works without a license.
Credentials#
- Passwords and tokens are sealed in
prefs.XMLwith a key (crushtest.key) only your account can read. The UI never shows them back. - TLS: every connection checks its certificate as the server's TLS mode says; nothing is pinned on first use (Servers and TLS).
- Agents take orders only over the link the pairing code opens, only from a licensed controller, and only to the addresses
--allowlists. They never write files the controller names.
What the server's administrators see#
Logins of the test users from the load machines' addresses, uploads and deletes in their folders, and admin API reads (and, with CrushTest's own test users, the user changes) from the controller's address. Test users carry the name prefix you set, so they are easy to tell apart.
What CrushTest sends elsewhere#
Nothing but the load and its admin API calls to your servers, and the daily license check-in (Licensing), which carries nothing about your tests.