Skip to content

siyametj/api_benchmark_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Lightweight API Benchmark Tool

A lightweight, asynchronous API benchmarking utility built with Python. It allows you to stress-test HTTP endpoints, measure response times, and monitor latency through a simple graphical interface.


✨ Features

  • ⚑ Asynchronous HTTP benchmarking
  • 🧡 Concurrent request execution
  • πŸ–₯️ Simple Tkinter-based GUI
  • πŸ“Š Real-time benchmark output
  • πŸ“¦ Uses only Python standard libraries
    • asyncio
    • urllib
    • tkinter
  • 🚫 No third-party dependencies

πŸ“ Project Structure

.
β”œβ”€β”€ api_tester.py   # Core benchmarking engine
β”œβ”€β”€ GUI.py          # Tkinter graphical interface
β”œβ”€β”€ main.py         # Application entry point
β”œβ”€β”€ README.md       # Project documentation
└── .gitignore      # Git ignore rules

πŸ“‹ Requirements

  • Python 3.8 or later
  • Tkinter (included with most Python installations)

πŸš€ Getting Started

Clone the repository

git clone https://github.com/siyametj/api_benchmark_tool.git
cd api_benchmark_tool

Run the application

python3 main.py

Or on Windows:

python main.py

πŸ› οΈ How to Use

  1. Launch the application.
  2. Enter the target API or website URL.
  3. Specify:
    • Total number of requests
    • Concurrency level
  4. Click Start Benchmark.
  5. View the benchmark results and latency metrics in real time.

πŸ“Š Example

Setting Value
URL https://example.com
Requests 1000
Concurrency 50

πŸ“„ License

This project is licensed under the MIT License.


πŸ‘€ Author

Siyam

GitHub: https://github.com/siyametj

About

A lightweight, dependency-free Async API Benchmarking Tool built with Python & Tkinter. Stress-test endpoints and measure real-time latency effortlessly! πŸš€βš‘

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages