Sign inSign up

flaviostutz/jmeter-server

By flaviostutz

Updated about 10 years ago

JMeter Server for distributed load tests

Image
1

4.3K

flaviostutz/jmeter-server repository overview

JMeter 3 Server

Use this container in order to execute load tests using JMeter remotelly.

To use this container:

  • Install JMeter 3.0 on your machine and run it using Java 8
  • Run this container in a remote host
  • Create a SSH tunel between your machine and the remote host running the container (this step may be skipped if you have direct access to all ports of the host machine running the container)
    • ssh user@remotehostip -L 2222:localhost:2222
  • In a new terminal, create a second tunel, this time the SSH tunel will connect your machine directly to the SSH inside the jmeter container and export some ports
    • ssh root@localhost -p 2222 -L 24000:127.0.0.1:24000 -R 25000:127.0.0.1:25000 -L 26000:127.0.0.1:26000
    • (or if you skipped last step) ssh root@remotehostip -p 2222 -L 24000:127.0.0.1:24000 -R 25000:127.0.0.1:25000 -L 26000:127.0.0.1:26000
  • Edit jmeter/bin/user.properties of the JMeter you will be using as a client and add the following lines:
    • remote_hosts=localhost:24000
    • client.rmi.localport=25000
    • mode=Statistical
  • Start JMeter on your machine, create a Test Plan and execute the plan through Execute -> Execute Remote -> "localhost:24000"
  • Verify your test statistics
  • If needed, see container logs for details on test execution

Reference: https://cloud.google.com/compute/docs/tutorials/how-to-configure-ssh-port-forwarding-set-up-load-testing-on-compute-engine/

Tag summary

Content type

Image

Digest

Size

199.8 MB

Last updated

about 10 years ago

docker pull flaviostutz/jmeter-server