LoadStrike 1.0.23601
dotnet add package LoadStrike --version 1.0.23601
NuGet\Install-Package LoadStrike -Version 1.0.23601
<PackageReference Include="LoadStrike" Version="1.0.23601" />
<PackageVersion Include="LoadStrike" Version="1.0.23601" />
<PackageReference Include="LoadStrike" />
paket add LoadStrike --version 1.0.23601
#r "nuget: LoadStrike, 1.0.23601"
#:package LoadStrike@1.0.23601
#addin nuget:?package=LoadStrike&version=1.0.23601
#tool nuget:?package=LoadStrike&version=1.0.23601
LoadStrike SDK for .NET
LoadStrike is a developer-first load testing SDK for .NET applications, services, and automated test projects. Use it to model transaction flows in C#, execute them in-process, and capture structured run results from the same solution that owns the code under test.
What This SDK Is For
- Author scenario-based load tests in C#.
- Generate safe starter scenarios from captured HAR, OpenTelemetry trace JSON, browser recordings, or message pairs with Trace-to-test Autopilot.
- Model HTTP and event-driven transactions as multi-step workflows.
- Apply load simulations, thresholds, and custom metrics during execution.
- Generate local reports and, on Business and Enterprise, publish results to supported reporting sinks.
Built-in transport coverage includes HTTP, Kafka, RabbitMQ, NATS, Redis Streams, Azure Event Hubs, Push Diffusion, and delegate-based custom streams. Local report output supports HTML, Markdown, TXT, and CSV, and Business and Enterprise can publish to InfluxDB, TimescaleDB, Grafana Loki, Datadog, Splunk HEC, and OpenTelemetry Collector.
Requirements
- .NET 8 or later
Install
dotnet add package LoadStrike
Quick Start
using System;
using System.Threading.Tasks;
using LoadStrike;
var scenario = LoadStrikeScenario.Create("orders", async context =>
{
var step = await LoadStrikeStep.Run<string>(
"publish-order",
context,
() => Task.FromResult(LoadStrikeResponse.Ok<string>(statusCode: "200")));
return step.AsReply();
})
.WithLoadSimulations(
LoadStrikeSimulation.Inject(10, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(20))
);
var result = LoadStrikeRunner.RegisterScenarios(scenario)
.WithRunnerKey("rkl_your_runner_key")
.Run();
Run() returns the detailed run result, including generated report files, scenario statistics, metrics, and sink status.
Trace-To-Test Autopilot
Use LoadStrikeAutopilot.Generate(...) to infer a starter plan from a captured artifact. Set LoadStrikeAutopilotOptions.RunnerKey so generation can validate the Trace-To-Test Autopilot entitlement. Check result.Readiness and result.ReadinessFailures first; call result.BuildScenario() only when it is LoadStrikeAutopilotReadiness.Ready, then execute the scenario through the normal runner with a valid RunnerKey.
Use SecretBindings to map redaction locations such as header:Authorization or body:$.client_secret to environment variables, TrackingSelector when the selector cannot be inferred, and EndpointBindings, AllowedReplayHosts, or BaseUrlRewrite when a replay target must be bound. Secret values are resolved when the generated scenario runs; they are not written into the generated plan. Any gate satisfied by user setup is omitted from ReadinessFailures.
Runner Keys
Runnable workloads require a RunnerKey. Supply it with .WithRunnerKey(...) or through your application configuration before calling Run().
Documentation
- Product documentation: https://loadstrike.com/documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- AWSSDK.SQS (>= 4.0.2.28)
- Azure.Messaging.EventHubs (>= 5.12.2)
- Confluent.Kafka (>= 2.6.1)
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- NATS.Client (>= 1.1.8)
- Newtonsoft.Json (>= 13.0.3)
- Npgsql (>= 8.0.4)
- RabbitMQ.Client (>= 6.8.1)
- Serilog (>= 4.2.0)
- Serilog.Sinks.Console (>= 6.0.0)
- Serilog.Sinks.File (>= 6.0.0)
- StackExchange.Redis (>= 2.8.31)
- System.IdentityModel.Tokens.Jwt (>= 7.6.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.23601 | 92 | 5/12/2026 |
| 1.0.23401 | 89 | 5/12/2026 |
| 1.0.23201 | 90 | 5/11/2026 |
| 1.0.23001 | 99 | 5/9/2026 |
| 1.0.22801 | 87 | 5/8/2026 |
| 1.0.22601 | 88 | 5/4/2026 |
| 1.0.22301 | 104 | 5/1/2026 |
| 1.0.22001 | 104 | 4/27/2026 |
| 1.0.21401 | 97 | 4/24/2026 |
| 1.0.21101 | 87 | 4/23/2026 |
| 1.0.20801 | 104 | 4/21/2026 |
| 1.0.18901 | 94 | 4/19/2026 |
| 1.0.18001 | 97 | 4/10/2026 |
| 1.0.17501 | 96 | 4/9/2026 |
| 1.0.17301 | 99 | 4/9/2026 |