General settings
Configure timeouts, log sampling, success status codes, and URL encoding for your Performance Testing (PTS) stress test scenario. These settings apply globally to all requests in a scenario unless overridden at the node level.
| Setting | What it controls | Default |
|---|---|---|
| Log Sampling Rate | Percentage of requests with detailed logs | 1% |
| Connection Timeout Duration | Maximum wait for an HTTP connection | 5,000 ms |
| Request Timeout Duration | Maximum wait for a server response | 5,000 ms |
| Add Success Status Code | HTTP status codes treated as successful | All 2xx codes (200--299) |
| URL Encode | Whether PTS re-encodes URLs before sending | Selected (enabled) |
To configure these settings, open your stress test scenario and expand Advanced Settings > General Settings.
Timeout settings
Connection Timeout Duration
The maximum time the PTS engine waits to establish an HTTP connection to the target server.
Default: 5,000 ms
Range: 500 ms -- 60,000 ms, in 500 ms increments
Request Timeout Duration
The maximum time the PTS engine waits for a response after sending a request.
Default: 5,000 ms
Range: 500 ms -- 60,000 ms, in 500 ms increments
How to set a timeout value
The console input field accepts a multiplier (1--120) instead of a raw millisecond value. Multiply the entered value by 500 to get the actual timeout in milliseconds.
| Multiplier | Timeout |
|---|---|
| 1 | 500 ms |
| 10 (default) | 5,000 ms |
| 60 | 30,000 ms |
| 120 | 60,000 ms (maximum) |
For example, to set a 10-second timeout, enter 20 (20 x 500 ms = 10,000 ms).
Override request timeout per node
A request timeout configured in the basic request information of an individual HTTP node takes precedence over the global Request Timeout Duration in General Settings.
Use a per-node override when a specific endpoint needs more time than the global setting allows -- for example, a file upload endpoint or a report-generation API that processes large datasets.
Log Sampling Rate
The percentage of requests for which PTS records detailed logs.
Default: 1%
Valid values: 1, 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100
The value must be 1 or a multiple of 10.
Billing impact
Sampling rates above 1% incur additional charges. The extra fee equals the sampling rate percentage multiplied by the consumed virtual user minutes (VUM). For example, a 20% sampling rate adds a surcharge of 20% x VUM.
Add Success Status Code
PTS treats all 2xx status codes (200--299) as successful by default. To treat additional status codes as successful, enter them as a comma-separated list.
Example: 302,404
After you save this setting, both the specified codes and all 2xx codes count as successful requests in your test results.
URL Encode
When selected, PTS decodes and then re-encodes the request URL before sending it.
Default: Selected (enabled)
Leave this option selected when you paste a URL from a browser address bar into an HTTP node configuration. Browsers often pre-encode special characters, and PTS normalizes the encoding to prevent double-encoding issues.
When to disable URL encoding
Clear this check box if your URL contains literal plus signs (+) and is not already encoded. The decode-then-encode cycle converts + to a space character, which breaks the URL.