GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PragmaticFlow/NBomber: Distributed load-testing framework for .NET. Create distributed load test scenarios entirely using plain C# or F#. It is designed to test any system regardless of the protocol or a semantic model (Pull/Push).

BranchesTags
Open more actions menu

Latest commit

 

History

624 Commits
624 Commits

Folders and files

NameName
Last commit message
Last commit date
.config
.config
 
 
.github/workflows
.github/workflows
 
 
assets
assets
 
 
examples
examples
 
 
performance
performance
 
 
src/NBomber
src/NBomber
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
NBomber.Performance.sln
NBomber.Performance.sln
 
 
NBomber.sln
NBomber.sln
 
 
README.md
README.md
 
 
global.json
global.json
 
 

Repository files navigation

NBomber logo

NuGet Nuget

NBomber - Distributed load-testing framework for .NET. It is designed to test any system regardless of the protocol (HTTP/WebSockets/AMQP) or a semantic model (Pull/Push). It allows to write distributed load test scenarios in plain C# or F#.

NBomber 5

NBomber as a modern framework provides:

  • Zero dependencies on protocol (HTTP/WebSockets/AMQP/SQL)
  • Zero dependencies on semantic model (Pull/Push)
  • Very flexible configuration and dead simple API
  • Native Debug - debug your tests using your favorite IDE (Visual Studio, VS Code, Rider)
  • Informative Reports: HTML
  • Realtime reporting:
    • NBomber Studio - is a powerful management tool designed by NBomber. Monitor tests in real time with NBomber Studio and conduct detailed result analysis to identify trends. Check out our blog posts about NBomber Studio.
    • Reporting Sinks for integration with popular systems for real-time monitoring
      • InfluxDB
      • TimescaleDB
      • Grafana
  • Protocols/extensions support:
    • HTTP,
    • WebSockets,
    • MQTT,
    • AMQP
    • WebBrowser
    • Redis,
    • SQLite,
    • MongoDB
    • gRPC
  • Data Feed - inject real or fake data into your tests
  • Distributed Cluster - run your load tests in distributed mode
  • Load Simulation - simulate realistic workloads
  • Dynamic Workloads - simulate dynamic workloads
  • JSON Configuration - configure your load tests via JSON Config
  • Asserts and Thresholds
  • CI/CD integration (xUnit and NUnit runners are supported)

Why we build NBomber and what you can do with it?

The main reason behind NBomber is to provide a lightweight framework for writing load tests which you can use to test literally any system and simulate any production workload. We wanted to provide only a few abstractions so that we could describe any type of load and still have a simple, intuitive API. Another goal is to provide building blocks to validate your POC (proof of concept) projects by applying any complex load distribution. With NBomber you can test any PULL or PUSH system (HTTP, WebSockets, GraphQl, gRPC, SQL Databse, MongoDb, Redis etc). With NBomber you can convert some of your integration tests to load tests easily.

What makes it very simple?

One of the design goals of NBomber is to keep API as minimal as possible. Because of this, NBomber focuses on fully utilizing programming language(C#/F#) constructs instead of reinventing a new DSL that should be learned. In other words, if you want to write a for loop, you don't need to learn a DSL for this.

var scenario = Scenario.Create("hello_world_scenario", async context =>
{
    // you can define and execute any logic here,
    // for example: send http request, SQL query etc
    // NBomber will measure how much time it takes to execute your logic
    await Task.Delay(1_000);

    return Response.Ok();
})
.WithLoadSimulations(
    Simulation.Inject(rate: 10,
                      interval: TimeSpan.FromSeconds(1),
                      during: TimeSpan.FromSeconds(30))
);

NBomberRunner
    .RegisterScenarios(scenario)
    .Run();

Videos

Load Testing with C# and NBomber (Part 1)

Blog Posts

  • Anton Martyniuk - Load Testing Microservices with C# and NBomber
  • Anton Martyniuk - Load Testing Kafka Pipelines with C# and NBomber
  • Abdul Rahman - Using NBomber for Performance, Load and Stress testing in ASP.NET WEB API
  • Olena Kostash - Load Testing HTTP API on C# with NBomber
  • ExecuteAutomation - HTTP Performance Testing with NBomber in C# .NET
  • Stijn Moreels - NBomber Load Tests in the xUnit Testing Framework for Invictus
  • Stijn Moreels - Integrating NBomber Load Testing with F# Expecto
  • Anh Nguyen Viet - NBomber – Performance Testing Framework

Links

  • Website
  • Documentation
  • Blog
  • Examples

Frequently asked questions

Question Answer
How NBomber can be installed? NBomber is shipped as .NET library and can be installed via NuGet package manager
How can I run NBomber load test scenario? You can run it as Console application or as Unit test (xUnit/NUnit)
Can I use NBomber for free? You can use it for free, only for personal use. For the organization usage, you should have a license.
Can multiple teams use the same license within one organization? Yes, a single license can be shared for the whole organization
How many users from the same organization can use the license at the same time? Unlimited
Can I run NBomber Cluster without purchasing a license? Yes, you can try Local Dev Cluster mode
How many instances can be installed with one NBomber license? Unlimited
How many NBomber executions can be run in parallel? Unlimited

About Us

We are US based company NBomber LLC (8 The Green, Dover, Delaware 19901, USA).

About

Distributed load-testing framework for .NET. Create distributed load test scenarios entirely using plain C# or F#. It is designed to test any system regardless of the protocol or a semantic model (Pull/Push).

nbomber.com

Topics

csharpdotnetfsharpintegration-testingload-testingperformance-testing

Resources

Readme
Activity
Custom properties

Stars

2.2k stars

Watchers

29 watching

Forks

140 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.