This topic describes the options specific to the HTTP protocol (the protocol version, User-Agent header, request and response compression and so on).
To configure the HTTP options:
Click on the ReadyAPI toolbar.
Select HTTP in the left part of the ReadyAPI Preferences window and configure the needed options.
The available options and their descriptions are in the table below.
|HTTP version||Selects the HTTP version.|
Sets the HTTP User-Agent header. If no header is specified, the default
Selects the request compression type.
This property affects all the requests in a project. You cannot compress individual requests. To use different compression settings, place your tests in different projects. Alternatively, you can run your tests from the command line and specify different settings files for different tests by using the
There are two formats of compressed files: .gzip and .deflate.
|Response compression||Indicates whether compressed responses coming from hosts are accepted.|
|Disable response decompression||If selected, compressed responses are not decompressed.|
|Close connections after request||If selected, overrides HTTP Keep-Alive settings by requesting to close the HTTP connection after each message exchange. This will degrade the performance of your test, but you may get more realistic values during load testing.|
|Chunking threshold||Using content chunking for requests larger than thresholds. Leave the edit box blank to disable it.|
If selected, ReadyAPI sends authorization headers with each request.
|Expect continue||If selected, the Expect-Continue header is added to outgoing requests. For more information on this feature, see rfc 2616.|
If selected, URL encoding of endpoints is disabled. Select the option if your endpoint URLs are already URL-encoded – for example, they contain
|Normalize forward slashes||
Replaces two forward slashes (
The local address to bind to when sending requests. It can be overridden in a request by using the corresponding request property, and in the operating system by using the
|Include request in time taken||If selected, ReadyAPI includes the time it took to write the request in the time spent on message exchange.|
|Include response in time taken||If selected, ReadyAPI includes the time it took to read the response body in the time spent on message exchange.|
|Socket timeout (ms)||
The socket timeout for HTTP requests, in milliseconds. No value or
|Max response size||
The maximum number of bytes to read from a response. No value or
|Max connections per host||The maximum number of simultaneous connections to a specific host. Increase this value if you run load tests with more than 500 threads on a particular host.|
|Max total connections||The total maximum number of connections. Increase this value if you run load tests with more than 2000 threads.|
|Leave virtual service||
If selected, ReadyAPI leaves the virtual service engine running even if all virtual APIs have stopped. This reduces the startup time for new virtual APIs.
|Default authentication profile||
Specifies whether new test steps use authorization specified for the project, authorization specified for the service or no authorization.