NBomber.Http icon indicating copy to clipboard operation
NBomber.Http copied to clipboard

NBomber plugin for defining HTTP scenarios.

Results 4 NBomber.Http issues
Sort by recently updated
recently updated
newest added

code: var step = Step.Create("fetch_html_page", clientFactory: HttpClientFactory.Create(), execute: context => { stupid += 1; var request = Http.CreateRequest("POST", "http://127.0.0.1:9038/TestPool/GetPoolData") .WithHeader("Accept", "text/plain") .WithHeader("Content-Type", "application/json") .WithBody(new StringContent(JsonConvert.SerializeObject(new { dataid = DateTime.Now.Ticks.ToString(), shopid...

Hi. Here is my C# code example. ``` var request = Http.CreateRequest(method, endpoint) .WithHeader("Accept", "application/json") .WithBody(content) .WithCheck(async (response) => { var responseMsg = await response.Content.ReadAsStringAsync(); if (response.StatusCode == statuscode) return...

I need support for certificate authentication, is this something that can be supported. Or can I use the normal .net httpclient?

https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests https://habr.com/post/424873/#2