How to restrict the ports used when invoking the VSE recorder from the DevTest Portal?

book

Article ID: 130500

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder)

Issue/Introduction



How to restrict the ports used by the VSE when creating a virtual service from request and response pairs, RR pairs, using the DevTest Portal?

Environment

DevTest on release 10.4.

Resolution

The two properties below need to the applied in the local.properties file of your VSE server with the proper values:
lisa.vseasy.http.min.dynamic.port= 
lisa.vseasy.http.max.dynamic.port= 
The VSE Service needs to be restarted.

The default values are:
lisa.vseasy.http.min.dynamic.port=8000 
lisa.vseasy.http.max.dynamic.port=65535 

These properties control the dynamic assignment of ports when using auto configuration with the HTTP protocol in VSEasy - virtual services created from RR pairs. 
The rules for these properties are as follows:  
- If max <= min, then both get reverted to the defaults (65535 and 8000 respectively)   
- If max > 65535, max is set to 65535  
- If min < 1024, min is set to 1024