WebPagetest Forums

Full Version: Uploading External Har files to Webpagetest
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

We have some external hars generated for our ios mobile devices. Can you let me know how to import them to webpagetest. i read https://sites.google.com/a/webpagetest.o...har-upload but didn't find good example.


Thanks
Saikumar
The HAR files are not meant to be imported, they are meant to be posted to work/workdone.php as the result of running a test (automatically by a test agent).
I am also interested in a feature like this (https://github.com/WPO-Foundation/webpag...ssues/21). How simple would it be to add uploading a HAR via a POST? Where can I begin calling workdone.php via the POST?
There is an import.php entry point for importing tests (rather than hacking it into workdone.php). Right now it only knows how to process dev tools timeline files. You'd need to modify it to take HAR files.
Hey,

I am sending post request as form-data with location,id,har,file and done parameters. but not getting response.

If I am opening results/{id} also, not seeing any report.

Sending devtools with import.php is not providing grades, Performace Review.

Thanks,
Ankit Patel
Reference URL's