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

Поділитися
Вставка
  • Опубліковано 30 чер 2019
  • 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
    @mehabubd8045 4 роки тому +2

    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 роки тому +2

      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 роки тому +1

      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 роки тому +2

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

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

      Hi @Uzair Siddiqui , I will share the requested videos soon.
      For latency, throughput and other result parameters, please refer - ua-cam.com/video/NCBPpKcLhiA/v-deo.html

  • @tejateja3306
    @tejateja3306 3 місяці тому

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

  • @karthikroyal1525
    @karthikroyal1525 3 роки тому

    Such a fantastic videos ever in UA-cam... 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

  • @praveengupta7153
    @praveengupta7153 3 роки тому +1

    Brilliantly explained. Thanks a lot mam.

  • @kashfilms3782
    @kashfilms3782 3 роки тому

    Thank you so much the video is very precise.

  • @rameshreddy8968
    @rameshreddy8968 2 роки тому

    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?

  • @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

  • @user-fr8cb2ey3i
    @user-fr8cb2ey3i 10 місяців тому

    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.

  • @riizevans8655
    @riizevans8655 11 місяців тому

    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?

  • @saadtyphoon
    @saadtyphoon 3 роки тому +1

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

  • @Ace00994
    @Ace00994 2 роки тому

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

  • @erfantavoosi100
    @erfantavoosi100 3 роки тому +1

    Nice video

  • @swarnendubhattacharjee2201
    @swarnendubhattacharjee2201 3 роки тому +1

    Appreciate.👍

  • @ebianroy
    @ebianroy 4 місяці тому

    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

  • @jaganreddy827
    @jaganreddy827 2 роки тому

    Superb madam 👌

  • @bharathkumar5212
    @bharathkumar5212 7 місяців тому

    excellent

  • @dishagangwal835
    @dishagangwal835 3 роки тому +1

    nice one

  • @ramjikumararajan5574
    @ramjikumararajan5574 3 роки тому +1

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

  • @ajaykabra9272
    @ajaykabra9272 3 роки тому +1

    Please create videos on Loadrunner or Gatling

  • @maddyrocksbisht
    @maddyrocksbisht 3 роки тому

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

  • @babapeershaik6580
    @babapeershaik6580 4 місяці тому

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

  • @yogitaj.358
    @yogitaj.358 Місяць тому

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

  • @venkatteja2705
    @venkatteja2705 2 роки тому

    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

  • @notaMorocco
    @notaMorocco 5 місяців тому

    thanks

  • @shominaik
    @shominaik 4 роки тому +1

    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 - ua-cam.com/video/fUxLWHZKvmg/v-deo.html

  • @Ace00994
    @Ace00994 2 роки тому

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

  • @PerryAI
    @PerryAI Рік тому

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

  • @manikandans3351
    @manikandans3351 2 роки тому

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

  • @lakshmimadhurinadakuditi6095
    @lakshmimadhurinadakuditi6095 2 роки тому

    How can we mention client machine

  • @grarun9
    @grarun9 3 роки тому +1

    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

  • @siriworld8585
    @siriworld8585 5 років тому +1

    mam super mam classes

  • @adityalokare3902
    @adityalokare3902 3 роки тому +2

    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 роки тому +1

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

    • @adityalokare3902
      @adityalokare3902 3 роки тому +1

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

    • @qualityassurancelab7764
      @qualityassurancelab7764  3 роки тому +1

      ​@@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.

  • @abhishekkr9712
    @abhishekkr9712 2 роки тому

    Where is the result saved ?

  • @sajidsaiyed8169
    @sajidsaiyed8169 2 роки тому

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

  • @pandithatchinadhanasekar8016
    @pandithatchinadhanasekar8016 4 роки тому +1

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

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 роки тому +1

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

    • @pandithatchinadhanasekar8016
      @pandithatchinadhanasekar8016 4 роки тому +1

      @@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 роки тому +1

      @@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

  • @moshiurrahman895
    @moshiurrahman895 4 роки тому +1

    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

    I love you...muahh

  • @nileshthummar20
    @nileshthummar20 4 роки тому +1

    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 роки тому +1

      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...

  • @nileshthummar20
    @nileshthummar20 4 роки тому +1

    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 роки тому +1

      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 - ua-cam.com/video/NCBPpKcLhiA/v-deo.html

    • @nileshthummar20
      @nileshthummar20 4 роки тому +1

      @@qualityassurancelab7764 Thanks mam.

  • @siriworld8585
    @siriworld8585 5 років тому +1

    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