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.
Thanks.
I did this with my docker solution.. examined the MAR file, and then used a small script to get the next available port number, and mapped the post to the docker instance port from the mar.
I used the docker solution to spin up VSE with one service simulator needed, and shut it down when the test was over.