Giter Site home page Giter Site logo

ali's Introduction

ali

Release Go Doc Go Report Card

A load testing tool aimed to perform real-time analysis, inspired by vegeta and jplot.

Screenshot

ali comes with a simple terminal based UI, lets you generate HTTP requests and plot the results in real-time. With it, real-time analysis can be done on the terminal.

Installation

Binaries are available through the releases page.

Via Homebrew

brew install nakabonne/ali/ali

Via APT

wget https://github.com/nakabonne/ali/releases/download/v0.1.2/ali_0.1.2_linux_amd64.deb
apt install ./ali_0.1.2_linux_amd64.deb

Via RPM

curl -OL https://github.com/nakabonne/ali/releases/download/v0.1.2/ali_0.1.2_linux_amd64.rpm
rpm -i ./ali_0.1.2_linux_amd64.rpm

Via Go

go get github.com/nakabonne/ali

Via Docker

docker run --rm -it nakabonne/ali ali

Usage

Quickstart

$ ali

Click on the target URL input field, give the URL and press Enter. Then the attack will be launched with default options.

Options

Name Description Default
Rate Limit The request rate per time unit to issue against the targets. Give 0 then it will send requests as fast as possible. 50
Duration The amount of time to issue requests to the targets. Give 0s for an infinite attack. Press Ctrl-C to stop. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". 10s
Timeout The timeout for each request. 0s means to disable timeouts. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". 30s
Method An HTTP request method for each request. GET
Header A request header to be sent. empty
Body The file whose content will be set as the http request body. empty

Features

Plot in real-time

Currently it only plots latencies, but in the near future more metrics will be drawn as well.

Screenshot

Visualize the attack progress

This will help you during long tests.

Screenshot

Mouse support

With the help of mum4k/termdash, it's intuitive to operate.

Screenshot

Built with

LoadMap

  • Plot more metrics in real-time (#2)
  • Support more options for HTTP requests (#1)
  • Better UI

ali's People

Contributors

nakabonne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.