tag:blogger.com,1999:blog-8090475.post4119352748940140274..comments2023-11-02T09:23:34.096-04:00Comments on Technophilia: Distrubuted JMeter testing using DockerSri Sankaranhttp://www.blogger.com/profile/00178974793936817176noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-8090475.post-13529554112319074442020-07-17T08:17:37.677-04:002020-07-17T08:17:37.677-04:00I had not considered that when I wrote this up. Y...I had not considered that when I wrote this up. You could possibly have this process run in a loop with each JMX or update the driver script to consume a list of JMXs.Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-64590746623858394252020-07-16T22:09:09.914-04:002020-07-16T22:09:09.914-04:00Hi,May i know how i can execute multiple .jmx scri...Hi,May i know how i can execute multiple .jmx scripts ??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8090475.post-34421405471857731632020-01-29T23:19:46.376-05:002020-01-29T23:19:46.376-05:00Hi Srivaths,
Thankyou for this wonderful solution...Hi Srivaths,<br /><br />Thankyou for this wonderful solution. As Sri Sankaran pointed out iam also getting a 125 Error while startin Jmeter server for 1 instance.Anonymoushttps://www.blogger.com/profile/06344480667246358828noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-72402217989055117862018-04-22T10:00:03.294-04:002018-04-22T10:00:03.294-04:00When I wrote this tool I did not have a need to ru...When I wrote this tool I did not have a need to run multiple instances of the driver script. So I did not consider or make accommodations for that use case. That is not to say that it will not work; just that I did not take that into account. <br /><br />I am little pressed for time at the moment so may not be able to immediately dedicate time to your request. I suggests the following tests to validate your hunch for the cause of error:<br /><br />1) Just run one instance of driver.sh and see if it work<br />2) If (1) is successful try a minimal run (1 server each) with two instances of the driver<br /><br />If (2) is successful then crank it up a little (more servers on each driver) 'til it breaks.<br />If (2) is not successful your theory could be correct. This will need more research.<br /><br />Hope that gets you going<br /><br />SriSri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-76650113954649577662018-04-22T02:51:30.439-04:002018-04-22T02:51:30.439-04:00Hi Srivaths,
I'm trying to run multiple insta...Hi Srivaths,<br /><br />I'm trying to run multiple instances of the driver.sh script from the same host, but always run into the problem - "Error '125' while starting a jmeter server. Quitting". I figured this was due to the conflict in read/write port numbers being used, so, I tried using different port ranges for different runs. But, still getting the same error. Could you please help me find a solution for this issue? <br />Arunahttps://www.blogger.com/profile/11916500296137755406noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-15654375486726538162018-01-31T18:10:59.281-05:002018-01-31T18:10:59.281-05:00ThanksThanksArunahttps://www.blogger.com/profile/11916500296137755406noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-80423343773867494132018-01-31T11:56:37.638-05:002018-01-31T11:56:37.638-05:00Glad you found it helpful.
WORK_DIR references a ...Glad you found it helpful.<br /><br />WORK_DIR references a directory where the driver script runs i.e. the host machine.Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-10076880778677473872018-01-30T13:08:23.636-05:002018-01-30T13:08:23.636-05:00Hi Srivaths,
This is a very useful post and thank...Hi Srivaths,<br /><br />This is a very useful post and thanks for such a clear write up. <br />I have a question regarding the way "WORK_DIR" needs to be setup for use in the driver script.<br />Does this refer to a directory on the host machine or a volume mounted on the container? Arunahttps://www.blogger.com/profile/11916500296137755406noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-54633419483432241152017-04-05T15:07:43.150-04:002017-04-05T15:07:43.150-04:00I haven't tried that. You can try by specifyi...I haven't tried that. You can try by specifying a full qualified path.Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-66163399908432084562017-04-04T06:44:27.356-04:002017-04-04T06:44:27.356-04:00Hi Srivaths if i want to use jmx file with input s...Hi Srivaths if i want to use jmx file with input some file how can i give the paths of that files like jmx file has input taken from /home/hosts.txtthatskhttps://www.blogger.com/profile/11875269295641294168noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-6602741649465526282016-05-18T12:27:32.393-04:002016-05-18T12:27:32.393-04:00I am not familiar with that feature and I haven...I am not familiar with that feature and I haven't tried it. That said, I would expect usage to be the same as in a non-Dockerized environment.Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-90371190086770703042016-05-13T17:09:20.611-04:002016-05-13T17:09:20.611-04:00This is great -- thanks! Is there a way to referen...This is great -- thanks! Is there a way to reference a csv file (using jmeter's CSV Data Set config)?LSTLhttps://www.blogger.com/profile/08788082591497025618noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-60057003970535222082016-04-11T09:45:36.200-04:002016-04-11T09:45:36.200-04:00Treat the Docker container no differently than you...Treat the Docker container no differently than you would a remote server. If you are trying to connect to a MariaDB instance on a remote server you would provide the host & port in your connection string (property or whatever you are using). Do the same in this case. You should have access to the IP addresses of the Docker container(s) you have created. Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-4919381691643193202016-04-08T15:23:49.474-04:002016-04-08T15:23:49.474-04:00Sri,
You may be able to help me. How do you acce...Sri, <br /><br />You may be able to help me. How do you access a MariDB in a Docker container via a local instance of Jmeter, I have imported a JMX file to load test the MariaDB, but it can't access it. I can carry this task out locally when both applications are local, but I'd like to test the container remotely using Jmeter.Anonymoushttps://www.blogger.com/profile/17650686907030159820noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-67770089784951862652016-03-07T08:43:30.221-05:002016-03-07T08:43:30.221-05:00Sorry, they aren't on Docker hub. You have to...Sorry, they aren't on Docker hub. You have to build them from the GitHub repositories.Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-44168388810761652822016-03-07T03:38:13.416-05:002016-03-07T03:38:13.416-05:00Looks really good, but I couldn't find your im...Looks really good, but I couldn't find your images (ssankara/jmeter and ssankara/jmeter-server) on docker hub, so building and running fails...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8090475.post-43721423940525047102016-01-28T11:09:03.733-05:002016-01-28T11:09:03.733-05:00What's the context? Where does it say that?What's the context? Where does it say that?Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-79348608399101467812016-01-26T09:41:57.113-05:002016-01-26T09:41:57.113-05:00Following statement is not correct -
JMeter does...Following statement is not correct - <br /><br />JMeter does not transfer test data filed to machines pumping load.tarunhttp://www.seleniumtests.comnoreply@blogger.comtag:blogger.com,1999:blog-8090475.post-83637560784917042872015-12-14T13:17:46.723-05:002015-12-14T13:17:46.723-05:00@RamKumar:
You have made a good observation that...@RamKumar:<br /> You have made a good observation that all the containers are on the same host. The usage load that you can generate this way is predicated on <br /><br />a) the hardware of the host and <br /><br />b) what "usage" represents. <br /><br /> Since you say that you are fairly new to Docker I would like to point out that you can typically create a several more JMeter-Server instances in the form of Docker containers compared to what you could do if the JMeter-Server instances were virtual machines.<br /><br /> All that said, if you need to generate still more load than you can on one host simply repeat the above on another host. You could have a higher level master script that orchestrates all such server hosts.Sri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-28301180484485027612015-12-13T03:13:18.373-05:002015-12-13T03:13:18.373-05:00Very nice tutorial! I am new to docker. In JMeter ...Very nice tutorial! I am new to docker. In JMeter we go for distributed testing when a machine can not generate enough load. So we need multiple hosts. If you create all the containers in the same host, how can you generate load? if you are going to install docker & set up jmeter with dockerfile in multiple hosts, how the driver script can be used here ?RamKumarnoreply@blogger.comtag:blogger.com,1999:blog-8090475.post-25395577016607244502015-11-23T02:07:48.005-05:002015-11-23T02:07:48.005-05:00@srivaths,
Thanks, iam having issue in running El...@srivaths,<br /><br />Thanks, iam having issue in running Elasticsearch,ELK,logstatsh and Grafana integration with Jmeter in Ubuntu and also issues in running Master and 3 servers.<br />Will get in touch with you soon!<br />Pavanhttps://www.blogger.com/profile/09180005550657808889noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-82338247778603896712015-11-20T05:50:04.836-05:002015-11-20T05:50:04.836-05:00@Pavan:
Glad you liked the article. I don't...@Pavan:<br /> Glad you liked the article. I don't have much more by way of written instructions. I can try to help you with any particular portion on which you want elaboration.<br /><br />SriSri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-65101775762359888152015-11-18T23:45:29.766-05:002015-11-18T23:45:29.766-05:00Hi Srivaths,
This is brilliant! However do you ha...Hi Srivaths,<br /><br />This is brilliant! However do you have a idiot guide to complete setup?Pavanhttps://www.blogger.com/profile/09180005550657808889noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-86827515798147263272015-10-05T12:09:37.318-04:002015-10-05T12:09:37.318-04:00Artem:
Glad you found my post useful.
The size...Artem:<br /> Glad you found my post useful.<br /> The size of the simulation is dictated by the expected use. You then want to apply that kind of load (load test). Then you want be able to *exceed* that to find the breaking point (stress test). That said there is a tipping point with regards to JMeter itself. Roughly you can handle about 100 users for a "typical" virtual machine (VM) with a single core & 8GBytes of RAM. Of course you would have to factor in the frequency of the requests made, the size of these requests etc.<br /><br /> The answer to the second is to a large extent dictated by *what* the containers are doing (your first question). Start small (say 15 containers on a "typical" VM) and go from there. What I am trying to say here is that there is no easy formula you can apply to get an answer.<br /><br /> Hope that helps.<br /><br />SriSri Sankaranhttps://www.blogger.com/profile/00178974793936817176noreply@blogger.comtag:blogger.com,1999:blog-8090475.post-33762828163939345722015-10-03T07:58:20.560-04:002015-10-03T07:58:20.560-04:00Hi Srivaths,
Nice approach for load testing. We ...Hi Srivaths, <br /><br />Nice approach for load testing. We want to use something similar hosted on Azure infrastructure. <br />Few questions: <br /> - when simulating concurrent user access how many users you simulate on a single JMeter server instance? <br /> - what would you recommend in terms of VM size that hosts docker containers that run JMeter? E.g what is relation between VM size and a number of containers it would make sense to run on it?<br /><br />Thanks <br />Artem Anonymoushttps://www.blogger.com/profile/14392501410980089028noreply@blogger.com