Reputation: 4264
I am trying to have a distributed load testing POC using Jmeter. I have followed tutorial mentioned in this medium article - link
The repo for the code is here - https://github.com/vepo/jmeter-docker
Since the Jmeter version used in the tutorial link is 3.3
, I changed the Dockerfile inside jmeter-base
to pull the most recent version 5.5.1
New Dockerfile inside jmeter-base
:
FROM java:8
RUN mkdir /jmeter \
&& cd /jmeter/ \
&& wget http://mirrors.estointernet.in/apache//jmeter/source/apache-jmeter-5.1.1_src.tgz \
&& tar -xvzf apache-jmeter-5.1.1_src.tgz \
&& rm apache-jmeter-5.1.1_src.tgz
ENV JMETER_HOME /jmeter/apache-jmeter-5.1.1/
# Add Jmeter to the Path
ENV PATH $JMETER_HOME/bin:$PATH
I have not made any other changes in the dockerfile.
As per the readme, when I run the command ./exec-jmeter.sh 4
(4 being the count of slaves), I keep getting this error
/bin/bash: ../bin/jmeter: No such file or directory
I tried with the full path like -
../jmeter/apache-jmeter-5.1.1/bin/jmeter
, and also ../jmeter/bin/jmeter
but I still keep getting the same error.
What am I doing wrong here.
Upvotes: 2
Views: 301