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

https://github.com/blazemeter/hubot-blazemeter

A hubot script for blazemeter integration
https://github.com/blazemeter/hubot-blazemeter

blazemeter-api bot hubot hubot-blazemeter integration

Last synced: about 1 year ago
JSON representation

A hubot script for blazemeter integration

Awesome Lists containing this project

README

          

# hubot-blazemeter

> A [Hubot](https://hubot.github.com/) script for BlazeMeter integration

[![Build Status](https://travis-ci.org/Blazemeter/hubot-blazemeter.svg?branch=master)](https://travis-ci.org/Blazemeter/hubot-blazemeter)
[![Coverage Status](https://coveralls.io/repos/Blazemeter/hubot-blazemeter/badge.svg?branch=master&service=github)](https://coveralls.io/github/Blazemeter/hubot-blazemeter?branch=master)

![BlazeMeter Hubot](media/hubot.png)

Hubot allows you to run [BlazeMeter](https://blazemeter.com/) commands using Hubot,
which integrates with any leading chat clients (Knowingly HipChat, Slack, IRC, etc..)

### Preparation

Required:

- You will need to have a BlazeMeter account, or access to one. [Signup for one now!](https://blazemeter.com/#signup)
- You will need to have a BlazeMeter Api Key
- A workable environment (usually `https://a.blazemeter.com` but configurable to any other env)

### Installation

- Install this npm package to your hubot repo:

```bash
$ npm install --save hubot-blazemeter
```

- Add `hubot-blazemeter` to your `external-scripts.json`

### Usage

In order to start using BlazeMeter's API, you will need to setup 2 variables with Hubot:

- Env endpoint (Usually `http://a.blazemeter.com`).
- API Key (You can find this at: http://a.blazemeter.com/app/#settings/api-key)

Example workflow:

```
hubot bm set env http://a.blazemeter.com
hubot bm set api key 12345:123123123123123
```

These are a list of `hubot-blazemeter` commands:

#### Setup

- `hubot bm whoami`

- `hubot bm get api key`
- `hubot bm set api key :`

- `hubot bm get env`
- `hubot bm set env `

#### Listing

- `hubot bm list (tests|masters|sessions)`
- `hubot bm list running (tests|masters|sessions)`

#### Using

- `hubot bm (run|stop|terminate) test `

### Get Involved

1. fork it (https://github.com/Blazemeter/hubot-blazemeter)
2. create your feature branch (`git checkout -b my-new-feature`)
3. commit your changes (`git commit -am 'Add some feature'`)
4. push to the branch (`git push origin my-new-feature`)
5. Create new pull request