WebPagetest Forums
Get test IDs from api - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Get test IDs from api (/showthread.php?tid=15950)

Get test IDs from api - tapczan - 11-21-2019 02:31 AM


I would like to schedule a regular extraction of test results via API done in my private instance.
How can I get a list of "test_id" that are completed via API?
The only way I found is to extract them from filenames in /work/jobs/, but that seems like a very bad walkaround ...

RE: Get test IDs from api - pmeenan - 11-25-2019 11:52 PM

If you're the one running the tests then generally you just keep track of the test ID when the test is run. If you basically want to log all of the tests that are run even by other people you can turn on the automatic logging of test results as they are run: https://github.com/WPO-Foundation/webpagetest/blob/master/www/settings/settings.ini.sample#L192

There are also the test logs as tests are run in the log/ directory, one per day.