MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - run script using the API

WebPagetest Forums

Full Version: run script using the API
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I run/pass scripted tests to the API?

I see the API has the support for script=, but I don't see any documentation or examples on how to pass it to the API.

thanks.
Just URL encode the script that you would normally paste into the UI.
(06-29-2011 11:28 PM)pmeenan Wrote: [ -> ]Just URL encode the script that you would normally paste into the UI.


so it would be
&s=<url_encoded script> ?
Close. It would be &script=<url encoded script>
(06-30-2011 12:07 AM)pmeenan Wrote: [ -> ]Close. It would be &script=<url encoded script>

cool .thanks.
Reference URL's