ajeetraina / jmeter-docker

Setting up JMeter Distributed Load Testing Environment under Docker 17.03 Swarm Mode Cluster
36 stars 42 forks source link

Jmeter swarm slave global mode #2

Open Laxman-SM opened 7 years ago

Laxman-SM commented 7 years ago

Hi Ajeet,

i am running meter test for 5000 user, i saw Jmeter slave is not replicated due to global mode is on. only one instance of slave node running on swarm slave node. machine on swarm worker. ID NAME MODE REPLICAS xtlm1q7z68yz ym_master replicated 1/1
vhkbm9v7mbrz ym_slave global 1/1

we need to check again and again container internal on OOM heap dump error on slave node. for temporary fix we deleted old container and use use ip of container with below command.

./jmeter -n -t jmeter-docker.jmx -R 10.255.0.36

this created 300 to 400 % cpu utilization for 25000 user for 250sec test. but this stuck every time. so i reduce to 10000 user and tested. this bit stable. instance type is m4.2xlarge for slave node.

your shared command is not working for me.

i tried to replace mode with replication parameter and rebounce stack several time but slave node is not making up.

can you please share some light on this issue. how to get slave node ip on command execution automatically. because fatching of salve docker container internal ip require manual effort on each failed run.

ajeetraina commented 6 years ago

Can you try running below Command to get IP address of worker nodes?

  $ docker inspect --format '{{ .Name }} => {{ .NetworkSettings.IPAddress }}' $(sudo docker ps -a -q)