Load Kit
The Load Kit is the tooling that puts load on a Robotelos server and says what happened. Its command is robotelos-load. It opens many connections, sends numbered events at a fixed rate, and checks that every follower receives every event once and in order. It reports the delivery latency from the intended send time. For a deployed server it can also judge a run by fixed Prometheus queries against a stored baseline.
Use it to check a change to the delivery path, to compare two builds, or to find out whether a server holds many idle connections. It is a developer tool: the CLI, MCP and console do not offer it.
Before you start
robotelos-load is not shipped in a release. You run it from a clone of the repository:
- The Go toolchain named in
go.mod. Run it withgo run ./protocol/cmd/robotelos-load, or build it withgo build -buildvcs=true -o robotelos-load ./protocol/cmd/robotelos-load. Build with version information if the runs may become a baseline: a run without a commit is refused. - For a judged run on the local stack: PowerShell 7 (
pwsh) and Docker, to runscripts/judged-stack.ps1. - For a run against another server: its address, a bearer token for it, and (for a judged run) the address of the Grafana that holds its metrics.
A first run needs only the Go toolchain.
Pages
- Quick start: a first run with no server, its output and its exit code.
- Scenarios and transports: what each scenario measures, and how to run it against a served target.
- Judged runs and baselines: the local stack, the target file, suites, accepting a baseline, and the limits.
- Read the results: verdicts, exit codes, files and links, and what to do on a failure.
- Agents and CI: run it without a person, and what never to commit.
- Reference: every flag, variable, file key and record field.
Status
| Group | What | State |
|---|---|---|
| Built | robotelos-load scenarios fanout, many, idle and reconnect | Available |
| Built | Transports pipe (in process), ws, grpc and sse | Available |
| Built | Suites smoke (4 cases) and baseline (10 cases) | Available |
| Built | Run records (run.json, report.md, all.txt) with a verdict and an exit code | Available |
| Built | Judged runs (-judge), accepting a baseline (-accept-baseline), confirmation of a slow timing | Available |
| Built | Grafana annotations of a run, and Explore and trace links on a finding | Available |
| Separate | Platform API load and soak tests: make test-load and make test-soak (in runtime/internal/controlplane/e2e) | Available, not part of robotelos-load |
| Planned | Scenarios slow-consumer-mix, token-churn, retry-storm, flood-vs-quiet and churn | Not available |
| Planned | Capacity profile cp-rest, and a gateway soak under faults | Not available |
| Planned | Engine load and a cancel storm | Not available |
| Planned | Stored targets with policy and guard, scheduled runs, result upload and result pages | Not available |
| Planned | A fake model server and agent load, dashboards as files, AI investigation | Not available |
The plan is docs/architecture/stress-test-plan.md in the repository.
Limits today
The Platform API tests run with Docker and the integration build tag: make test-load sets ROBOTELOS_LOAD=1, make test-soak sets ROBOTELOS_SOAK=1. They check data invariants of the control plane. They write numbers to the test log and no run record.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.