S6E1 Learn JMeter Series - Running JMeter on Docker
Вставка
- Опубліковано 9 лют 2021
- This video tutorial demonstrates how you can run #JMeter on #Docker.
➡️ Join QAInsights Community at qain.si/community
➡️ Buy me a tea 🍵 www.buymeacoffee.com/qainsights
➡️ Get Certified in CKAD qain.si/startk8s
➡️ Get Certified in CKA qain.si/cka
➡️ My preferred DNS is NextDNS qain.si/nextdns
➡️ Learn Linux qain.si/linux
➡️ Get performance testing jobs real quick using Indeed → goo.gl/XAfCcE
➡️ Hostinger Web Hosting → goo.gl/MfwDyU
➡️ My Productivity Tools → goo.gl/2DfC5d
➡️ App Sumo for your business → goo.gl/zj92SA
➡️ Amazon → amzn.to/2L0Jv2n
➡️ TubeBuddy → www.tubebuddy.com/qainsights
➡️ LoadRunner Playlist • Learn LoadRunner Series
➡️ My first Udemy course entitled `Performance Testing using DevWeb` has been published.
➡️ qain.si/devweb
➡️ Subscribe at my blog qainsights.com - Наука та технологія
Docker Images:hub.docker.com/u/qainsights
help me. The report generated inside the docker returns empty. Have you had this error?
Very nice video. Concise, clear, detailed.
Nice one on Docker jmeter. Really helpful.
Very clear and helpful video. Thanks.
Due, you are a life saver. Thanks for this Great video.
Thanks for the video - was just wondering would we be able to run the docker for jmeter remote distributed testing ?
can you share about how to add plugins while running from docker as well. that part is missed in this video
Very nice video thx a ton also please let me know apart from jtl how to write file if we select "write results to in jmeter" working from cmd and not from bind
Hi
not able to copy the run1.jtl back in host ...
other directories are present but not run.jtl
is it something i am missing in docker command while running jmeter tests
Thanks for the video.I m unable to see the github repo for the Jmeter image when I login to docker hub. Can you please tell what am I doing wrong?
How can I run jmeter image after creating network bridge of two containers
I am confused for your last docker run --mount ... command. You have a local command of jmeter under c:\Tools\apache-jmeter-5.4.1\bin. During the execution time, is that jmeter being used for the execution ? I have a jmeter test plan "sequencial.jmx", that I have kept it in my /tmp dir. When I was to run such command: docker run --mount type=bind,source="/tmp/",target="/opt/apache-jmeter-5.5/bin" jmeter -n -t sequencial.jmx -l /tmp/output.jtl, I have received failure as: "/entrypoint.sh: line 33: jmeter: command not found".
I am getting this error: No such container:path: beasr09a4a90:/opt/apache-jmeter-5.5/bin/examples. What can be done to fix it?
its not working for me : invalid argument "type=bind," for "--mount" flag: invalid field '' must be a key=value pair
See 'docker run --help'
How upload jar in lib files to images
ok I subscribe 90% because of your daughter and 10% because of content :D
cp command doesn't work, video should have included the mount folder part :(
It is indeed a great video. Can we run the same jmeter docker stuff via jenkins, cause, I have some test data files aswell, not sure how to use them, do you have any specific video tutorial on this. Please share and this would be a great help. Thank you
Jenkins video already posted. Please search in my playlist.
Very nice video, one basic question, what is the advantage of running jmeter on docker?
It's only important if you want to automate the load test process direktly in your pipline or even more run it in a container cloud environment.
Your daughter voice was Cho chweet.
Is it possible to run jmeter files(.jmx)
Using Dockers in window os instead of unix
Yes. please check my docker profile for Windows image hub.docker.com/u/qainsights
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist
Getting this error while mount. Can you help please?
Are you able to resolve the issue which u mentioned? I am also facing similar kind of an issue
I have created a jmeter script that has one API end point. I got the below error when i tried to run it using docker container,
/entrypoint.sh: line 29: jmeter: command not found
Are you running in Windows or Linux?
@@QAInsights Linux
@@sudhir22sharma Which image you used?
@@QAInsights
docker pull justb4/jmeter
and i renamed it as jmeter
Below is the command,
docker run --mount type=bind,source=/home/ec2-user/", target="/opt/apache-jmeter-5.3/bin" jmeter -n -t /home/ec2-user/SampleAPI.jmx -l /home/ec2-user/Result.jtl
@@sudhir22sharma Please try this syntax: docker run --mount type=bind,source="/home/ec2-user/",target="/opt/apache-jmeter-5.3/bin"
jmeter -n -t /home/ec2-user/SampleAPI.jmx -l /home/ec2-user/Result.jtl
How to run in GUI mode?
I would like to understand what is your use case running JMeter in GUI mode within Docker :) ?
you did not show the volume creation for Docker, it giving error for me
I dont consider this full video
The video is not about docker concepts, its all about JMeter. I did show you how to mount the volume and run the JMeter container. There are a lot of tutorials about Docker on the web about volume creation.
do not mount binaries into docker container that defeats the purpose of docker!
My bad, my script was in the bin directory that is why I mounted that path :) by default, JMeter saves it in bin.
you are just sharing half knowledge here , no knowledge on Docker .............waste of 13 min
The video is not about docker concepts, its all about JMeter. I did show you how to mount the volume and run the JMeter container. There are a lot of tutorials about Docker on the web about volume creation.