<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


HOW TO test web page content that is IP address specific

If you dynamically serve content (like ads, country specific links etc) to your website visitors based on their IP address, you'll need ways to test if that content is delivered appropriately.

While nothing beats having actual people from the targeted locations to test it, there are inexpensive alternatives to verify IP address-based geo-targeted content by inspecting screenshots of rendered pages or directly interact with a web page from a specific IP address.

I. Web performance analysis tools like WebPageTest.org can provide screen-shots & even a video of a web page as it loads. WebPageTest.org is a free service that allows you to submit a URL to test it on one of the following 35 locations:

1 Dulles, VA USA
2 New York, NY USA
3 Chicago, IL USA
4 Kansas City, MO USA
5 Denver, Colorado
6 Phoenix, AZ
7 Boardman, Oregon
8 Los Angeles, CA USA
9 Montreal, Canada
10 Toronto, Canada
11 Buenos Aires, Argentina
12 São Paulo, Brasil
13 Dublin, Ireland
14 Manchester, UK
15 London, UK
16 Paris, FR
17 Brussels, BE
18 Amsterdam, NL
19 Amsterdam, NL
20 Vianen, NL
21 Geneva, Switzerland
22 Falkenstein, Germany
23 Vienna, Austria
24 Copenhagen, Denmark
25 Stockholm, Sweden
26 Israel
27 Moscow, Russia
28 Saint Petersburg, Russia
29 Indore, M.P., India
30 Singapore
31 Shanghai, China
32 Seoul, Korea
33 Tokyo, Japan
34 Sydney, Australia
35 Wellington, NZ

II. Use (a trial version of) a IaaS cloud service like Azure to get a Virtual Machine from among globally distributed data-centers. You can connect remotely to the VM from your local computer and test a web page directly using the remote computer's IP address.
Azure operates out of 15 regions around the world, and has plans for 2 new regions in Australia later this year. 

Also see:
HOW TO test a web page in different versions of IE
HOW TO measure page load times across continents for free

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment