Skip to content

Repository files navigation

APIBlaster 🚀

APIBlaster is a modern, high-performance API load testing web application built with Next.js 15, TypeScript, and Tailwind CSS. It allows developers to stress test their APIs with concurrent requests, providing real-time statistics and performance visualization.

APIBlaster Dashboard

📦 Versions

Version Features
v1.5 View Details
v1.1.0 View Details

✨ Features

  • Concurrent Load Testing: Send thousands of requests with configurable concurrency limits.
  • Delayed API Calling (NEW): Set a custom delay (in milliseconds) between individual requests to simulate realistic user behavior.
  • User Authentication (NEW): Secure login and registration system to manage your personal test history.
  • History Overview (NEW): A dedicated dashboard to view, analyze, and track your historical API test results.
  • MongoDB Persistence (NEW): All user data and test history are stored in a MongoDB database (Mongoose).
  • Real-Time Statistics: Live tracking of Total Requests, Success/Failure counts, Average Response Time, and RPS.
  • Performance Charts: Real-time response time latency visualization using Recharts.
  • CORS Proxy Support: Built-in backend proxy to bypass CORS restrictions.
  • Premium Theming: Seamless switching between Light and Dark modes with automatic system detection.
  • Multi-Session Tabs: Manage up to 5 concurrent test sessions using a specialized tab system.

🛠️ Tech Stack

📖 Documentation

🚀 Getting Started

Prerequisites

  • Node.js 18.x or later
  • MongoDB (Running locally at mongodb://localhost:27017/API-blaster or via MONGODB_URI env)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/UmayerCoding1/API-Blaster.git
    cd API-Blaster
  2. Install dependencies:

    npm install
  3. Set up Environment Variables (Optional): Create a .env.local file:

    MONGODB_URI=mongodb://localhost:27017/API-blaster
    
  4. Run the development server:

    npm run dev
  5. Open http://localhost:3000 in your browser.

📂 Project Structure

/src
  /app           - Next.js App Router (Pages & API Routes)
  /components    - Reusable UI components
  /lib           - Core engine and database utilities
  /models        - Mongoose schemas (User, History)
  /store         - Global state management (Zustand)
  /types         - TypeScript interfaces
  /docs          - Project documentation

🛡️ Best Practices

  • Concurrency: Be careful with high concurrency levels on public APIs to avoid being rate-limited or blocked.
  • Timeouts: The system has a default 30s timeout per request to ensure tests don't hang indefinitely.

📄 License

This project is licensed under the ISC License.


Built with ❤️ by Umayer

About

APIBlaster – A modern API load testing tool built with Next.js and TypeScript. Send thousands of concurrent requests, monitor success/fail counts, response times, and RPS in real-time. Ideal for developers to stress-test their own APIs safely and efficiently.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages