WebPagetest Forums
Testing Durandal site with private instance - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Testing Durandal site with private instance (/showthread.php?tid=13405)



Testing Durandal site with private instance - nodomain - 11-26-2014 07:14 PM

Hi,
we are currently developing a single page application with Durandal (http://durandaljs.com/). Since we are using the single page application pattern somehow the test agent does not register when the page is completely loaded. So we need to always use the "minimal test duration" option and capture data for e.g. 30 seconds.
Is there any special javascript event that can be fired so that the test agent knows that the "page load" is finished?

Thanks a lot for the great software!


RE: Testing Durandal site with private instance - pmeenan - 11-27-2014 07:46 AM

Not really. There was support for a webpagetest.done() call or something like that in URLBlaster (the legacy agent) but it hasn't been updated.

Is there a specific network request that you see at the end of the load? If so, the "setEndRequest" script command may work. I may not have implemented it in wptdriver yet but that should be easy to add.


RE: Testing Durandal site with private instance - nodomain - 11-28-2014 12:50 AM

Thanks, I'll try that.