Jmeter - Loopback Address Error When Launching Jmeter-Server on Linux

JMeter - Loopback address error when launching jmeter-server on Linux

In latest version, you can run your script with:

./jmeter-server -Djava.rmi.server.hostname=xxx.xxx.xxx.xxx

Replace xxx.xxx.xxx.xxx with this server's IP address, i.e., the IP address that the controlling jmeter machine will use to connect to this server.

Remote jmeter-server sends all output to controlling jmeter instance

This is probably because you are having a "View Tree Results" in your jmeter script. This tells the server to send all responses back to the master so you can view them. That will quickly fill your bandwith and is memory intensive. Try to disable all listeners in your script and only have the "View Aggregate results" one in there.

With high load, you're not interested in individual results. There is also no need to open up your firewall in your datacenter if you use ssl tunneling. I've documented that in a blogpost because I couldn't find a simple step-by-step online, you might want to check that out too at http://rolfje.com/2012/02/16/distributed-jmeter-through-vpn-and-ssl/

configuration of jmeter settings

cps means characters per second.

  • For example you have 1 megabyte response size and you want it to be downloaded not faster than in 2 seconds you need to throttle JMeter speed to 0.5 megabyte per second which gives you 512 kilobytes which is 524288 bytes (characters).

References:

  • Controlling Bandwidth in JMeter to simulate different networks
  • How to Simulate Different Network Speeds in Your JMeter Load Test


Related Topics



Leave a reply



Submit