Unable to pass the registry URL while running Jenkins using Build.xml file


Article ID: 4288


Updated On:


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


When running a test case from Jenkins using Junitlisa, we are not able to pass the expected registry URL to jenkins from build.xml.

It takes local registry(tcp://GAJSR000:2010/Registry) not from build.xml and local.properties file. Getting an error as below

[junitlisa] DevTest Solutions, Copyright (c) 2002-2016 CA, All rights reserved. 

[junitlisa] DevTest Regression Runner - Stage and Execute Tests with Auditing 

[junitlisa] Error locating DevTest Registry: Timed out trying to connect to test registry tcp://GAJSR000:2010/Registry 

[junitlisa] java.rmi.RemoteException: Timed out trying to connect to test registry tcp://GAJSR000:2010/Registry 

[junitlisa] at com.itko.lisa.test.Environment.bootUpTestRegistry(Environment.java:2579)


Release: LSASVR99000-8.3-LISA-Server


Add  lisa.registry.URL=<Complete_tcp_registry_url> in local.properties file where you are running test case (in this case, it is on Jenkins server) or You can add remote registry details to junitlisa tag by giving attribute testRegistry="tcp://<Hot_name>:<port_number>/Registry" in build.xml file 

Ex: <junitlisa testRegistry="tcp://MyHost:2010/Registry" toDir="${testReportDir}"