Jmeter over SSH Socks proxy
I've been doing some testing recently where I need to connect via SSH server to a remote network to run some load testing.
To do this I used a SSH sock proxy like I have previously blogged about.
So I fired this up so that I could review the site I wanted to look at. It worked a charm through firefox but there is no where to set up the proxy in jmeter.
To make it work you need to let the JVM know what proxy to use like so:
java -DsocksProxyHost=localhost -DsocksProxyPort=8080 -jar ApacheJMeter.jar
No jmeter will use the socks proxy on port 8080 on my local machine. Nice.