Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: communicating with webservers.

by sundialsvc4 (Abbot)
on Jun 19, 2014 at 12:43 UTC ( [id://1090454]=note: print w/replies, xml ) Need Help??


in reply to communicating with webservers.

No, you should do it all on your own system!   Simply set up your own command-line webserver (trivially easy to do with Perl ...), listening to some port-number (greater than 1024) such as localhost:2222, and run it from an open command-line window.   The responses from this script will be identical to those that would be produced by any server “on the Web,” but much easier to deal with because you can see and control both sides ... all without annoying anybody!   Even though the data does not “go” anywhere, for diagnostic (and testing) purposes it is the same.

For a production system, I would go one step further and write .t test-scripts which, among other things, launch the test server and send messages to it, verifying that the correct responses are obtained.   Such test-results will be applicable to what the system can be expected to do when it is talking to the real Web.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-23 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found