Http-String - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

By default, the HTTP operation mode is get.
The http-operation command applies to HTTP tests only.
Examples
# Set the HTTP operation mode to post in an HTTP test.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator http
[Sysname-hwping-administrator-http] test-type http
[Sysname-hwping-administrator-http] http-operation post

http-string

Syntax
http-string string version
undo http-string
View
HWPing test group view
Parameters
string: HTTP operation string used to specify the webpage to be accessed. It can consist of 1 to 255
characters.
version: HTTP version, a string of 1 to 255 characters. At present, this argument can only be HTTP/1.0,
where HTTP must be capitalized.
Description
Use the http-string command to configure the HTTP operation string and HTTP version.
Use the undo http-string command to remove the configured HTTP operation string and version.
By default, no HTTP operation string and HTTP version are configured.
Note that the http-string command applies to HTTP tests only.
Related commands: http-operation.
Examples
# Configure the webpage to be accessed by an HTTP test as /index.htm and the HTTP version as
HTTP/1.0.
<Sysname> system-view
[Sysname] hwping administrator http
[Sysname-hwping-administrator-http] test-type http
[Sysname-hwping-administrator-http] http-string /index.htm HTTP/1.0
1-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents