Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ BSB HAVOC

Professional Asynchronous Load Testing Framework

Built for Engineers • Designed for Scale • Optimized for Performance


OverviewFeaturesEngineMetricsInstallationQuick StartCLIReportsLegalContributingLicense


🎯 Overview

BSB Havoc is a modern asynchronous load testing engine built to simulate real-world traffic patterns and measure system performance under pressure.

It provides high concurrency, low resource overhead, and accurate performance analytics — making it ideal for:

  • API performance testing
  • Backend stress testing
  • Infrastructure benchmarking
  • CI/CD performance validation

✨ Key Features

Category Capability Benefit
⚡ Performance Massive async concurrency Realistic traffic simulation
📊 Monitoring Live RPS & latency tracking Instant performance insight
📈 Analytics Percentiles & distributions Deep performance visibility
🛡 Control Safe ramp-up & stop controls Prevent accidental overload
📁 Reporting JSON export support Easy integration with tools

⚙ Performance Engine

BSB Havoc is powered by a non-blocking async architecture:

  • Built using asyncio + aiohttp
  • Efficient connection pooling
  • Persistent sessions for realistic load
  • Minimal CPU & memory footprint

This allows high request throughput while keeping the testing environment stable.


📊 Real-Time Metrics

During a test run, the CLI dashboard displays:

  • Requests Per Second (RPS)
  • Average / Min / Max Latency
  • P50 / P90 / P95 / P99 Percentiles
  • Success vs Failure Counts
  • HTTP Status Code Distribution

All metrics update live in the terminal.


📦 Installation

Install from PyPI

pip install bsb-havoc --upgrade

Install from Source

git clone https://github.com/Shawpon2/bsb-havoc.git
cd bsb-havoc
pip install -r requirements.txt
python setup.py install

Verify Installation

bsb-havoc --version

⚡ Quick Start

Run a simple performance test against your own test server:

bsb-havoc https://your-server.com -c 500 -d 60

This will:

  • Launch 500 concurrent virtual users
  • Run for 60 seconds
  • Show live performance metrics

🛠 CLI Reference

Option Description
-c, --connections Number of concurrent users
-d, --duration Test duration in seconds
-t, --timeout Request timeout value
--ramp Gradually increase load
--output Export results to JSON

🧪 Example Commands

Standard Test

bsb-havoc https://staging.example.com -c 1000 -d 120

Ramp-Up Mode

bsb-havoc https://api.example.com -c 3000 -d 180 --ramp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages