IBM Support

"Could not open session ... " at recording performance test

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

[{"Product":{"code":"SSMMM5","label":"Rational Performance Tester"},"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Component":"Record \/ Author tests","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.6;8.6.0.1;8.6.0.2;8.7","Edition":""}]

Document Information

Modified date:
17 June 2018

UID

swg21969921