← All tools

apib

Popularity 85 Updated Development & Build

HTTP performance-testing tool

homebrewauto-collected

Installation

Homebrew
brew install apib

Install with Homebrew.

apib: API Bench

This is a tool that makes it easy to run performance tests of HTTP API servers. It can be built on most Linux platforms, plus Mac OS X and FreeBSD.

Status

apib has been fairly stable for a little while now. Please submit issues or pull requests if you find that you'd like it to do more within reason!

Current Version

1.2.1.

Usage

Running apib can be as simple as:

apib -c 100 -d 60 http://test.example.com

The command above will hammer "test.example.com" as fast as it can for up to 60 seconds using 100 concurrent network connections.

Installation

On the Mac, you can now install via Homebrew:

brew install apib

Otherwise, you can build it yourself from source.

See additional documentation for more:

  • Running: How to run apib
  • Building: How to build it from source
  • Remote Montitoring: How to remotely monitor servers under test

Design

apib has most of the features of Apache Bench (ab), but is also intended as a more modern replacement. In particular, it supports: