Load Kit

Measure how the Robotelos delivery path behaves under load: run scenarios, judge a run against a baseline, and read the verdict. For developers and agents.

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 with go run ./protocol/cmd/robotelos-load, or build it with go 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 run scripts/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

  1. Quick start: a first run with no server, its output and its exit code.
  2. Scenarios and transports: what each scenario measures, and how to run it against a served target.
  3. Judged runs and baselines: the local stack, the target file, suites, accepting a baseline, and the limits.
  4. Read the results: verdicts, exit codes, files and links, and what to do on a failure.
  5. Agents and CI: run it without a person, and what never to commit.
  6. Reference: every flag, variable, file key and record field.

Status

GroupWhatState
Builtrobotelos-load scenarios fanout, many, idle and reconnectAvailable
BuiltTransports pipe (in process), ws, grpc and sseAvailable
BuiltSuites smoke (4 cases) and baseline (10 cases)Available
BuiltRun records (run.json, report.md, all.txt) with a verdict and an exit codeAvailable
BuiltJudged runs (-judge), accepting a baseline (-accept-baseline), confirmation of a slow timingAvailable
BuiltGrafana annotations of a run, and Explore and trace links on a findingAvailable
SeparatePlatform API load and soak tests: make test-load and make test-soak (in runtime/internal/controlplane/e2e)Available, not part of robotelos-load
PlannedScenarios slow-consumer-mix, token-churn, retry-storm, flood-vs-quiet and churnNot available
PlannedCapacity profile cp-rest, and a gateway soak under faultsNot available
PlannedEngine load and a cancel stormNot available
PlannedStored targets with policy and guard, scheduled runs, result upload and result pagesNot available
PlannedA fake model server and agent load, dashboards as files, AI investigationNot available

The plan is docs/architecture/stress-test-plan.md in the repository.

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.