Installation
Install the package for your language and add LoadStrike to your load test project.
Packages
Choose the package that matches your language: NuGet `LoadStrike`, Maven `com.loadstrike:loadstrike`, npm `@loadstrike/loadstrike-sdk`, or PyPI `LoadStrike`.
Supported Runtimes
LoadStrike supports C# on .NET 8, Java 17+, Node.js 20+ for TypeScript and JavaScript, and Python 3.9+.
Feature Usage Samples
How to use snippets for Installation.
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.
Install
dotnet add package LoadStrike
Use the published Maven Central artifact.
<dependency>
<groupId>com.loadstrike</groupId>
<artifactId>loadstrike</artifactId>
<version>latest</version>
</dependency>
import com.loadstrike.runtime.LoadStrikeRuntime.LoadStrikeRunner;
pip install LoadStrike
from loadstrike_sdk import LoadStrikeRunner
npm install @loadstrike/loadstrike-sdk
import { LoadStrikeRunner } from "@loadstrike/loadstrike-sdk";
npm install @loadstrike/loadstrike-sdk
const { LoadStrikeRunner } = require("@loadstrike/loadstrike-sdk");
Supported Packages
Use package `LoadStrike` when you are writing tests in C# on .NET.
Use package `com.loadstrike:loadstrike` when you are writing tests in Java.
Use package `@loadstrike/loadstrike-sdk` when you are writing tests in TypeScript or JavaScript.
Use package `LoadStrike` when you are writing tests in Python.
After install, import the LoadStrike runtime types for scenarios, steps, simulations, and runner configuration in your language.
using LoadStrike;