How to set the specialized local.properties file to the specialized DevTest component

book

Article ID: 129667

calendar_today

Updated On:

Products

CA Application Test Service Virtualization

Issue/Introduction

Here are the condition and requirement:
  • DevTest all in one environment
  • Only one DevTest component(Example. VSE) needs to read the different local.properties file but other components can be used the same local.properties file.
Is it possible to realize?
 

Environment

Release: Service Virtualization (All Versions)
Component: VSE

Resolution

Yes, by the following steps.
  1. Copy from local.properties file to local.vse.properties and define special properties for VSE
  2. Save local.vse.properties file
  3. Open VirtualServiceEnvironment.vmoptions or VirtualServiceEnvironmentService.vmoptions file by text editor and add one line below
    -DLISA_LOCAL_PROPERTIES=[path]/local.vse.properties
  4. Save VirtualServiceEnvironment.vmoptions or VirtualServiceEnvironmentService.vmoptions file
  5. (Re)Start VSE