Previous Topic: HTTP Cookies InformationNext Topic: HTTP Configuration Information


HTTP Response Content Information

Save HTTP Response Content to File?

Specifies whether to save the body of the HTTP response message to a file. Select this field to enable the HTTP Response Content File Path field and the If Text Response, Save it Using Encoding field.

Values
  • Selected - Saves the body of the HTTP response message to a file.
  • Cleared - Does not save the body of the HTTP response message to a file.
HTTP Response Content File Path

Specifies where to save the HTTP response message body. Type the path of the local file on the host where the touchpoint is running.

If Response File exists?

Specifies the action to take if the response file exists. Available actions are to create a file or overwrite the content of the existing file.

The path of the file is listed in the HTTPResponseContentFilePath operator output variable.

Values

This value can be:

  • createFile - Indicates to create a file.
  • overwriteFile - Indicates to overwrite the content of the response file with the new HTTP response message body.
  • Blank - Same as createFile.
  • Any other integer - Same as createFile.
If Text Response, Save it Using Encoding

Specify this encoding if you are expecting a text response. The content-type of the response is of the format:

text/XXXX

This encoding is used to write the response in the Response File.

If the response received is not of type text/XXXX, this field is ignored.

Values

This value can be:

  • 0 : Specified in HTTP Response Header - Enter 0 to use the encoding specified in the HTTP response header.
  • 1 : PAM's Default System Encoding - Enter 1 to use CA Process Automation's default system encoding.
  • 2 : Specify an Encoding in 'User Specified Text Response Encoding' - Enter 2 to specify the encoding (to be used) in the User Specified Text Response Encoding field.
  • Blank - Prompts the operator to use 0 (use the encoding specified in the HTTP Response Header).
  • Any other integer - Prompts the operator to use 0 (use the encoding specified in the HTTP Response Header).

If this field is set to 0 or 1, then field User Specified Text Response Encoding is disabled.

User Specified Text Response Encoding

Specify an encoding to use when writing the text response in the Response File.

Save HTTP Response Content to Dataset Variable?

Specifies whether to save the body of the HTTP response message to the HTTPResponseContent variable in the dataset of the operator. When saving is selected, the HTTP Response Dataset Field Size Limit field is enabled.

Values
  • Selected - Saves the body of the HTTP response content to the HTTPResponseContent variable in the dataset of the operator.
  • Cleared - Does not save the HTTP response content.
HTTP Response Dataset Variable Size Limit (bytes)

Specifies the maximum number of bytes (of the HTTP response message body) to save in the HTTPResponseContent dataset variable of the operator.

Value

A numerical value.

Default

4096 bytes (if left blank)