I've used this reference for doing Automated Page Load Performance test in Selenium using Firefox, Firebug and NetExport (A Firebug extension). My final aim is just to extract the page load time from the HAR file. The HAR file gets generated and is stored on the local disk. That works perfectly.
There is a second approach described in the reference I've linked above having a header "Send HAR files to Server". I followed the steps described but not sure about where to save the PHP script shown later. I tried to keep it in http://localhost/har-db
and gave the PHP file some name viz. getHARData.php
but don't know what to write in the JAVA program so that it will access that file. The file desires to receive a REQUEST
parameter but not sure how to make it access the URL it wants as a REQUEST
variable. All the code is available on the linked site. I've not done any improvisations except changing the paths of .xpi
files of the Firefox extensions.
Any optimized workarounds are most welcome.