Current time: 04-25-2017, 03:15 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does wpt find test results?
03-11-2017, 10:05 AM
Post: #1
How does wpt find test results?
I am migrating my private instance to a new server and i'm trying to keep all the history, logs, test results, etc.

- The old server has archived all test results to S3
- i configured the new server to point at the same S3 server/bucket
- I have copied ../www/logs/*

I can now see the test history (thanks to the files in www/logs) but when i open any tests that I know are in S3, it says "test not found"

The test does not exist in ../www/results on the new server, nor do any of the related directories because the test never lived on the new server ...

I assumed it was something like this:
- request test result <xyz> in the GUI
- wpt looks for it in the log files (in ../www/logs) to see if it's valid
- if it is, wpt looks in the ../www/results/YY/MM/DD/... folder
- if it's not there, wpt checks settings.ini for the type of archiving
- wpt pulls if from the archive (archive_directory or S3)
- then unzips it and shows it in the GUI

Am I forgetting something?

... tips/tricks?
Find all posts by this user
Quote this message in a reply
03-12-2017, 01:45 PM
Post: #2
RE: How does wpt find test results?
Update:
This was my own mistake! I didn't make the changes that i submitted in my own pull request! (https://github.com/WPO-Foundation/webpagetest/pull/843) ... doh!
In any case, I got it working and it seems to work as described in my initial post...
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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