har-report

Run checks/tests against HAR files

Usage no npm install needed!

<script type="module">
  import harReport from 'https://cdn.skypack.dev/har-report';
</script>

README

Har Report

Travis branch NPM version

Provide reports on website requests/responses via HAR files.

Install

$ npm install -g har-report

CLI

$ har-report myharfile.json

API

var report = require("har-report");

report({
    input: require("myharfile.json"),
    cb: function (err, out) {
    
        if (err) {
            throw err;
        }
        
        console.log(out); // your report is here
    }    
});

Reports

  • Duplicate cookies: This reporter will inform you if any response is setting cookies with the same name multiple times (which can be the source of bugs)