Skip to content

andylibrian/terjang

Repository files navigation

Terjang

Scalable HTTP load testing tool built on Vegeta.

Build status Go Report Card

Features

  • Scalable: support multiple node of workers
  • Web UI with detailed report
  • Extensible:
    • Start and stop load test via HTTP API
    • Get status and load test result via HTTP API
    • Receive progress / real time results via websocket

Demo

Install

Pre-compiled

Download the pre-compiled executables from the releases page and copy to the desired location.

From source

git clone git@github.com:andylibrian/terjang.git
cd terjang
make

Usage

Quick start on your local machine

Open a terminal, and run:

terjang server

Open another terminal, and run:

terjang worker

Then open http://localhost:9009

See more options

terjang -h

Docker compose

git clone git@github.com:andylibrian/terjang.git
cd terjang
docker-compose up -d

Then open http://localhost:9009

Deploying on Kubernetes via Helm

helm repo add andylibrian https://andylibrian.github.io/helm-charts
helm repo update

helm install terjang andylibrian/terjang

Configuration: see values.yaml

To access the UI: kubectl port-forward svc/server 9009:80, then open http://localhost:9009

Contributing

See Contributing