JMeter tutorial 19 - How to perform Remote/Distributed Testing JMeter | Master Slave Mechanism

This is the nineteenth video of JMeter Tutorial series which covers how to perform Remote testing (Distributed testing) in Jmeter using Master Slave mechanism
Learning:
Why Remote testing is required?
1) To simulate user load which JMeter client machine is not able to handle due to infrastructure or hardware limitations
2) To generate user load from different geographies to get realistic result parameters - response time
Architecture of Remote testing:
Works on master slave mechanism
Prerequisites:
1) Master and slave machines must have JMeter installed on them(Similar version)
2) Master and slave machines must have Java installed on them(Prefer to use similar version)
3) Master and slave machines must connect to each other(same subnet)
Configurations Remote testing:
Step 1:
• Navigate to JMeter/bin folder
• Open jmeter properties file
• provide the IP address of remote hosts in JMeter properties file
Step 2:
• Navigate to JMeter/bin folder
• Run create-rmi-keystore file and provide answer to the questions
• rmi_keystore.jks file will be created
• paste this file to remote hosts JMeter/bin folder
Step 3:
• Navigate to JMeter/bin folder
• Run jmeter-server file
==================================================================
Automation Anywhere Tutorial Playlist:
• Automation Anywhere A1...
Subscribe for more tutorials - / @qualityassurancelab7764

