harplayer

0.3.0 • Public • Published

harplayer

Replay HAR log entries to debug and visualize http services.

Install

npm install harplayer

Usage

var harplayer = require('harplayer')
 
var har = require('./har.json')
 
harplayer.replayOne(har, 0, function(err, res, body){
  if (err) throw err
  console.log(res.statusCode)
})
 
harplayer.replayAll(har, function(err, res, body){
  if (err) throw err
  console.log(res.statusCode)
})
 
harplayer.replayAllInParallel(har, function(err, res, body){
  if (err) throw err
  console.log(res.statusCode)
})

Check out the examples directory for more.

Contributing

Feedback and pull requests are most welcomed.

MIT license

Copyright (c) 2015, Mashape (https://www.mashape.com/)

/harplayer/

    Package Sidebar

    Install

    npm i harplayer

    Weekly Downloads

    1

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • montanaflynn