Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Testing a httpd

by tomhukins (Curate)
on Nov 26, 2004 at 10:36 UTC ( #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.


Comment on Re: Testing a httpd

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-12-21 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (102 votes), past polls