Get last test result

Hi all,

I am working on way to get test results in JSON format from WPT automatically indexed into Splunk. Splunk has a way to listen to rest endpoints and poll at regular intervals. Is there a way to get the last test result as a response from a WPT Rest API call?

Thanks,
Sri Gopal.

No need to go through the rest interface. WPT can be configured to log test results to a log file as the tests complete exactly for this reason: webpagetest/settings.ini.sample at master · WPO-Foundation/webpagetest · GitHub

That’s great … will try that option. Thanks Pat.