Current time: 12-13-2017, 03:50 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ability to override individual URLs in a test
04-28-2012, 02:40 AM
Post: #1
Ability to override individual URLs in a test
I'm trying to evaluate the impact of caching certain resources in my site on a CDN. For this, it would be really useful to be able to override individual URLs on a test page. For instance, something like this:

Code:
overrideUrl    http://foo.com/foo    http://bar.com/bar

Any time the test would request the "foo.com" URL, it would substitute the "bar.com" URL.
Find all posts by this user
Quote this message in a reply
07-20-2012, 05:08 AM
Post: #2
RE: Ability to override individual URLs in a test
There are some override commands (SetDnsName, overrideHostUrl) supported by the script interface.

https://sites.google.com/a/webpagetest.o...TOC-setDns

If the asset has the same filename on the CDN as the Origin server, you could use setDnsName to test with and without the CDN.

SetDnsName ExampleCDN.com ExampleOrigin.com

Would cause http://www.examplecdn.com/cool.jpg to get loaded from http://www.exampleorigin.com/cool.jpg during the test.

There have been a couple of recent articles about testing CDNs that you might find useful.

http://www.jonathanklein.net/2012/07/mea...-with.html
http://blog.catchpoint.com/2012/07/11/ho...mark-cdns/
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)