JMeter Remote Testing

From Training Material
Jump to navigation Jump to search


Remote Testing

  • AKA Distributed Testing
  • More reliable than testing from one machine
  • JMeter allows you to control all remote machines from one client (GUI or command line)
  • Sometimes necessary if the load in real world will come from different locations
  • Very similar in concept to DDoS

Remote Testing

Selecting servers

  1. Edit bin/jmeter.properties
  2. Set remote_hosts=jms1,jms2,jms3
  3. Start JMeter server (jmeter-server.bat or jmeter-server.sh)
  4. Start test:
    • In GUI Start Remote
    • From CLI
jmeter -R192.168.0.8 -r -t "./Desktop/Test Plan.jmx" -n

Number of Threads

  • Each jmeter-server will run the number of threads specified in the Thread Groups