HTTP Test

Network requirements

As shown in Figure 1-5, Switch serves as the HWPing client, and a PC serves as the HTTP server. Perform a HWPing HTTP test between Switch and the HTTP server to test the connectivity and the time required to download a file from the HTTP server after the connection to the server is established.

Figure 1-5Network diagram for the HTTP test

IP network

10.1.1.1/810.2.2.2/8

Switch

HTTP Server

HWPing Client

Configuration procedure

zConfigure HTTP Server:

Use Windows 2003 Server as the HTTP server. For HTTP server configuration, refer to the related instruction on Windows 2003 Server configuration.

zConfigure HWPing Client (Switch):

# Enable the HWPing client.

<device> system-view

[device] hwping-agent enable

# Create a HWPing test group, setting the administrator name to "administrator" and test tag to "HTTP".

[device] Hwping administrator http

# Configure the test type as http.

[device-hwping-administrator-http] test-type http

# Configure the IP address of the HTTP server as 10.2.2.2.

[device-hwping-administrator-http] destination-ip 10.2.2.2

# Configure to make 10 probes per test.

[device-hwping-administrator-http] count 10

# Set the probe timeout time to 30 seconds.

[device-hwping-administrator-http] timeout 30

# Start the test.

[device-hwping-administrator-http] test-enable

# Display test results

[device-hwping-administrator-http] display hwping results administrator http

HWPing entry(admin

administrator, tag http) test result:

Destination ip

address:10.2.2.2

 

Send operation

times: 10

Receive response times: 10

Min/Max/Average Round Trip Time: 47/87/74

Square-Sum of Round Trip Time: 57044

Last succeeded test time: 2000-4-2 20:41:50.4

Extend result:

1-22

Page 633
Image 633
3Com WX3000 operation manual Http Test, # Configure the test type as http, # Configure the IP address of the Http server as