Blog
Top 10 SolarMovie Like Site to Watch Movies Online
SolarMovie is a website that allows you to watch movies online, free without any payment. The...
Before we learn more about webpagetest API, let's understand-
Webpagetest is one of the most popular and free tools for measuring webpage performance. Webpagetest enables you to run web performance tests on your site from a number of different locations across the world in a number of different browsers.
Enter your website and click Start Test. Next, you will see the output window like below
From this page, you can find values for following parameters of your webpage
Webpagetest has 2 primary API
To Run Tests:
This information gives the test ID, the start time, the number of runs the test requested, etc.
Pass the tested to the API - http://www.webpagetest.org/xmlResult/141107_12_BXZ/
You will see the Test results in XML format like below
<?php $url = <a href=http://gtupapers.com //url to test $api_key = "<your-copy-api-key>"; // your api key $webpagetest = "http://www.webpagetest.org/runtest.php?url=$url&runs=1&f=xml&k=$api_key"; $xmlres = simplexml_load_file($webpagetest); $testid = $xmlres->data->testId; echo "Test id : ".$testid." For url : ".$url; ?>
<?php
$test_id = "<test-id-you-got-from-request-call>";
$weburl = "http://www.webpagetest.org/xmlResult/$test_id/";
$xmlres = simplexml_load_file($weburl);
if($xmlres){
$loadtime = ($xmlres->data->average->firstView->loadTime)/1000;
echo "WebPage loadtime is : ".$loadtime;
}
?>
SolarMovie is a website that allows you to watch movies online, free without any payment. The...
Matrix Function in R A matrix function in R is a 2-dimensional array that has m number of rows and...
What is MVC? The MVC framework is an architectural pattern that separates an applications into...
Sublime Text is source code editor majorly used for the MAC platform. It offers native support for...
$20.20 $9.99 for today 4.5 (119 ratings) Key Highlights of Linux Tutorial PDF 186+ pages eBook...
Download PDF 1: What is a shell? Shell is an interface between the user and the kernel. Even...