< Home

http-operation

Function

The http-operation command configures an operation type of HTTP.

Format

http-operation get

Parameters

Parameter Description Value
get Obtains data from the HTTP server. -

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

Before using the http-operation command, run the test-type command to specify the type of the test instance as http.

Precautions

You cannot change the operation type of the currently performed HTTP test.

Example

# Set the operation type of the HTTP test named admin http to get.

<sysname> system-view
[sysname] nqa test-instance admin http
[sysname-nqa-admin-http] test-type http
[sysname-nqa-admin-http] http-operation get
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >