Catchpoint WebPageTest Documentation

Testing for Frontend SPOF

Frontend Single Points of Failure (SPOF) can critically impact web performance, given the continuing rise in 3rd-party widgets on pages it is becoming increasingly important as it is causing delays or complete failure in page loading if third-party scripts or resources fail. Identifying and mitigating these risks is essential for maintaining a resilient website.

WebPageTest simulates failure of specified domains by rerouting requests to blackhole.webpagetest.org, which silently drops all traffic. A blackhole server behaves as expected when testing the failure mode for third-party widgets.

Steps to Test

Using SPOF Tab

Enter all hosts that you want to fail against your test and hit start test.

Using Scripting

setDnsName ajax.googleapis.com blackhole.webpagetest.org 
setDnsName apis.google.com blackhole.webpagetest.org 
setDnsName www.google-analytics.com blackhole.webpagetest.org 
setDnsName connect.facebook.net blackhole.webpagetest.org 
setDnsName platform.twitter.com blackhole.webpagetest.org 
navigate your.url.com 

Paste the script into the script box, ensure "capture video" is checked.