This topic explains configuration options for using HTTP 1.1 transport in Client tools.After selecting HTTP 1.1 from the Transport menu within the Transport tab of an appropriate tool, the following options are shown in the left pane of the Transport tab: General page options include: Router Endpoint: The endpoint is the URL of the service endpoint. Method: Specifies which method is used to processes the request. This field is disabled if Constrain to WSDL is enabled.The method to invoke can be specified as a fixed value, parameterized value, or scripted value. For details about parameterizing values, see Parameterizing Tools with Data Source Values, Variables, and Extracted Values. With fixed values, you can access data source values using Message Exchange Pattern: Expect Synchronous Response: Specifies whether a response body is expected. An HTTP response header is always expected. If this option is disabled, the product sends a one-way message and waits for a notification header (typically "HTTP/1.1 202 Accepted"). URL Parameters page options include: Going to Security > Authentication allows you to select an authentication method for the tool. By default, the default authentication method set up for the test suite is selected, but you can change it by selecting Custom from the first menu and choosing the desired option from the next dropdown. Options include: One of the shared authentication methods created for the test suite. You can also create an authentication method for the test suite from here by clicking New. Security > Client-side SSL options include: HTTP Headers page options include: These controls are used to override header fields. For example, you can override the Content-Type header field by specifying the desired name and value via these controls. The following header fields, which are added by default, can be overridden via these UI controls. The value will contain the host name and port number from the HTTP endpoint or resource URL. The media type of the outgoing message. This header is only sent if the outgoing message contains a body which is controlled by the HTTP method. A body is sent for POST, PUT, and DELETE methods and not for GET, OPTIONS, HEAD, or TRACE. The default value is determined based on the type of message being sent. The content-type of a SOAP message will vary depending on the SOAP version, "text/xml" for SOAP 1.1 or "application/soap+xml" for SOAP 1.2. Other XML messages will use "text/xml" by default. JSON messages will use "application/json". A message configured using the Table view will use "application/x-www-form-urlencoded". A message sent with MIME attachments will contain a "multipart" content-type with "start" and "boundary" parameters. Messages belonging to EDI, Fixed Length, CSV, or Custom message formats will have the media type for the message format. The size of the outgoing message in bytes. This header is not sent if "chunked" transfer encoding is enabled. The following HTTP headers are configured conditionally. They are configured outside of this table or have values that must be dynamically generated. This HTTP header is sent for SOAP 1.1 only. It is set in the SOAPAction field of the General page. Authorization This header is constructed automatically based on the Authentication and OAuth settings specified in client options (HTTP Options > Security > Authentication). The value for NTLM, Digest, and Kerberos authentication will vary depending on various factors, including dynamically generated challenge responses and security tokens. This header is added to the message with the value of close if Close connection is enabled. This header is not sent if Keep-Alive connection is enabled (this is the default). Keep-Alive must be enabled for NTLM and Digest HTTP authentication. This header is constructed based on the Proxy Authentication settings in the preferences and whether the server indicated that proxy authentication is required. Cookies page options include:General
${var_name}
syntax. You can also use the environment variables that you have specified. For details about environments, see Configuring Virtualize Environments.URL Parameters
Security
HTTP Headers
Host
Content-Type
Content-Length
SOAPAction
Connection
Proxy-Authorization
Cookies
Overview
Content Tools