Troubleshooting
Problem
Attempts to record an IBM Rational Performance Tester (RPT) test result in "Could not open session with application".
Cause
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.
rpt.recording.sslServer.dontUseSniFor=<server>
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.
-Djsse.enableSNIExtension=true
Resolving The Problem
Add the following line to the eclipse.ini.
-Drpt.recording.sslServer.dontUseSniFor=<server>
EXAMPLES
- To disable the SNI extension for https://test.beta.ibm.com
-Drpt.recording.sslServer.dontUseSniFor=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.
-Drpt.recording.sslServer.dontUseSniFor=
test.beta.ibm.com,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.
-Drpt.recording.sslServer.dontUseSniFor=test.*.ibm.com
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21969921