The http-url command configures the uniform resource locator (URL) and version information for an HTTP test instance.
The undo http-url command deletes the configured URL and version information.
By default, no URL or version information is configured for an HTTP test instance.
Parameter | Description | Value |
---|---|---|
deststring |
Specifies the name of the web page used for an HTTP test. |
The value is a string of 1 to 230 case-insensitive characters without spaces. NOTE:
When quotation marks
are used around the string, spaces are allowed in the string. |
verstring |
Specifies the HTTP version. |
The total length of verstring should be equal to or shorter than 7 characters. It can be set to v1.0 or 1.1. The default HTTP version is v1.0. |
Usage Scenario
HTTP1.0 and HTTP1.1 are supported in this test instance.
Precautions
The http-url command applies only to HTTP test instances. You cannot change the URL of a running HTTP test instance.
When running the http-url command, you need to specify a domain name or a server's IP address; otherwise, the test instance fails.