Quick Start

Create a source, destination, and scenario-level configuration in minutes.

Define Endpoints

Create source and destination endpoint objects with matching tracking selectors.

Configure Scenario

Attach CrossPlatformTrackingConfiguration using CrossPlatformScenarioConfigurator.Configure.

Run

Register scenario(s), set WithRunnerKey(...), choose the runner environment when needed, and execute with report formats enabled.

Feature Usage Samples

How to use snippets for Quick Start.

Switch between C#, Java, Python, TypeScript, and JavaScript to see the native SDK shape for this sample.

Licensing note: every runnable sample requires a valid runner key via WithRunnerKey("...") or config key LoadStrike:RunnerKey.

Quick Start

var source = new HttpEndpointDefinition
{
    Name = "api-in",
    Mode = TrafficEndpointMode.Produce,
    TrackingField = TrackingFieldSelector.Parse("header:X-Correlation-Id"),
    Url = "https://localhost:5001/orders",
    Method = "POST",
    MessagePayload = new { orderId = 1001 }
};

var destination = new KafkaEndpointDefinition
{
    Name = "kafka-out",
    Mode = TrafficEndpointMode.Consume,
    TrackingField = TrackingFieldSelector.Parse("header:X-Correlation-Id"),
    BootstrapServers = "localhost:9092",
    Topic = "orders.events",
    ConsumerGroupId = "orders-tests"
};

Quick Start Parts

Source endpoint

Defines where LoadStrike creates the tracked source traffic.

Destination endpoint

Defines where LoadStrike listens for the correlated downstream event.

TrackingField

Must point to the same business identifier on both sides so correlation can succeed.

Scenario configuration

Wraps the source and destination in a scenario so the runtime can execute, correlate, and report the results.

Runner execution

Registers the scenario, applies the runner key, and starts the run with reports enabled.

{ "orderId": 1001 }

Diagram

Quick start flow visual
Quick start flow from scenario setup to run execution and report generation.