From Fedora Project Wiki
(Imported from my sandbox) |
(fix category) |
||
Line 17: | Line 17: | ||
}} | }} | ||
[[Category:Security Lab]] | |||
[[Category:Test Cases]] | [[Category:Test Cases]] | ||
Revision as of 08:53, 28 May 2011
Description
This test case tests the ability of HTTPing to measure the latency of a web server
Setup
- A working web servers are required with the following configurations.
- WEBSERVER: A web server listening on port 80.
- WEBSERVER_ALTPORT: A web server listening on port 8000.
- WEBSERVER_HTTPS: A web server with HTTPS support.
- WEBSERVER_BASIC_AUTH: A web server with basic HTTP authentication.
- Ensure the
httping
package is installed.
How to test
- Run HTTPing against WEBSERVER : httping -g http://WEBSERVER/
- Run HTTPing against WEBSERVER_ALTPORT: httping -h WEBSERVER_ALTPORT -p 8000
- Run HTTPing against WEBSERVER_HTTPS: httping -l -g https://WEBSERVER_HTTPS/
- Run HTTPing against WEBSERVER_BASIC_AUTH: httping -g http://WEBSERVER_BASIC_AUTH/ -A -U USERNAME -P PASSWORD
Expected Results
- In all cases, you should see HTTPing results which looks like ping output.