Skip to content

Probes

TL;DR — Probes run infrastructure actions in a session without adding interaction data to SessionData.

Probes are based on the IProbe hook contract and are actions that affect the system or its underlying infrastructure without saving interaction data, which means they do not modify the SessionData object at all.

Probes can use SessionData and DataSources in order to get relevant information to perform their action.

In order to see all of the available probes visit QaaS.Common.Probes.

Concurrency

A Runner probe action invokes IProbe.Run once. It has no Parallel field or .WithParallelism method. Separate probe actions in the same Stage can overlap with each other and other staged actions. Their hook implementations must tolerate any shared infrastructure they modify. A hook may expose its own concurrency setting in its Configuration; consult that hook's reference rather than adding publisher-style fields to the probe action.

Use probes for setup, checks and cleanup that match the hook's contract. Use publishers or transactions for paced traffic. Action stages determine launch order and delays, not completion barriers; a setup probe in an earlier stage is not by itself a guarantee that it has completed before traffic starts. See action concurrency.

See also