DOCS / CSHARPLOAD / GETTING STARTED

Getting started

CSharpLoad is a C#-first load and performance testing framework for .NET 10.

Install

dotnet add package CSharpLoad
dotnet add package CSharpLoad.Http

Create a project

dotnet new install CSharpLoad.Templates
dotnet new csharpload-http -n Checkout.Api.LoadTests --targetUrl https://api.example.test
cd Checkout.Api.LoadTests
dotnet run

The HTTP template includes a reusable HttpClient, GET health scenario, HTML and JSON reports, thresholds and GitHub Actions annotations. A successful performance gate returns 0; threshold or regression failure returns 1.