You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to run http-proxy in our automated tests (to simulate the behaviour of our sso reverse proxy). In some cases, we may want to start a number of proxies.
In automated tests, we like to start servers on random free ports, so as to avoid any port clashes.
Of course I could call proxy.listen(0) - but it isn't clear how I can get the resultant port.
Thanks in advance
The text was updated successfully, but these errors were encountered:
We want to run http-proxy in our automated tests (to simulate the behaviour of our sso reverse proxy). In some cases, we may want to start a number of proxies.
In automated tests, we like to start servers on random free ports, so as to avoid any port clashes.
Of course I could call
proxy.listen(0)
- but it isn't clear how I can get the resultant port.Thanks in advance
The text was updated successfully, but these errors were encountered: