No. Data
6 Start mode and end mode of the test
6.8.2 Configuring HTTP Test Parameters
This part describes how to set HTTP test parameters.
Context
Do as follows on the NQA client (HTTP client):
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
nqa test-instance admin-name test-name
An NQA test is created and the view is displayed.
Step 3 Run:
test-type http
The test type is set to HTTP.
Step 4 Run:
destination-address ipv4 ip-address
The destination IP address is configured.
Step 5 (Optional) Perform the following as required to configure other parameters for the HTTP test
( For detailed parameter configurations, see the chapter Configuring Universal NQA Test
Parameters ):
l To configure the VPN instance to be tested, run the vpn-instance vpn-instance-name
command.
NOTE
Only S5700EI and S5700HI support the vpn-instance command.
l To configure the source IP address, run the source-address ipv4 ip-address command.
l To configure the source port, run the source-port port-numbercommand.
l To configure the destination port, run the destination-port port-number command.
l To configure the percentage of the failed NQA HTTP tests, run the fail-percent percent
command.
l To configure the NQA test packet to be sent without searching the routing table, run the
sendpacket passroute command.
Step 6 Run:
http-operation { get | post }
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management 6 NQA Configuration
Issue 01 (2011-10-26) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
270