0.1.2 • Published 10 years ago

hulken_informant_hapi v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

hulken_informant_hapi

an informant for the stress test tool hulken (works with hapi.js 7).
this small module inspects your routes and generates a hulken requests file automatically.

Installation

npm install hulken_informant_hapi --save

Usage

var Hapi = require('hapi');
var server = new Hapi.Server(3000);
.
.
.
.
// do this after setting up your routes
var hulkenInformant = require('hulken_informant_hapi');
 hulkenInformant.generateHulkenRequestsFile(‘./hulkenRequestsFile.json’, server);

an hulken_informant offers a quick and simple way to create a stress test suite by inspecting your application routes and auto generating the requests file for you!

It has, however, it’s drawbacks:

  • It can only include GETs (it has no way of figuring out what payload to send with the POST etc.)
  • It can not offer an expectedTextToExist value for each request, leaving Hulken with only the HTTP status code to rely on when verifying responses.
0.1.2

10 years ago

0.1.0

10 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago