Raghav
Raghav

Reputation: 161

Distributed load testing jmeter

What is the best way to manage multiple slaves(for eg:50 slaves) and run a load test?

When using distributed testing for jmeter, we need to manually handle all the agent start and stop, copy the files into each slave etc. Any suggestions to automate these type of activities. Is there any open source framework to handle all these?

Upvotes: 1

Views: 421

Answers (2)

Dmitri T
Dmitri T

Reputation: 168247

Depending on where your slaves live there could be different approaches:

  1. Use "infrastructure as code" solutions like Terraform to provision machines, install Java runtime and start JMeter slave process
  2. If you have machines already but look for an automated way of configuring them you can use orchestration engine like Ansible
  3. You can go for containers and container management systems like Kubernetes @ Openshift
  4. You can go for JMeter EC2 shell scripts collection
  5. And finally you can consider cloud-based solutions which offer "JMeter as a service" like LoadRunner Cloud or BlazeMeter

Upvotes: 1

Ori Marko
Ori Marko

Reputation: 58902

You can use Taurus

Distributed mode for JMeter is enabled with simple option distributed under execution settings, listing JMeter servers under it:

execution:
  • distributed:
    • host1.mynet.com
    • host2.mynet.com
    • host3.mynet.com

Upvotes: 0

Related Questions