justb4 / docker-jmeter

Docker image for Apache JMeter
MIT License
278 stars 310 forks source link

Issue while running jmeter with Docker by passing arguments in the command - The JVM should have exitted but did not. #48

Open chittuvtu opened 2 years ago

chittuvtu commented 2 years ago

HI, While running the JMeter with Docker, normal command works fine. But when I pass variables in the command using -D or -J or -S property file, am able to run the JMeter and JTL file gets stored. Test is successful, but JVM is not getting exited. Please suggest how to resolve this issue.

Command Used : docker run --mount type=bind,source="C:/Users/chitt/OneDrive/Documents/",target="/opt/apache-jmeter-5.4/bin" justb4/jmeter -n -t /opt/apache-jmeter-5.4/bin/FarmGo_PerformanceTesting_Script.jmx -l /opt/apache-jmeter-5.4/bin/DebugSampler9.jtl -S /opt/apache-jmeter-5.4/bin/Properties.txt

Even when i pass parameter using -D or -J , same error i observe but test is successful

JVMError

. attached the screenshot for reference.