Skip to main content

sim_validator gear [Roadmap]

WARNING

[Roadmap]: This gear is currently under development and not yet available.

Commercial gear, licensed separately from the engine, like sim_source and sim_responder: source-available under the Business Source License 1.1 once it ships. See the enterprise introduction.

sim_validator is a companion gear to sim_source. It is a separate gear, not a new port on the generator itself. Generating traffic and judging what came back stay two different concerns. sim_source has no in port and is not going to gain one. sim_validator is where the reply to a generated request goes once something needs to read it.

Planned capabilities​

  • Correlation: match each reply to the request that produced it, by STAN or another correlation key the spec declares.
  • Validation: validate a reply against what the request implied, not just whether one arrived at all. Validate the response code against the amount and rules that generated the request. Validate the fields the spec's pairs_with and response_value say must echo.
  • Metrics: counts by outcome (matched, mismatched, no reply within a deadline), and latency from request to reply.

How it attaches to the traffic it reads is not decided. The wiring shown in the simulation tutorial is illustrative, not a commitment.