
123
To do…
Use the command…
Remarks
Configure optional parameters
See “
optional parameters for
an NQA test group
”
Optional
NOTE:
•
When you execute the
put
command, the NQA client creates a file
named file-name of fixed size on the
FTP server. The
file-name argument does not represent any file on the NQA client. When you execute the
get
command, the client does not save the files obtained from the FTP server.
•
When you get a file that does not exist on the FTP server, FTP tests fail.
When you perform an FTP test, use a small file and set a long NQA probe timeout time. A big file or
short probe timeout time may result in probe timeout.
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