How to set a different local.properties file for one DevTest component
search cancel

How to set a different local.properties file for one DevTest component

book

Article ID: 129667

calendar_today

Updated On:

Products

CA Application Test Service Virtualization

Issue/Introduction

The requirement is:

  • All DevTest components run in one environment
  • Only one DevTest component(Example. VSE) needs to read a different local.properties file. The other components can use the common local.properties file.

 

Environment

All supported DevTest releases.

Resolution

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. Restart the VSE