Configuration File
This file (extension: .cfg) specifies the configuration for running an test. It specifies following parameters:
-
Duration: Duration of the test, in seconds or minutes.
-
NumClientMachines: Number of client computers to use for the test. If more computers try to connect to the controller, the controller ignores the excess computers. If fewer computers try to connect, the controller waits for more computers.
-
ClientMachinesMin: Minimum number of client computers to use for the test. This value is useful for incremental-load tests. The controller starts the test using the minimum number of client computers (ClientMachinesMin) and increments in steps specified by ClientMachinesIncrement until the load reaches ClientMachinesMax. If present, these values override the value specified in NumClientMachines.
-
ClientMachinesMax: Maximum number of client computers to use for the test.
-
ClientMachinesIncrement: Specifies the increment to be used in incremental-load tests.
-
NumClientThreads: Number of client threads to run on each client computer. This number increases the parallelism possible within the client process and, hence, increases the load on the server.
-
WarmupTime: Length of warm-up mode, in seconds. No statistics information is collected during warm-up. The controller also does not average performance counters during this interval.
-
CooldownTime: Length of cool-down mode, in seconds. During this period, clients continue to make requests to the server, but do not include the results in the statistics sent back. This serves to smoothly bring the load down without an abrupt stop.
-
ThinkTime: Maximum duration to wait before requesting next page. In the real world, no one continuously downloads file, except software robots. Most users take a considerable time before they make the next request. The client generates a random-number between 0 and ThinkTime. Then the client sleeps for that duration before requesting the next page.
-
MaxRecvBuffer: Recommended size of the receive buffer in the client computer. The receive buffer is used when downloading pages from the server.
-
SockRecvBuffer: Recommended size of sockets receive buffer on the client computer. The size of the buffer can affect the way data is transferred in packet-based transports like TCP/IP. The default value is 0, which recommends using the client system’s default size.
-
Author: Text entered appears in the Author field in the log file.
-
Date: Text entered appears in the Creation Date field in the log file.
-
Comment: Text entered appears in the Comment field in the log file.