Пікірлер: 67

  • @mehabubd8045
    @mehabubd80454 жыл бұрын

    Hi Madam, Great expierence! Best Institute to learn J-Meter,great teaching method and every steps explained clearly & in Understanding way, I highly recomand this institution to Learn J-meter , Hope we ll expect more videos from you madam with regards to Testing.

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    I am glad you found my video helpful! Keep learning and share the videos as well. Please let me know the topics on which you wish me to create videos.

  • @mehabubd8045

    @mehabubd8045

    4 жыл бұрын

    Sure,I will update you the same.

  • @mehabubd8045

    @mehabubd8045

    4 жыл бұрын

    Hi Madam, Can I have your email Id? have some doubts regards to create-rmi-keystore, I am not able to run the windows bat file so please help me with the same.

  • @uzairsiddiqui6660

    @uzairsiddiqui6660

    4 жыл бұрын

    @@qualityassurancelab7764 Mam, Kindly make the video of Load Testing, Stress Testing, Json Extractor and some knowledge about Throughput and latency etc.

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    Hi @Uzair Siddiqui , I will share the requested videos soon. For latency, throughput and other result parameters, please refer - kzread.info/dash/bejne/gHd2stKEk6_OmaQ.html

  • @tejateja3306
    @tejateja33063 ай бұрын

    Your explaining very detailed i never seen in any Institute , this is the best video and you are best KZreadr explain about jmeter

  • @praveengupta7153
    @praveengupta71533 жыл бұрын

    Brilliantly explained. Thanks a lot mam.

  • @karthikroyal1525
    @karthikroyal15253 жыл бұрын

    Such a fantastic videos ever in KZread... From the video content to the way it explained was fantastic..... It will be very helpful for all the IT Professionals..... Great great great effort from your side mam... Thanks a lot

  • @kashfilms3782
    @kashfilms37823 жыл бұрын

    Thank you so much the video is very precise.

  • @erfantavoosi100
    @erfantavoosi1003 жыл бұрын

    Nice video

  • @swarnendubhattacharjee2201
    @swarnendubhattacharjee22013 жыл бұрын

    Appreciate.👍

  • @bharathkumar5212
    @bharathkumar52127 ай бұрын

    excellent

  • @jaganreddy827
    @jaganreddy8272 жыл бұрын

    Superb madam 👌

  • @dishagangwal835
    @dishagangwal8353 жыл бұрын

    nice one

  • @riizevans8655
    @riizevans865511 ай бұрын

    Thanks for your explanation; I was able to follow along until I ran the test from the command prompt. "error in nonguidriver following remote engines could not be configured" is showing in the command prompt. Any idea how to solve this?

  • @mayanktripathi506
    @mayanktripathi506 Жыл бұрын

    Hi, In case I have Used 1 master machine and 2 slave machines [External System] Then while starting the test, do I need to run the JMeter-server batch file on all the slave machines as well? Or is it fine if we run the JMeter server batch file on the Master machine only? Please clear this doubt, I am new to JMeter so wanted to understand

  • @rameshreddy8968
    @rameshreddy89682 жыл бұрын

    Thanks for the video... i have 2 questions 1) you mentioned that will distribute the load equval basis in master (500) and slave machine (500) but i want to distrubute one machine 250 vusers and another machine 750 vusers, can you help me hw can we do this kind of requirements? 2) Test data(csv file) should we keep slave machine, is it neccasary? Can you help me on this?

  • @notaMorocco
    @notaMorocco5 ай бұрын

    thanks

  • @ebianroy
    @ebianroy4 ай бұрын

    Hi in the slave machine what are things we need to run. we need to out that rmi key store in bin and run the jmeter server righht? please reply

  • @user-fr8cb2ey3i
    @user-fr8cb2ey3i10 ай бұрын

    Hello Ma'am, Very useful and informative video you have. I just wanted to ask that in my project, i have to run my test for 2 different countries. so shall i use 2 slaves and 1 master where 1 slave will be using country1 IP and 2nd slave will be using Country2 IP address? also, will it be fine it i use master machine as slave also for country1 and another slave for country2? Please suggest.

  • @ajaykabra9272
    @ajaykabra92723 жыл бұрын

    Please create videos on Loadrunner or Gatling

  • @saadtyphoon
    @saadtyphoon3 жыл бұрын

    The "jmeter-server" file, we need to run that on slave server....right? Not on master.

  • @Ace00994
    @Ace009942 жыл бұрын

    Could you explain how to pass Unique data to the Remote hosts like jmeter -n -t .jmx, -R server1 param list,Server2 param list

  • @shominaik
    @shominaik4 жыл бұрын

    Hi Mam, thanks for creating and sharing the knowledgeable videos. Could you pls create a JMeter video for testing microservices

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    Hi, Thanks for watching my videos. Please refer this video to test SOAP and REST Webservices - kzread.info/dash/bejne/mImsrrmBiq7cnco.html

  • @babapeershaik6580
    @babapeershaik65804 ай бұрын

    result_remotetest.csv file from where you have taken and how did you make the result csv file

  • @siriworld8585
    @siriworld85855 жыл бұрын

    mam super mam classes

  • @yogitaj.358
    @yogitaj.358Ай бұрын

    Hi i am getting java connection error is there any possible cause and resolution for this?

  • @ramjikumararajan5574
    @ramjikumararajan55743 жыл бұрын

    Remote host in the sense...the slave computers in the network. Right ??????

  • @maddyrocksbisht
    @maddyrocksbisht3 жыл бұрын

    U didn't mentioned if jmeter server needa to be started on slave machine only or master or both

  • @venkatteja2705
    @venkatteja27052 жыл бұрын

    Hii While generating html report in gui mode an error occurred null and consumer failed with message begin size is 0 is not equal to fixed size 5 How to solve it Madam

  • @Ace00994
    @Ace009942 жыл бұрын

    I can able to pass data to one remote server but for multi-server unique data getting error

  • @adityalokare3902
    @adityalokare39023 жыл бұрын

    Hi Miss, Not able to open the "create-rmi-keystore" file on windows when i double click on the file or using right click No action is getting performed Please help??

  • @qualityassurancelab7764

    @qualityassurancelab7764

    3 жыл бұрын

    Hi, have you set the path of your JDK/JRE Bin folder in environment variables?

  • @adityalokare3902

    @adityalokare3902

    3 жыл бұрын

    @@qualityassurancelab7764 Can you please tell me how to do that?

  • @qualityassurancelab7764

    @qualityassurancelab7764

    3 жыл бұрын

    ​@@adityalokare3902 Please find the steps below to set path in Windows 10: Open control panel and click on System Click the Advanced system settings link. Click Environment Variables. In the section System Variables find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New. In the Edit System Variable (or New System Variable) window, specify the value of the PATH environment variable as complete folder paths of JDK\bin and JRE\bin from your system Click OK. Close all remaining windows by clicking OK.

  • @PerryAI
    @PerryAI Жыл бұрын

    How we use crypto-js to send encrypted body data in headers?

  • @manikandans3351
    @manikandans33512 жыл бұрын

    i could not run create rmi keystore what should i do mam

  • @grarun9
    @grarun93 жыл бұрын

    Can we use master machine also as slave machine?

  • @qualityassurancelab7764

    @qualityassurancelab7764

    3 жыл бұрын

    Ideally not, but it is possible. In the demo I have used Master and slave as same machine

  • @moshiurrahman895
    @moshiurrahman8954 жыл бұрын

    mam after complet all steps according to your tutorial when i click on jmeter serever then show: Could not find ApacheJmeter_core.jar ... ... Trying JMETER_HOME=.. Found ApacheJMeter_core.jar Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is: java.io.IOException: java.security.UnrecoverableKeyException: Cannot recover key An error occurred: Listen failed on port: 0; nested exception is: java.io.IOException: java.security.UnrecoverableKeyException: Cannot recover key errorlevel=1 what can dow now?plz give me response

  • @sonamnikhra863

    @sonamnikhra863

    Жыл бұрын

    Facing the same issues

  • @Zubineya

    @Zubineya

    Жыл бұрын

    @@sonamnikhra863 :i am facing the same issue

  • @motivationaluploadsonly8162
    @motivationaluploadsonly8162 Жыл бұрын

    I love you...muahh

  • @sajidsaiyed8169
    @sajidsaiyed81692 жыл бұрын

    But u ran from host machine. Where are slave machine configuration. Please correct me

  • @lakshmimadhurinadakuditi6095
    @lakshmimadhurinadakuditi60952 жыл бұрын

    How can we mention client machine

  • @pandithatchinadhanasekar8016
    @pandithatchinadhanasekar80164 жыл бұрын

    Hi mam After providing serval answers for *create rmi-keystore* where I have to find *rmi-keystore.jks* file mam

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    Hi, rmi-keystore.jks file will be created in the JMeter\Bin folder.

  • @pandithatchinadhanasekar8016

    @pandithatchinadhanasekar8016

    4 жыл бұрын

    @@qualityassurancelab7764 By the way of your vidoes I'm providing serval answers in *create rmi-keystore* but I am unable to get *rmi-keystore.jks* under my bin folder mam

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    @@pandithatchinadhanasekar8016 Please try another way mentioned below: Skip Step 2 to run create-rmi-keystore file and put mi_keystore.jks to remote hosts. Rather Open the JMeter.properties file under JMeter/Bin folder on the main system and remote hosts and put the command - server.rmi.ssl.disable=true

  • @pandithatchinadhanasekar8016

    @pandithatchinadhanasekar8016

    4 жыл бұрын

    @@qualityassurancelab7764 will check and let you know mam

  • @pandithatchinadhanasekar8016

    @pandithatchinadhanasekar8016

    4 жыл бұрын

    @@qualityassurancelab7764 Hi mam still I couldn't connect to my remote system mam

  • @abhishekkr9712
    @abhishekkr97122 жыл бұрын

    Where is the result saved ?

  • @nileshthummar20
    @nileshthummar204 жыл бұрын

    Great Madam, Actually I had sent mail but still not getting response ok maybe you are busy or not seen due to other work, ok, I just humble request can you more elaborate to listener/report. my confusion is I am not clear to say my site is how many users to support. sometimes what happens let say I increase the count of user/thread but some of the cases in between 1-2 user hit fail, again I increase then same 2-5 user fail. so I confuse how to say to my manager our site is how much load takes support. OR one more thing if someone asks me hey can you say me the performance of our site? for this question what elements or key points I would give them can you suggest to me... most of the time this question facing many more people in his/her life. in simple terms how to give a valid reply to them.

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    Hi Nilesh, thanks for reaching out to me. Number of threads(users) which a site(or application) can handle depends on multiple configurations such as CPU , operating system, memory ,disk IO speeds etc of both JMeter and site(or application) under test host(system). To identify the number of threads, You can ramp up the threads until either the tests are failing or the computer crashes. One way to do so is - Add the samplers under the Loop Controller and and check the forever check box to run an infinite loop. Now, run the test with 10 threads. If the test is successful, increase the thread count to say 50 threads and run the test again. Repeat the process(use distributed testing for large number of threads) until the test gets stuck and stops responding withe errors like - java.lang.OutOfMemoryError: Java heap space. Make sure that you run the test in Non GUI mode as GUI mode is only for development and debug purpose and consumes a lot of memory. To measure the performance of the site, several parameters are considered such as response time, 90% line, Throughput, hits per second, latency. To understand them in detail, please refer - kzread.info/dash/bejne/gHd2stKEk6_OmaQ.html

  • @nileshthummar20

    @nileshthummar20

    4 жыл бұрын

    @@qualityassurancelab7764 Thanks mam.

  • @siriworld8585
    @siriworld85855 жыл бұрын

    please upload more videos mam

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    Sure, I will upload. Please let me know the topics on which you wish me to create videos.

  • @nileshthummar20

    @nileshthummar20

    4 жыл бұрын

    @@qualityassurancelab7764 Thank You ma'am, if it is possible to create videos for actual load test report viewing, it means how to judge the report. in short, if someone/manager says hey can to give the answer for our site is how many user-supported, or let say a concurrent user in 1 second. also find the breakpoint etc

  • @nileshthummar20
    @nileshthummar204 жыл бұрын

    Hello mam, What're the steps we need to take care/performed in the slave system. can you explain with example? please. and if possible then also explain if limit/specific user to load in slave. means how controlling of MASTER machine.

  • @qualityassurancelab7764

    @qualityassurancelab7764

    4 жыл бұрын

    Hi Nilesh, Points to be taken care of in master and slave machines are: 1) Master and slave machines must have JMeter installed on them(Similar version) 2) Master and slave machines must have Java installed on them(Prefer to use similar version) 3) Master and slave machines must connect to each other(same subnet) 4) Assure that firewalls on the operative systems are turned off. In some cases, the firewall may still be blocking the communication among master and slaves 5) Check that all slaves have the plugins that will be used by the test script since Master sends the .jmx file to its slaves but it does not send the required plugins Hope this helps, let me know for any further query!

  • @nileshthummar20

    @nileshthummar20

    4 жыл бұрын

    @@qualityassurancelab7764 thanks mam, point 5 is not much more clear, can you explain more. With simple examples if you have. Like A is master B, C, D is slave. Now A have .jmx file and same this file send to B, C, D etc...