JMeter with Socks proxy?

I want to download the socks proxy test. I have setup on aws. I would like to generate traffic from outside vpc. At the moment, testing from my local machine should be sufficient, but in the end I would like to move the testing to one or more instances of ec2. JMeter seems to be a widely used tool for load testing, but if anyone has any other suggestions, we will be very grateful.

+4
source share
3 answers

Using Jmeter through a SOCKS proxy is surprisingly simple;

  • Launch your SOCKS proxy, for example. on Linuxssh -D8080 https://dmz.server

  • Jmeter JVM arg, .

    java -DsocksProxyHost=localhost -DsocksProxyPort=8080 -jar ApacheJMeter.jar

+2

, JMeter - , .

. : ?, , .

+1

One thing that I noticed using Socks Proxy support via -D is for me that the HTTP Request samplers will not use the Socks proxy unless I set the "Default HTTP" configuration element "in Java.

0
source

All Articles