Using web page test with a custom IP address

I recently had a need to speed test a site that was almost launched. Since the site required an SSL cert we’d been doing our final tests with local host files. However, we wanted to get an external network’s view of our site and for that we always use the wonderful http://www.webpagetest.org/. The obvious problem that we ran into was that they wouldn’t have access to our local copies of DNS.

Luckily the answer was simple, they have a great scripting interface along with very comprehensive documentation.

All we had to do was enter this into the Script tab:

setDns www.example.com 456.456.456.456
navigate https://www.example.com

One thought on “Using web page test with a custom IP address

  1. worked like a charm, thanks for sharing buddy!
    searching for that for hours, but even in their documentation the examples are not really good.
    Worked perfect with your example.

    Thanks!
    G.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.