1
votes

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?

2

2 Answers

1
votes

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
0
votes

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