R3204P16-HP Load Balancing Module High Availability Configuration Guide-6PW101
59
NOTE:
• When you execute the put command, a file
file-name
with fixed size and content is created on the FTP
server. When you execute the get command, the device does not save the files obtained from the FTP
server.
• When you download a file that does not exist on the FTP server, FTP tests fail.
• When you execute the get command, use a file with a small size. A bi
g
file may result in test failure due
to timeout, or may affect other services for occupying too much network bandwidth.
Configuring HTTP tests
HTTP tests of an NQA test group are used to test the connection between the NQA client and an HTTP
server, and the time required to obtain data from the HTTP server. HTTP tests enable you to detect the
connectivity and performance of the HTTP server.
Configuration prerequisites
Before you start HTTP tests, configure the HTTP server.
Configuring HTTP tests
Follow these steps to configure HTTP tests:
To do… Use the command…
Remarks
Enter system view system-view —
Enter NQA test group view
nqa entry admin-name
operation-tag
—
Configure the test type as HTTP
and enter test type view
type http Required
Configure the IP address of the
HTTP server as the destination
address of HTTP request packets
destination ip ip-address
Required
By default, no destination IP address is
configured.
Configure the source IP address of
request packets
source ip ip-address
Optional
By default, no source IP address is specified.
The source IP address must be the IP address
of a local interface. The local interface must
be up; otherwise, no probe packets can be
sent out.
Configure the operation type operation { get | post }
Optional
By default, the operation type for the HTTP is
get, which means obtaining data from the
HTTP server.
Configure the website that an HTTP
test visits
url url Required
Configure the HTTP version used in
HTTP tests
http-version v1.0
Optional
By default, HTTP 1.0 is used.
Configure optional parameters
See “Configuring
optional parameters for
an NQA test group”
Optional