Socks proxy and Intelij
To run tests on remote server sometimes we need to go on it through jump server. At this case very helpful is the next command (creates SOCKS proxy pipe):
At this case to use socks proxy by JVM running tests, put next options
into the Edit configuration -> VM options pop-up.
ssh -D 1337 -f -C -q -N <jump server> -p 22
At this case to use socks proxy by JVM running tests, put next options
-ea -DsocksProxyHost=localhost -DsocksProxyPort=1337
into the Edit configuration -> VM options pop-up.
Comments
Post a Comment