I'm trying to automate page load time testing. I'm imagining running a cron job every couple hours that will load various pages from my website, retrieve the associated har files, and process the data. The part I can't figure out is how to programatically generate har files ... the only way I know of now is manually through chrome developer tools. Does anyone know if this can be done, and if so how?
To generate the HAR file for Internet ExplorerOpen Internet Explorer and go to the page where the issue is occurring. Click the Network tab. Reproduce the issue that you were experiencing before, while the network requests are being recorded. Once done click the Save button.
HAR files can capture sensitive information, such as user names, passwords, and keys. Be sure to remove any sensitive information from a HAR file before you send it to AWS Support.
Collecting HAR/VAR Logs in ChromePress F12 (Windows) or press Option+Command+I (Mac). Go to Network and make sure that the Preserve log checkbox is ticked. Select Console and make sure Preserve Log checkbox is ticked. Replicate the issue.
We just did this recently with Firebug and NetExport:
http://www.softwareishard.com/blog/netexport/
You can configure NetExport to automatically export HAR files to a specified directory (compression optional). This has been useful for us in getting samples of resource loading data for particular web apps.
Have a look at the BrowserMob Proxy or run a private instance of WebPageTest and use WPT Monitor with it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With