Skip to main content
Skip table of contents

Setting a Request Timeout

As per default, regression test actions that have a network request have no timeout. You can change the timeout defaults via Java system properties:

Action

Default Timeout

Java System Property

Value

Establish connection

1 minute

sun.net.client.defaultConnectTimeout

Specify a value in milliseconds. A value of -1 means: no timeout.

Wait for response

10 minutes

sun.net.client.defaultReadTimeout

Specify a value in milliseconds. A value of -1 means: no timeout.

The following test actions do support timeouts:

To start the Analyzer with changed timeout defaults, add these as additional lines to the Analyzer configuration file (<your installation folder>/Analyzer/jre/bin/E2EAnalyzer.config):

CODE
vmparam -Dsun.net.client.defaultReadTimeout=5000

The setting above starts tests with a timeout of 5000 ms for waiting for a response of network requests.

To set the same timeouts for the Analyzer refer to Setting a Request Timeout for the Regression Test Command Line Tool.

Related Content

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.