Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Effective request simulation from various location

by BerntB (Deacon)
on Nov 03, 2008 at 00:44 UTC ( #721002=note: print w/replies, xml ) Need Help??


in reply to Effective request simulation from various location

I'd personally settle for a mock object for the external code finding the country from the IP. Or script the web side to set the IP address of the GET request.

But then you can't test it easily from the web side exclusively, of course.

  • Comment on Re: Effective request simulation from various location

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://721002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-10-26 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?