WebPagetest Forums
Archiving scripts - paths - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: Archiving scripts - paths (/showthread.php?tid=12543)

Archiving scripts - paths - ash - 09-11-2013 06:39 PM


Is it possible to put results at destination server in folders structure created according to actual date of the test?

Now test is put into path that is created based on date of archiving. Sometimes it can be confusing if someone takes results path into consideration.

RE: Archiving scripts - paths - pmeenan - 09-12-2013 12:05 AM

Which script are you referring to? The cli/archive.php script archives tests to directories based on the test date (same structure as the tests themselves actually). The tests themselves are also stored relative to when the test was created.

If you are talking about submitting a large number of tests that takes several days to run and wanting the directory to be the date it was run rather than the date it was submitted, that's not likely to happen - too many changes would have to happen. The test ID's (which are assigned when the test is submitted) have the date baked into them.

RE: Archiving scripts - paths - ash - 09-13-2013 05:46 AM


I mean link "Publish to..." accessible on test details page. I have two instances of WPT Server - one with data retention and another where I'd like to store tests to link to them from documents. They need to last longer.

RE: Archiving scripts - paths - pmeenan - 09-13-2013 06:01 AM

Ahh, gotcha - you want the published tests to use the same date as the original test. I created a feature request to track it: https://github.com/WPO-Foundation/webpagetest/issues/122 Shouldn't be too hard to implement.

RE: Archiving scripts - paths - ash - 09-13-2013 08:54 AM

Exactly! :-) Sorry for not being clear.

Thanks, Patrick.