Scripting access to a website using different ips

151 views Asked by At

I would like to test automatically my website from different locations in order to localize content's presentation. I think I have to write a bash script to access the website with wget program, using an ip from a list. There is somewhere an established solution to this kind of problem ?

1

There are 1 answers

0
mcoolive On BEST ANSWER

There is many solutions. I think to these ones :

  1. IP spoofing. But it's not easy. In particular if you want orchestrate these tests to automate them...

  2. Another solution is to use a reverse-proxy. An example: your application is hosted by Tomcat and you use Apache as reverse proxy. In this case you can easily configure several end-points in Apache where you lie about XFF

  3. Another solution, you can rent VM in the cloud. This is a good approach if you want to perform real performance tests from a remote client, or check the behavior of Internet cache...

  4. Some compagnies sells services to check availability of your web-stuff from different sites.