Test Timeoust With JavaScript Polling
|
11-23-2013, 12:18 AM
Post: #1
|
|||
|
|||
Test Timeoust With JavaScript Polling
Hi
I have just setup a private instance of WebPageTest and I have been trying out the scripting. The problem I have is some of the pages I'm testing use javascript polling. This means WebPageTest doesn't know when the page has finished loading and the test times out and no data is returned. Does anyone who or a way to get around this? The script I have written is as follows Code: logData 0 Luke |
|||
11-23-2013, 02:31 AM
(This post was last modified: 11-23-2013 02:34 AM by andydavies.)
Post: #2
|
|||
|
|||
RE: Test Timeoust With JavaScript Polling
Have you tried using setActivityTimeout to increase the timeout value?
https://sites.google.com/a/webpagetest.o...ityTimeout Or if it's just for one step setTimeout might do the trick for you: https://sites.google.com/a/webpagetest.o...setTimeout Andy Using WebPageTest - http://usingwpt.com/ |
|||
12-06-2013, 02:09 AM
(This post was last modified: 12-06-2013 02:13 AM by thelukemccarthy.)
Post: #3
|
|||
|
|||
RE: Test Timeoust With JavaScript Polling
Hi Andy
Thanks for the answer but that doesn't seem to work. The setActivityTimeout doesn't work because the page is always active due to the polling. The setTimeout does make the page timeout, like I want it to, however I don't get and data back. Instead I get and error message where the waterfall diagram should be "First View: Test Data Missing" any other ideas? Luke |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)