Resources.FitNesseRoot.PlugIns.SshFixture.UserGuide.Options.EndpointOptions.ConnectionTimeout.wiki Maven / Gradle / Ivy
---
Test
---
!1 !-SshFixture-! connection timeout
Maximum milliseconds amount to establish a connection with server. Default value is: no timeout. Connection timeout is a single value option so, each new definition will overwrite the previous one.
Note: like every other option, can be defined in multiple ways, as shown in [[!-DefineOptions-!][ code
{{{!-
|import |
|com.github.gun88.fitnesse.fixture.ssh|
|script |ssh client |foo/[email protected]|
|add option|CONNECTION_TIMEOUT|with value|5000 |
|open connection |
|execute |echo foobar |
|check |output |foobar |
|close connection |
!define TEST_SYSTEM {slim}
!path ${jsch.jar.path}
!path ${sshFixture.jar.path}
-!}}}
Note: if !-SshFixture-! is not installed as a plugin, remember to set or replace properties: jsch.jar.path, sshFixture.jar.path; with actual paths.
Note: In this example the connection was built via username and password, that are set in plain text in table header. Click [[here][