Apache JMeter is a great tool for load testing. However, recently I need to load test a RMI application, and I could not find a JMeter Sampler to test the RMI application.
After some Googling, I gave up and ended up writing my own Sampler using the Java Request Sampler.
Below is the sample screen of the Java Request Sampler that I have written. I can specify the RMI server IP, port, binding name, and also the RMI connection pool size.
You can download the code here.
In order to compile the code, you need the libraries in <JMeter Directory>\lib\ext folder.
After compiling the Java source files, package them into a Jar file, and put it under <JMeter Directory>\lib\ext folder, you can view the new sampler from the Java Request Sampler screen.