Current time: 09-16-2019, 10:19 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Completely Automated webpagetest application
05-14-2011, 03:24 AM
Post: #4
RE: Completely Automated webpagetest application
(03-07-2011 05:25 AM)chainsaw Wrote:  
(06-15-2010 07:14 AM)ruddh Wrote:  Is there any program that is basically this site but automated? I need a program that automatically checks my site every day and exports the results into a spreadsheet or similar output without me doing anything.

I wrote a script to do exactly that using the Webpagetest API. See

https://sites.google.com/a/webpagetest.o...stful-apis

My script requests tests and writes test results to a CSV.

Could you kindly share the basic script outline? I downloaded cURL for Windows and succeeded in launching a test from the command line, but don't know how to get hold of the URL for the result:

C:\> curl -o result_test.htm "http://www.webpagetest.org/runtest.php?k=<myapikey>&url=www.cnn.com"

where <myapikey> was provided by Pat. Unfortunately, result_test.htm was not created. But I did see my test appear in the "Test History" page:
http://www.webpagetest.org/result/110512_ED_KGHB/

Bottom line question: how would I capture the result ID "110512_ED_KGHB" in a script?

Thanks,
Anshul
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Completely Automated webpagetest application - agraan - 05-14-2011 03:24 AM

Forum Jump:


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