Replay HAR log entries to debug and visualize http services.
npm install harplayer
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.
Feedback and pull requests are most welcomed.
Copyright (c) 2015, Mashape (https://www.mashape.com/)