Open System Testing Architecture

TOC PREV NEXT INDEX



LOAD RESPONSE_INFO HEADER Command

Description:

This command loads a character variable with all or some of the HTTP response message header fields for a specified TCP connection.

OpenSTA will automatically wait until any request on the specified Connection ID is complete before executing this command. It is not necessary for the script to do this explicitly.

If the data string is too long to fit into the target variable, it will be truncated.

The "WITH" clause can be used to specify the names of a header field whose value is to be retrieved from the HTTP response message. If this clause is omitted, all the response message header fields are retrieved.

Format:
 LOAD RESPONSE_INFO HEADER ON conid INTO variable {&}
 	 {,WITH identifier}
Parameters:
conid

An integer variable, integer value or integer expression identifying the connection ID of the TCP connection on which the HTTP response message will be received.

variable

The name of a character variable into which the HTTP response message headers, or the selected headers, are loaded.

identifier

A character variable, quoted character string or character expression containing the name of the response message header field to be retrieved.

Example:
 LOAD RESPONSE_INFO HEADER ON 4 INTO resp_headers

See also:

Output Stream Handling Commands


OpenSTA.org
Mailing Lists
Further enquiries
Documentation feedback
CYRANO.com
TOC PREV NEXT INDEX