test-rmi-connection RMI is a light way of remote communicate, different from HTTP restful api, RMI require using JAVA in both side. We have a production using RMI, recently need add a test for it. The easiest way is using the lookup with this code.