WebPagetest Forums
While calling curl api the result is showing pendng - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: While calling curl api the result is showing pendng (/showthread.php?tid=14886)



While calling curl api the result is showing pendng - bhaskar25 - 05-13-2017 06:37 AM

HI All,

I am using curl and PHP api to get the results from webpagetest.org. When i am running the script for one url it is showing your request pending and sometimes it is taking too long. Could anybody help me is there anyway to get results quickly.


RE: While calling curl api the result is showing pendng - pmeenan - 05-16-2017 11:24 PM

Define "taking too long".

WPT tests go into a priority queue and the tests are run in the order they are submitted (with API tests getting a lower priority than interactive users). If you are submitting tests to a busy location it could take hours before the test is run. Even if you are submitting to a less-busy location it will usually still take several minutes to get a result.

If you want control over the test times and need test results faster (or with guarantees) you need to run a private instance where you have full control over the capacity and testing.