Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Testing a httpd

by tomhukins (Curate)
on Nov 26, 2004 at 10:36 UTC ( [id://410548]=note: print w/replies, xml ) Need Help??


in reply to Testing a httpd

As with any code, you should test your objectives. When you wrote your nice httpd what did you set out to achieve? Test these things.

You should test the features that your httpd provides, as well as those aspects of the HTTP specification that you claim to support. Ideally, you would also test how your httpd responds to requests it can't deal with. The HTTP Implementor's Forum might help you.

LWP::Simple will allow you to perform simple tests (as its name suggests!), but you won't be able to use HTTP's POST method. I would suggest you investigate Test::WWW::Mechanize.

Finally, you might want to test your httpd against the behaviour of common browsers using Win32::IE::Mechanize or the WWW::Mechanize::Shell modules.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found