From Fedora Project Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|setup=
|setup=
# A working web servers are required with the following configurations.
# A working web servers are required with the following configurations.
## '''WEBSERVER''': A web server listening on port 80.
## {{command|WEBSERVER}}: A web server listening on port 80.
## '''WEBSERVER_ALTPORT''': A web server listening on port 8000.
## {{command|WEBSERVER_ALTPORT}}: A web server listening on port 8000.
## '''WEBSERVER_HTTPS''': A web server with HTTPS support.
## {{command|WEBSERVER_HTTPS}}: A web server with HTTPS support.
## '''WEBSERVER_BASIC_AUTH''': A web server with basic HTTP authentication.
## {{command|WEBSERVER_BASIC_AUTH}}: A web server with basic HTTP authentication.
 
# Ensure the {{package|httping}} package is installed.
# Ensure the {{package|httping}} package is installed.
|actions=  
|actions=  
# Run HTTPing against '''WEBSERVER''' : '''httping -g http://WEBSERVER/'''
# Run HTTPing against WEBSERVER : {{command|httping -g http://WEBSERVER/}}
# Run HTTPing against '''WEBSERVER_ALTPORT''': '''httping -h WEBSERVER_ALTPORT -p 8000'''
# Run HTTPing against WEBSERVER_ALTPORT: {{command|httping -h WEBSERVER_ALTPORT -p 8000}}
# Run HTTPing against '''WEBSERVER_HTTPS''': '''httping -l -g https://WEBSERVER_HTTPS/'''
# Run HTTPing against WEBSERVER_HTTPS: {{command|httping -l -g https://WEBSERVER_HTTPS/}}
# Run HTTPing against '''WEBSERVER_BASIC_AUTH''':  httping -g http://WEBSERVER_BASIC_AUTH/ -A -U USERNAME -P PASSWORD
# Run HTTPing against WEBSERVER_BASIC_AUTH:  {{command|httping -g http://WEBSERVER_BASIC_AUTH/ -A -U USERNAME -P PASSWORD}}
|results=
|results=
# In all cases, you should see HTTPing results which looks like ping output.
# In all cases, you should see HTTPing results which looks like ping output.
}}
}}

Latest revision as of 22:26, 28 May 2011

Description

This test case tests the ability of HTTPing to measure the latency of a web server

Setup

  1. A working web servers are required with the following configurations.
    1. WEBSERVER: A web server listening on port 80.
    2. WEBSERVER_ALTPORT: A web server listening on port 8000.
    3. WEBSERVER_HTTPS: A web server with HTTPS support.
    4. WEBSERVER_BASIC_AUTH: A web server with basic HTTP authentication.
  2. Ensure the httping package is installed.

How to test

  1. Run HTTPing against WEBSERVER : httping -g http://WEBSERVER/
  2. Run HTTPing against WEBSERVER_ALTPORT: httping -h WEBSERVER_ALTPORT -p 8000
  3. Run HTTPing against WEBSERVER_HTTPS: httping -l -g https://WEBSERVER_HTTPS/
  4. Run HTTPing against WEBSERVER_BASIC_AUTH: httping -g http://WEBSERVER_BASIC_AUTH/ -A -U USERNAME -P PASSWORD

Expected Results

  1. In all cases, you should see HTTPing results which looks like ping output.