Skip to content

request shooter is easy to use CLI tool to measure RPS of your HTTP application.

License

Notifications You must be signed in to change notification settings

ilya-4real/req_shooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Request shooter 🔫

Is a high performance HTTP benchmarking tool written in rust 🦀.

Key features

  • event driven request sending and response reading, which makes it incredibly fast
  • Multithreaded if you want
  • Accurate result calculations
  • Readable and colorful benchmark statistics in terminal

Current limitations

  • Supported only HTTP version 1.1
  • Not supported SSL/TLS connections
  • Currently tested only on Fedora Linux OS

Next goals

  • Support latest HTTP versions
  • Implement SSL/TLS connections (thinking about rustls lib)
  • Support other platforms
  • More granular benchmark statistics

Usage

Installation

  1. clone repository
git clone https://github.com/ilya-4real/req_shooter.git
  1. build shooter with rust compiler
cd req_shooter
cargo build -r
  1. place binary into any path directory
cp /target/release/req_shooter ~/.local/bin
  1. launch
req_shooter -d 10 -c 50 -t 2 127.0.0.1:8000/
  1. Enjoy
Usage: req_shooter [OPTIONS] -d <duration> <url>

Arguments:
 <url>  

Options:
 -t <threads>       how many threads to run [default: 1]
 -H <header>        header to send with request
 -c <conns>         how many active connections to use in each thread [default: 100]
 -d <duration>      how long to test in seconds
 -h, --help         Print help
 -V, --version      Print version

Example of output: image

About

request shooter is easy to use CLI tool to measure RPS of your HTTP application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages