harplayer
v0.3.0
Published
Replay HAR logs
Downloads
23
Maintainers
Readme
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/)