122
8. (Optional.) Specify the HTTPS
operation type.
operation
{
get
|
post
|
raw
}
By default, the HTTPS operation type is
get
, which means obtaining data from
the HTTPS server.
If you set the HTTPS operation type to
raw
, use the
raw-request
command to
configure the content of the request to
be sent to the HTTPS server.
9. (Optional.) Enter raw request
view.
raw-request
This step is required for the
raw
operation.
Every time you enter the raw request
view, the previously configured request
content is removed.
10. (Optional.) Enter or paste the
content of the HTTPS request
for the HTTPS operation.
N/A
This step is required for the
raw
operation.
By default, the HTTPS request content
is not specified.
11.
(Optional.) Return to HTTPS
template view.
quit
The system automatically saves the
configuration in raw request view before
it returns to HTTPS template view.
12. (Optional.) Specify the source
packets.
• IPv4 address:
source ip ip-address
• IPv6 address:
source ipv6
ipv6-address
By default, the packets take the primary
IP address of the output interface as
their source IP address.
The source IP address must be the IP
address of a local interface, and the
interface must be up. Otherwise, no
probe packets can be sent out.
13. (Optional.) Co
expected data.
expect data
expression
[
offset
number ]
By default, no expected data is
configured.
14.
(Optional.) Configure the
expected status codes.
expect status
status-list
By default, no expected status code is
configured.
Configuring the FTP template
A feature that uses the FTP template performs the FTP operation. The operation measures the time
it takes the NQA client to transfer a file to or download a file from an FTP server.
Configure the username and password for the FTP client to log in to the FTP server before you
perform an FTP operation. For information about configuring the FTP server, see Fundamentals
Configuration Guide.
To configure the FTP template:
1. Enter system view.
N/A
2.
and enter its view.
nqa template ftp
name By default, no FTP templates exist.
3.
destination FTP server.
url
url
By default, no URL is specified for the
destination FTP server.
Enter the URL in one of the following
formats:
• ftp://host/filename.
• ftp://host:port/filename.