I’m trying to run a script on my installation of webpagetest. I first load a page, then enter search term and hit search. Works pretty good. But now, I want to make a video out of it and for some reason this freezes the browser on the testing machine.
It probably won’t help to upgrade. The video recording is still very new and I haven’t done any testing with it and scripted tests. The scripted test support in general is pretty weak and needs a lot of work. I’m not entirely sure when I’ll get aa chance to look at it though as I have some other things I need to work on first.
The c++ bits (pagetest.exe, pagetest.dll and urlblast.exe are in “pagetest” and the web pieces (all the php) is in “webpagetest”.
It’s some pretty hairy code with minimal architecture docs at this point so if you are going to be working with it feel free to ping me with any questions or for a higgh-level overview.
I run visual comparisons all the time for logged in tests (logging into AOL Mail for example). As long as you only need to record video for a single step of the transaction it will work fine (logdata 0, logdata 1 in the script around the parts not to record). Where it falls apart is if you need video for multiple steps all in one sequence.
I have an idea for how to make a multi-step sequence work without much change to the code but I haven’t had a chance to implement it yet (basically don’t stop measuring intil the end of the script is hit). If you do need the multi-step capabilities I can see about getting it done this week.