WebPagetest Forums
WebPagetest 1.7 Now Available - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: WebPagetest 1.7 Now Available (/showthread.php?tid=66)

Pages: 1 2 3

RE: WebPagetest 1.7 Now Available - pmeenan - 12-18-2009 12:43 AM

Yes, the releases of the hosted version are just snapshots of the code that is used to run the public site (usually when there have been enough changes to warrant it and when it is stable). If you feel like living on the bleeding edge the code is live in SVN here: http://code.webpagetest.org/svn/webpagetest

I'll probably cut a new release just after Christmas.

There's no formal roadmap. Most of the enhancements/planning is kept in TRAC here: http://dev.webpagetest.org/webpagetest/report/6 but a lot of the development is driven by ad-hoc needs (and whatever I feel like working on at the time :-) ).



RE: WebPagetest 1.7 Now Available - ExKwhanDo - 12-18-2009 02:22 AM

Yeah, Great ! I'll test it now, CPU usage is very usefull

Working with the urlblast available in 1.7 version ?

RE: WebPagetest 1.7 Now Available - pmeenan - 12-18-2009 02:24 AM

Yep. The CPU (and memory) information has been captured by urlblast/pagetest for quite some time. I just hadn't had a chance to add it to the UI yet.

RE: WebPagetest 1.7 Now Available - ExKwhanDo - 12-24-2009 01:02 AM

Just a question :

With the automation runtest.php, how is it possible to capture the xmlresults as a *.xml file that appears in the first xml response ?

It is to parse the results with logparser after

RE: WebPagetest 1.7 Now Available - pmeenan - 12-24-2009 01:08 AM

The details are here - http://sourceforge.net/apps/mediawiki/pagetest/index.php?title=Automating_Pagetest

You need to make the runtest.php request with the f=xml parameter and then parse the result to get the xmlUrl from the result which will have the details.

There is no way (currently anyway) to get the xml results directly in response to submitting to runtest.

RE: WebPagetest 1.7 Now Available - ExKwhanDo - 12-24-2009 01:11 AM

Yeah, that's what i'm doing since the begining but I would like to have a method do get the xml results as an *.xml file
I tried to parse the *.txt in the folders but with recursive search it takes too much time

I thought about a timer (about 5 minutes) but i don't have any way to get the results as a file on the hdd

Gatting everything in the same directory will make it much easier to parse

RE: WebPagetest 1.7 Now Available - pmeenan - 12-26-2009 12:37 AM

Is there a reason you don't want to use the http api to get the xml files? It shouldn't be any harder than crawling the local directories. You also shouldn't need to do a recursive search (if you want to go the way of scanning for the files) - the test ID can be decoded directly to a file path where the results are stored on disk. You do still need to have the logic in place to wait for the test to complete before scraping the results.

If you want to move to more of a push, you can modify work/workdone.php to do whatever you want when the test is complete (write the cml out to a specific location for example or kick off a script).


RE: WebPagetest 1.7 Now Available - ExKwhanDo - 02-18-2010 12:52 AM

I use the http API but I don't succeed to have the XML on the disk Sad
Ho would you do in the workdone.php to export to a specific directory ?

Actually I would like to have the 2nd xml file when the test is done (the one where you can find all the data)
For the moment I use LogParser to ping the page and start a test and I get the URL that I want.
I collect all of them in a txt file.
Now I would like to parse all the txt file where each line is an URL where I can have my data.
I think that the best way is to download each URL as a xml file in one directory and parse them afer instead of requesting the server each time)
As my tests are done every 4 hour of the day (4 tests per day) I want the script to download each new test as an XML file in the directory ...

RE: WebPagetest 1.7 Now Available - pmeenan - 02-18-2010 05:24 AM

You can certainly modify workdone.php to run the code that is in xmlResult and spit out an xml file to disk instead of to the browser. It's just not designed to do that as things stand and it's expecting that if you're using the http API to submit tests you will also be using the http api to get the results. All of the information in the xml files is available in the raw csv files (probably even easier to parse) that are already written out to disk with the test results (*_IEWPG.txt and *_IEWTR.txt).



RE: WebPagetest 1.7 Now Available - ExKwhanDo - 02-18-2010 06:37 PM


I tried to parse the *.txt files but the problem is that I use LogParser from Microsoft and there's a problem with the recursive parsing (it takes too many time).
The best way is to add a line in the workdone.php in order to put the *.xml results in one folder, it will be easier to parse Smile
I'll try to develop a little bit of code to do that.

Edit :

I have done that, the process works locally but when I use it in the workdone.php, nothing works, do you have any idea about where it could be wrong?
I have pasted it at the end of the code after the KeepMedianVideo() Function.