This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
* har2siege.js | |
* converts a HAR file generated by chrome to an url file as required | |
* by the siege performance testing tool (http://www.joedog.org/siege-home/) | |
* | |
* Usage: | |
* - save har file in chrome. make sure extension is .json, e.g. myrequests.json | |
* - put the relative path as the only parameter on the command line | |
* - redirect STDOUT to the file you want as the urllist for siege |