Current time: 12-18-2017, 02:52 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automation / scripting
04-12-2010, 05:19 AM
Post: #1
automation / scripting
I now have a local hosted version of webpagetest running on my PC. This uses urlBlast to fire up the pagetest.ext app. (For some reason on my PC it doesn't work in IE7 as the CIEHook plug-in prevents my browser from connecting to any website). So I'm using pagetest.exe for now.

Now I would like to extend this further, and use the scripting capability that is provided: (See
http://sourceforge.net/apps/mediawiki/pa...g#navigate)

Is it possible to automate this? So either:
1. Can I access a restful URL where I point the locally hosted version of webpagetest at a script on my machine? Or,
2. Can I get URLBlast to run a script, or
3. Something else that I've missed!

Whatever the solution, I need an approach that I can automate.

It's also worth noting that because (for some odd reason) I can't get urlBlast to work with IE, the solution will have to use pagestest.exe.

Finally, once all this is up and running, where can I go to get the data from my tests?

Many thanks in advance,
Martin
Find all posts by this user
Quote this message in a reply
04-12-2010, 07:03 AM
Post: #2
RE: automation / scripting
You can automate the submitting of tests and getting results using the http API: http://www.webpagetest.org/docs/Automating_Pagetest

The web hosted version is really only good at presenting results for a single step though. If you want to record a series of transactions and do bulk testing you can use urlblast directly (without the web front end) by changing from mode 4 to mode 2 but that support is not really documented well. Running in that mode you provide it a list of urls (or scripts) you want tested and tell it where to put the results. It will keep cycling through the list on whatever interval you specify and save the page and transaction data in tab-delimited files. There's no UI for presenting the results in this mode though, just the raw data.

If you're interested in running urlblast directly let me know and I'll see if I can throw together some docs.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)