beautypg.com

Configuring an http test, Configuration prerequisites – H3C Technologies H3C SecPath F1000-E User Manual

Page 78

background image

12

Configuring an HTTP Test

An HTTP test is used to test the connection between the NQA client and a specified HTTP server and the

time required to obtain data from the HTTP server, thus detecting the connectivity and performance of the

HTTP server.

Configuration prerequisites

Before performing an HTTP test, configure the HTTP server.

Configuring an HTTP test

Follow these steps to configure an HTTP test:

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 destination address

for a test operation

destination ip ip-address

Required
By default, no destination IP

address is configured for a test
operation.
The destination IP address for a test
operation is the IP address of the

HTTP server.

Configure the source IP address of
a probe request

source ip ip-address

Optional
By default, no source IP address is
specified.
The source IP address must be that
of an interface on the device and

the interface must be up.

Otherwise, the test will fail.

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
the HTTP test

http-version v1.0

Optional
By default, HTTP 1.0 is used in an

HTTP test.

Configure common optional
parameters

See

Configuring Optional

Parameters Common to an NQA

Test Group

Optional