08-16-2013, 07:53 AM
Hi,
I was expecting that the 2 scenarios below would give exactly the same results, but they don't:
Senario 1:
Make a GET request like this:
http://www.webpagetest.org/runtest.php?s...les:Chrome
Result 1:
http://www.webpagetest.org/screen_shot.p...15_02_1155
Senario 2:
Run the script from home page:
navigate http://jsfiddle.net/ygaras/8SfM8/
Result 2:
http://www.webpagetest.org/screen_shot.p...15_BD_110G
The difference is console output is missing under the screen shot screen when the test is run through the api.
I also noticed that the source of the script is only available if the the same browser session requested the test is trying to view it – seems like some kind of security feature?
Is the above behavior expected? Is there a way to make a request throughout the api and be able to view the console output and script source?
Thanks.
I was expecting that the 2 scenarios below would give exactly the same results, but they don't:
Senario 1:
Make a GET request like this:
http://www.webpagetest.org/runtest.php?s...les:Chrome
Result 1:
http://www.webpagetest.org/screen_shot.p...15_02_1155
Senario 2:
Run the script from home page:
navigate http://jsfiddle.net/ygaras/8SfM8/
Result 2:
http://www.webpagetest.org/screen_shot.p...15_BD_110G
The difference is console output is missing under the screen shot screen when the test is run through the api.
I also noticed that the source of the script is only available if the the same browser session requested the test is trying to view it – seems like some kind of security feature?
Is the above behavior expected? Is there a way to make a request throughout the api and be able to view the console output and script source?
Thanks.