Spirent Avalanche 5.46 February 29, 2024
Use the Protocol Version fields in the HTTP: Browser area of the Client Profiles tab to define the HTTP protocol functionality for a test, whether connections are kept open, the rates at which connections are processed, as well as HTTP pipelining.
TIP: If you select a default browser in the Preload Values From field, associated default values appear in the applicable fields. |
TIP: See HTTP example test scenarios for the client and server behavior that is a result of various client Protocol Version field parameter settings. |
Field | Description | |
---|---|---|
Connection/Rate Fields: | ||
Maximum Connections per Server | Enter the maximum number of connections allowed per server for this user profile. The number of connections to a server, depends on the Persistence connection or level-2 URL. Example | |
Unlimited Maximum Connections per SimUser | Allows an unlimited number of connections. Deselect the checkbox if you want to set a maximum value in the Maximum Connections per SimUser field. | |
Maximum Connections per SimUser | Limits the total number of connections per SimUser to the number that you enter here, regardless of how many servers are in the Action list. You must deselect the Unlimited Maximum Connections per SimUser checkbox before you can enter a value (greater than 0) in this field. For example, If there are 8 servers in the Action list, and the Maximum Connections Per Server field is set to 2, the result would be 16 maximum connections. However, if you enter 10 in the Maximum Connections per SimUser field, then only the first 5 servers in the Action list would be used. | |
Maximum Requests per Connection | When you enable HTTP/1.0 with Keep Alive or HTTP/1.1 with Persistence, and use the same IP address or fully qualified domain name (FQDN) multiple times in the Action list, you can specify a Maximum Requests per Connection value. This value defines the maximum number of HTTP requests to send over the TCP connection (for the same IP address or FQDN) before closing the connection. Examples
|
|
Protocol Version Fields: | ||
HTTP/1.0 HTTP/1.1 Keep Alive Persistence |
You can select a protocol version for each profile:
The protocol selected does not have to match the version on the servers/devices under test, but HTTP/1.1 is recommended because many devices (servers, load balancers) rely on the Host: www.somewebsite.com string in the header field to determine the server to which to route a request. Both HTTP/1.0 with Keep Alive enabled and HTTP/1.1 with Persistence mode simulate a user issuing multiple GETs to one server to retrieve multiple objects using the same TCP connection. To use Keep Alive or Persistence, you must have multiple URLs accessing the same server. Example |
|
HTTP Pipelining Fields: | ||
Enable |
Select to generate multiple HTTP requests to a single socket on a persistent connection, without waiting for the corresponding responses. HTTP pipelining reduces network load by allowing fewer TCP packets to be sent over the network.
|
|
Proxy Pipelining | Select to indicate that the proxy server supports pipelining. | |
Max. Requests | The number of requests to be pipelined at one time, from two (2) to 128, inclusive. The default value is two (2). Avalanche continues to add more requests into one TCP packet until one of the following conditions is met:
|
|
HTTP Request Field: | ||
Compress HTTP Request | Select if you want the HTTP POST and PUT request bodies, referenced in your Actions list, compressed into a gzip format. POST and PUT request actions that contain HTTP body data (that is, data after the HTTP headers) will have the “Content-Encoding: gzip” header added, and the body of the request will be compressed using the gzip compression method. If you have enabled HTTP Chunked Transfer Coding, the body is first compressed and then chunk coded. |
© 2024 Spirent Communications, Inc. All Rights Reserved.