Testing
Surge uses testing URLs for internet connectivity checks, proxy latency tests, and throughput tests.
Connectivity and Latency Testing
internet-test-urlin[General]sets the URL used for internet connectivity checks; it is also the test URL for the DIRECT policy.proxy-test-urlin[General]sets the default test URL for proxy policies. A policy can override it with its owntest-urlparameter.test-timeoutin[General]sets the default timeout for connectivity tests. A policy can override it with its owntest-timeoutparameter.
See the [General] section reference for these options, and Common Group Parameters for how policy groups resolve testing URLs and timeouts.
Throughput Test Parameters Mac 6.4.4+
The [Testing] section customizes the download and upload parameters used by the throughput test.
[Testing]
download-url =
upload-url =
download-url-proxy =
upload-url-proxy =
download-concurrency = 4
upload-concurrency = 4
download-duration-limit = 10s
upload-size-limit = 1GB
upload-duration-limit = 10s
download-url
Optional, URL
The URL used for the download throughput test.
upload-url
Optional, URL
The URL used for the upload throughput test.
download-url-proxy
Optional, URL
The URL used for the download throughput test through proxy policies. If this parameter is omitted, Surge uses download-url.
upload-url-proxy
Optional, URL
The URL used for the upload throughput test through proxy policies. If this parameter is omitted, Surge uses upload-url.
download-concurrency
Optional, integer, default: 4
The number of concurrent download connections.
upload-concurrency
Optional, integer, default: 4
The number of concurrent upload connections.
download-duration-limit
Optional, duration, default: 10s
The maximum duration of the download test.
upload-size-limit
Optional, size, default: 1GB
The maximum amount of data uploaded during the upload test.
upload-duration-limit
Optional, duration, default: 10s
The maximum duration of the upload test.