How do I resolve 'Scheme 'https' not registered' when running a Selenium test in the DevTest Workstation?

book

Article ID: 38268

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

Issue: 

We are getting this error replaying scripts that were created on DevTest 8.0.1. They run on 8.01. but fail on 8.5. 

| Message: java.lang.IllegalStateException: Scheme 'https' not registered. 

---------------------------------------------------------------------------- 

| Trapped Exception: Scheme 'https' not registered. 

| Trapped Message: java.lang.IllegalStateException: Scheme 'https' not registered. 

---------------------------------------------------------------------------- 

STACK TRACE 

java.lang.IllegalStateException: Scheme 'https' not registered. 

at org.apache.http.conn.scheme.SchemeRegistry.getScheme(SchemeRegistry.java:88) 

at com.itko.lisa.test.CommTrans.<init>(CommTrans.java:640) 

at com.itko.lisa.test.CommTrans.getCommTrans(CommTrans.java:424) 

 

Environment:  

All supported DevTest 8.x Windows platforms

Cause: 

An internal rendering engine had changed in DevTest 8.1 that will throw the following exception when rendering Selenium results screens in the DevTest Workstation.

Resolution:

Place these in your local.properties as is, and then restart the workstation.

 

lisa.internal.browser.on=true 
lisa.internal.browser.win=com.itko.lisa.web.jxbrowser.JxBrowserUtils 
lisa.internal.browser.win.jxb.type=Default 
lisa.internal.browser.osx=com.itko.lisa.web.jxbrowser.JxBrowserUtils 
lisa.internal.browser.linux=com.itko.lisa.web.jxbrowser.JxBrowserUtils 

Additional Information:

This only applies with DevTest 8.  In DevTest 9,  we have moved to Java 8,  which fixes the error with our new rendering engine in the DevTest Workstation.

Environment

Release: LSASVR99000-8.1-LISA-Server
Component: