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. The TCP port must be port 80 on the HTTP server for NQA HTTP tests.

Before you start HTTP tests, configure the HTTP server.

To configure HTTP tests:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter NQA test group view.

nqa entry admin-name operation-tag

N/A

3. Configure the test type as HTTP, and enter test type view.

type http

N/A

4. Configure the IP address of the HTTP server as the destination address of HTTP request packets.

destination ip ip-address

By default, no destination IP address is configured.

5. 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.

6. 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.

7. Configure the website that an HTTP test visits.

url url

N/A

8. Configure the HTTP version used in HTTP tests.

http-version v1.0

Optional.

By default, HTTP 1.0 is used.

9. Configure optional parameters.

See ""

Optional.