Skip to content

waliferus/mzbench

 
 

Repository files navigation

Welcome to MZBench Build Status Join the chat at https://gitter.im/machinezone/mzbench Issue stats Pull Requests stats

Expressive, scalable load testing tool


Graphs

MZBench helps software testers and developers test their products under huge load. By testing your product with MZBench before going to production, you reduce the risk of outages under real life highload.

MZBench runs test scenarios on many machines simultaneous, maintaining millions of connections, which make it suitable even for large scale products.

MZBench is:

  • Cloud-aware: MZBench allocates nodes directly from Amazon EC2.
  • Scalable: tested with 100 nodes and millions of connections.
  • Extendable: write your own cloud plugins and workers.
  • Open-source: MZBench is released under the BSD license.

Read the docs →

Installation

To use MZBench, you'll need:

  • Erlang R17
  • C++ compiler
  • Python 2.6 or 2.7 with pip

Download MZBench from GitHub and install Python requirements:

$ git clone https://github.com/machinezone/mzbench
$ sudo pip install -r mzbench/requirements.txt 

Quickstart

Start the MZBench server on localhost:

$ cd mzbench
$ ./bin/mzbench start_server
Executing make -C /path/to//mzbench/bin/../server generate
Executing /path/to//mzbench/bin/../server/_build/default/rel/mzbench_api/bin/mzbench_api start

When the server is running, launch an example benchmark:

$ ./bin/mzbench run examples.bdl/ramp.bdl
{
    "status": "pending", 
    "id": 6
}
status: running                       00:09

Go to localhost:4800 and see the benchmark live status:

Test Benchmark

Read Next

Packages

No packages published

Languages

  • Erlang 60.7%
  • JavaScript 16.7%
  • Python 9.8%
  • CSS 7.0%
  • Shell 2.3%
  • Makefile 1.9%
  • Other 1.6%