Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mohitsoni/mammoth

Load driver to orchestrate automated load tests on Marathon/Mesos.
https://github.com/mohitsoni/mammoth

Last synced: 2 months ago
JSON representation

Load driver to orchestrate automated load tests on Marathon/Mesos.

Lists

README

        

# mammoth

Project mammoth is a driver to orchestrate load testing on Marathon/Mesos, with current implementation tailored towards launching Jenkins.

## Installation

Dependencies:
* Python 2.7+
* VirtualEnv

To install mammoth, please follow the steps below:
```
$ git clone https://github.com/mohitsoni/mammoth/
$ cd mammoth
$ virtualenv --no-site-packages venv
$ source venv/bin/activate
$ pip install -r requirements.txt
```

## Usage

With mammoth setup now, let's quickly launch a hello-world job on mammoth. But before we can do that, we need to update ```driver.cfg``` file to provide marathon endpoint. Once that's updated, please execute following command:

```
$ python main.py start hellojob
```

## Fixtures

Mammoth works with fixtures. At mammoth root, you'll find a ```fixtures``` directory. It has following structure:
* fixtures/
* apps/ # List of payloads, that can be used for creating app in marathon.
* jobs/ # List of payloads, that can be used submitted to a created app.