MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Scripting doesn't work

WebPagetest Forums

Full Version: Scripting doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Getting server error right after submitted when trying to submit simple script with two navigates.

The goal was to test caching on the page after another page is loaded first.
Can you shoot the script over to me? The most common case of errors is that the commands have spaces in them instead of tabs (working on automatically parsing with spaces).

For a multi-step script you also need to designate what should be measured and how (either combine the whole script into a single step or ignore all but one of the navigations). This won't generate an error if you don't do it but the results will not be what you expect.

Here is what a sample should look like:

Code:
logData    0
navigate    http://www.cnn.com/
logData    1
navigate    http://www.cnn.com/2011/WORLD/africa/01/28/south.africa.mandela.hospitalized/index.html?hpt=T2

(make sure there are tabs after the commands, it may not copy/paste well from the forums).

And this is what the result would look like: http://www.webpagetest.org/result/110128...c7986ea85/

Thanks,

-Pat
(01-28-2011 11:49 PM)pmeenan Wrote: [ -> ]Can you shoot the script over to me? The most common case of errors is that the commands have spaces in them instead of tabs (working on automatically parsing with spaces).
...

Yes, it was the problem with tabs...
Reference URL's