2.2.0 • Published 5 years ago
hubot-blazemeter v2.2.0
hubot-blazemeter
A Hubot script for BlazeMeter integration
Hubot allows you to run BlazeMeter 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!
- 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:
$ npm install --save hubot-blazemeter
- Add
hubot-blazemeter
to yourexternal-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 <key_id>:<key_secret>
hubot bm get env
hubot bm set env <env>
Listing
hubot bm list (tests|masters|sessions)
hubot bm list running (tests|masters|sessions)
Using
hubot bm (run|stop|terminate) test <test_id>
Get Involved
- fork it (https://github.com/Blazemeter/hubot-blazemeter)
- create your feature branch (
git checkout -b my-new-feature
) - commit your changes (
git commit -am 'Add some feature'
) - push to the branch (
git push origin my-new-feature
) - Create new pull request