decebel has asked for the wisdom of the Perl Monks concerning the following question:
I am not sure if this is right place to post this question as I posted one already on another section. Giving myself benefit of doubt, and a first timer on this excellent website for perl folks, I will ask again !!
I am trying to perform some functional testing on a particular website.Basically, users can visit the website from different countries. And based upon the location of the user, the site displays relevant information. The webserver uses an external software that does the client IP to country mapping.
My question is, how do I simulate the GET requests to this server from the varied locations/country ? One solution that comes to my mind is to use free http proxies in various countries and write custom code using say LWP module for making the requests routed from the proxies.
The difficulty I am facing with this approach is that the current list of web proxies I could find from google do not work with a simple GET/POST form for submitting the URL to the proxy. So automation is not easy. Instead they work with some additional headers such as the cookies and it gets quite cumbersome figuring out the logic for each of the free proxy's URL form logic. To add to the problem, the free proxies are online only for a few hours.
Did people have had any similar experiences? Any advice/feedback would be very helpful.Gracias, Decebel
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Effective request simulation from various location
by smiffy (Pilgrim) on Nov 03, 2008 at 01:26 UTC | |
|
Re: Effective request simulation from various location
by BerntB (Deacon) on Nov 03, 2008 at 00:44 UTC | |
|
Re: Effective request simulation from various location
by Perlbotics (Archbishop) on Nov 03, 2008 at 21:44 UTC |