Service Virtualization

Expand all | Collapse all

Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

  • 1.  Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Posted Mar 30, 2017 08:47 AM

    Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.



  • 2.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.
    Best Answer

    Posted Mar 31, 2017 03:09 AM

    Maybe this question should be transferred to an idea.

    It would be a very usefull option concerning ports management



  • 3.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Posted Mar 31, 2017 12:17 PM

    As Davy says - this is an "idea" - otherwise a product enhancement request. If you raise this as an "idea" then it will reach the DevTest product management team, who will be able to assess whether this functionality should be included in the DevTest product.



  • 4.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Broadcom Employee
    Posted Apr 04, 2017 04:43 PM

    I see the below properties in lisa.properties which can define the dynamic range of ports.
    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.  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

     

    If you want to configure specific range for different VSE's then you can use local.properties and configure the above properties.



  • 5.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Posted Apr 05, 2017 03:27 AM

    Hi Prema,

     

    Thank you for your answer although the 2 properties are a definition for the overall port range (min and max) to be used by the VSE's.

     

    If I would have 3 VSE's (VSE_X, VSE_Y and VSE_Z), it is not yet clear to me how to exactly define these properties per specific VSE.

     

    If that would be possible, it would already be a huge step forward.



  • 6.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Posted Apr 05, 2017 04:11 AM

    You can override default settings by adding the properties and their new settings to the vmoptions file for the respective VSE binaries (Example port range 11001 - 11099): 

       -Dlisa.vseasy.http.min.dynamic.port=11001
       -Dlisa.vseasy.http.max.dynamic.port=11099

    Depending on which binary you will start it is either VirtualServiceEnvironment.vmoptions or VirtualServiceEnvironmentService.vmoptions. 



  • 7.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Posted Apr 05, 2017 04:30 AM

    Aaah makes sense rather then local.properties as suggested before :-)

    Thank you Ulrich!



  • 8.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Broadcom Employee
    Posted May 17, 2017 12:04 PM

    Tested the below properties in 9.0 and 9.5.1 and both worked as expected but not in10.0 and10.1.

     

    lisa.vseasy.http.min.dynamic.port=8000
    lisa.vseasy.http.max.dynamic.port=65535

     

    Support has patches for 10.1 and 10.1 in DE287721.



  • 9.  Re: Each instance of VSE should have some specific port ranges identified. User should get an error message if they are using a port outside the pre-defined range.

    Broadcom Employee
    Posted Apr 05, 2017 11:10 AM

    If you are using 3 VSE's on 3 different machines then you can define the properties in local.properties.

     

    If you are using only one machine then, I would recommend what Ulrich was saying. You can still define in local.properties and refer the local.propeties path in VSE vmoptions file.