AnsweredAssumed Answered

Way to get/start virtual service on next available port number

Question asked by AVSDevTest on Jun 23, 2016
Latest reply on Jun 24, 2016 by sdetweil2

Hi All,

I am looking for the way to start the virtual service on the next available port number at run time. I don't want any developer to hard code the port number in listener step and to avoid the deployment of multiple services with the same port number.

I can write a shell script to get next available number but just to check for any possibility,

I know that recorder will check the port availability before recording. If port is occupied, then recorder will alert you.

Please help.