PragmaticFlow / NBomber.Http

NBomber plugin for defining HTTP scenarios.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBomber.Http

build NuGet

NBomber plugin for defining HTTP scenarios.

Documentation is located here

using var httpClient = new HttpClient();

var scenario = Scenario.Create("http_scenario", async context =>
{
    var request =
        Http.CreateRequest("GET", "https://nbomber.com")
            .WithHeader("Content-Type", "application/json");
         // .WithBody(new StringContent("{ some JSON }", Encoding.UTF8, "application/json"));

    var response = await Http.Send(httpClient, request);

    return response;
});

About

NBomber plugin for defining HTTP scenarios.

License:Apache License 2.0


Languages

Language:F# 100.0%