WebPagetest Forums

Full Version: Get test IDs from api
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/webpag...ample#L192

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