Attempts to record an IBM Rational Performance Tester (RPT) test result in "Could not open session with application".
RPT v8.6 and later automatically include the server name indication (SNI) extension. SNI is a TLS extension that can appear in the HTTPS handshake. With SNI, the browser can indicate the server name to which the browser tries to connect to. SNI would be useful when a network location hosts different servers.
However, at some servers the SNI causes the connection to fail. For these servers, you can specify servers in the eclipse.ini for which you must exclude SNI. The parameter you set is as follows.
The rpt.recording.sslServer.dontUseSniFor option in the eclipse.ini only impacts RPT recording for the specified servers. The option has no impact on RPT playback. In fact, the default for RPT playback is to not use the SNI extension when the test negotiates an HTTPS connection with TLS. If you want to use SNI for playback, add the following to the RPT_VMARGS for the playback engine.
Resolving The Problem
Add the following line to the eclipse.ini.
- To disable the SNI extension for https://test.beta.ibm.com
- To specify more than one site, use ',' (comma).
The following line disables the SNI extension for both https://test.beta.ibm.com and https://betatesting.ibm.com.
- For a wildcard, use '*' (asterisk).
The following line disables the SNI extension for https://test.alpha.ibm.com, https://test.beta.ibm.com, and https://test.gamma.ibm.com.
17 June 2018