Transaction Fields

This section lists and describes the fields in a Script file transaction.

classId

This is the classId that the given transaction is a member. Default value is 1. This is a Number value.

Server

This is the server that the transaction refers to. This is a String value

HTTP Request Fields

This section lists and describes the fields in a Script file request.

Cookie

This is the name of the cookie file to use for this transaction. This is a String value. Note that no file is actually created, it is stored in memory on the client machine. Default value is no cookie.

Verb

This is the verb to use for the request. This is a String value. Default value is “GET”.

URL

This is the URL to use for the request. This is a String value. Default value is “/”.

KeepAlive

This is set to TRUE to enable keep-alives on the connections. This is a boolean Value. Default value is FALSE.

SSL

This is set to TRUE to enable SSL on the connection. This is a boolean value. Default value is FALSE. NOTE: Do not use KeepAlive and SSL together. There is bug in WebCat which causes that combination to fail.

ResponseStatusCode

This is the expected response status code from the server. This is a Number value. Default value is 200.

Port

This is the Tcp port to connect to. This is a Number value. Default value is 80.

UserName

This is the user name to use for authentication. This is a String value. No default value.

Password

This is the pass word to use for authentication. This is a String value. No default value.

RequestHeader

This is a header to pass along with the HTTP request. This is a String value. No default value.

ResponseHeader

This is a header that is expected to be returned by the server. This is a String value. No default value.

Authentication

This is the authentication method to use. This is a numeric value. Default value is 0. Valid values are, 0-anonymous, 1-basic.

SaveResponseFile

This is the name of a file to save the response data from a request into. This is used to save a response from a request so that it can be used with a ResponseData field to do data validation. The response file is stored on the Client machine. This is a String value. No default value.

ResponseData

This is the data that is expected to be returned by the server in the body of the response. This is a File or String value. No default value.

RequestData

This is data that is sent to the server during the HTTP request after the headers. It is used for POST and PUT requests. This is a File or String value. No default value.