Configuring The Http Template - HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexNetwork 5510 HI Series:
Table of Contents

Advertisement

Step

Configuring the HTTP template

A feature that uses the HTTP template performs the HTTP operation to measure the time it takes the
NQA client to obtain data from an HTTP server.
The expected data is checked only when the data is configured and the HTTP response contains the
Content-Length field in the HTTP header.
The status code of the HTTP packet is a three-digit field in decimal notation, and it includes the
status information for the HTTP server. The first digit defines the class of response.
Configure the HTTP server before you perform the HTTP operation.
To configure the HTTP template:
Step
1.
Enter system view.
2.
Create an HTTP template and
enter its view.
3.
Specify
destination HTTP server.
4.
Specify
username.
5.
Specify
password.
6.
(Optional.) Specify the HTTP
version.
7.
(Optional.) Specify the HTTP
operation type.
8.
(Optional.) Enter raw request
view.
9.
(Optional.) Enter or paste the
content of the HTTP request
for the HTTP operation.
10. (Optional.) Return to HTTP
template view.
Command
Command
system-view
nqa template http name
the
URL
of
the
url url
an
HTTP
login
username username
an
HTTP
login
password
simple } string
version { v1.0 | v1.1 }
operation { get | post |
raw }
raw-request
N/A
quit
Remarks
already executed.
Remarks
N/A
By default, no HTTP templates exist.
By default, no URL is specified for the
destination HTTP server.
Enter the URL in one of the following
formats:
By default, no HTTP login username is
specified.
{
cipher
|
By default, no HTTP login password is
specified.
By default, HTTP 1.0 is used.
This command is available in Release
1121 and later.
By default, the HTTP operation type is
get, which means obtaining data from
the HTTP server.
If you set the HTTP operation type to
raw, use the raw-request command to
specify the content of the HTTP
request to be sent to the HTTP server.
This step is required for the raw
operation.
Every time you enter the raw request
view, the existing request content
configuration is removed.
This step is required for the raw
operation.
By default, the HTTP request content
is not specified.
The system automatically saves the
configuration in raw request view
120
http://host/resource.
http://host:port/resource.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents