Get test IDs from api

Hi,

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 …

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.