How To Write First JMeter Script For Load Testing With Example

Поделиться
HTML-код
  • Опубликовано: 21 янв 2021
  • In this video, I will show you how to write the first JMeter Script from scratch and we will be adding thread group, HTTP request sample, listeners along with user defined variable.
    JMeter Playlist
    • What is JMeter - JMete...
    RUclips All Videos Playlist
    / mukeshotwani
    Official Link
    jmeter.apache.org/
    Connect with us:
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwani
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Twitter- / mukeshotwani
    Blog- learn-automation.com
  • НаукаНаука

Комментарии • 65

  • @aishwaryakamaraj3756
    @aishwaryakamaraj3756 2 года назад +2

    Nice explanation sir 👍 The concepts you delivered are very clear and useful for my career growth. Thanks for the video about JMeter Sir👍

    • @Mukeshotwani
      @Mukeshotwani  2 года назад

      Thank you Aishwarya keep learning 😊

  • @minakshir6103
    @minakshir6103 2 года назад

    Hello Sir,
    please guide me for below file upload process , I want to test for single user only how much time system is taking to large file upload file on server.
    On file Upload screen we browse file and click on upload ,if file name format and file type is valid then we get a message like "file uploaded successfully with Ack no---'' ; then we have to check whether its got uploaded on server or not by validating the other conditions on other View File upload status Screen, by selecting date range or ack no we will get the status as Inprocess/Accepted/Rejected.
    By using HTTPSScreen recorders ,I have checked the response for View File upload status request page but nothing found in response data /body also searched by ack no and date and file name.

  • @jerryberry7188
    @jerryberry7188 2 года назад

    Sir, In jmeter script i am having one test plan under that i am having 3thread groups,each thread groups having 5 threads(user count)..so how can i concurrently increase my user for specific ramp up period?
    Ex: 3thread group having ,in each thread group 5 user so totally 15 user,i want to ramp up the 15 user concurrently.. but in my script 1st 5 user is ramping up after finishing that script next 5 user is ramping up?
    What should i do

  • @ranvirk9039
    @ranvirk9039 2 года назад +1

    Thanks for uploading the video, very well explained

    • @Mukeshotwani
      @Mukeshotwani  2 года назад

      Thanks Ranvir I am glad it helped.

  • @ruchikamathur2218
    @ruchikamathur2218 2 года назад +1

    Very useful video..Thanks a lot Sir.

  • @VISHALKUMAR-gw8wx
    @VISHALKUMAR-gw8wx 2 года назад

    Hi sir your video are soo good

  • @gurupreetsinghrana6587
    @gurupreetsinghrana6587 2 года назад +1

    Good video @mukesh
    Thanks

  • @rachanareddy4747
    @rachanareddy4747 2 года назад

    Thank you 😀

  • @milindshirsat525
    @milindshirsat525 Год назад

    Hi sir , I want know , how to test load after putting login credential for example a user gets to dashboard after successful login . where do we need to provide those username and password credentials.

  • @RakibulHasan-mu1ob
    @RakibulHasan-mu1ob Год назад +1

    Thank you so much, Its really helpful for me or any freshers. As a QA tester if the test case fails what sud we do, how to do a bug report if the test case is fail, ple let us know.Thank you again

  • @lakshmithulasi1641
    @lakshmithulasi1641 8 месяцев назад

    Select html - to view the response body - you need to enable javascript to run this app but in chrome setting by default allow the javascript still im getting this issues

  • @manikandanv1811
    @manikandanv1811 4 месяца назад

    Bro As Your mentioned title WRITE SCRIPT FOR LOAD testing but there is no single line of scripts the only set variable for URL is new

  • @romaangela9836
    @romaangela9836 2 года назад

    hi,I m getting the response of the Https as error,wht could be the reason

  • @priyashah5914
    @priyashah5914 Год назад +1

    Very good explanation Sirji.
    If you are unable to see request and response data then go in configure in view result in tree and click on save as XML and save response data(XML)

  • @ParagOak
    @ParagOak 3 года назад

    Hello Mukesh, can you please cover Jmeter and jenkins in master slave architecture. Nobody has covered this part yet

  • @maldivtarget6383
    @maldivtarget6383 3 года назад

    I tested an application user is 1000 and rampup time 1 second, all request are pass, so let me know this is true my result?

  • @basavarajkande744
    @basavarajkande744 3 года назад

    @Mukesh otwani can you please make more videos as much as possible

  • @alexandrbril5236
    @alexandrbril5236 Год назад +1

    Thank's for your lessons, they are very useful and informative! can you help with one question: how to implement secrets transfer (like tokens, api-keys) to the http request at the JMeter without using CI/CD systems?

    • @Mukeshotwani
      @Mukeshotwani  Год назад

      Good question Alex, let me see If I can resume this series and will cover this too.

  • @shanujha7245
    @shanujha7245 2 года назад

    UNREGISTERED SUBLIME TEXT - ah yes, a man of culture

  • @sundarkande4429
    @sundarkande4429 2 года назад +1

    Which too tool we need to used for load testing for native mobile app

  • @looktothecook3787
    @looktothecook3787 2 года назад

    please create more Video regarding Jmeter we are waiting @Mukesh sir

  • @prabhudevan9034
    @prabhudevan9034 3 года назад

    Update regularly on jmeter

  • @jayantamandal9732
    @jayantamandal9732 3 года назад

    Thanks a Lot Mukesh for the easy way of explanation.If we have to test with 500 users what will be the suggested ramp up time?

  • @dungtrananh1522
    @dungtrananh1522 3 года назад +1

    Dont see any script but some user variables. Not what video title says or am i misunderstanding? I expect there are some groovy script.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hey Mate, you need script when you have to write end to end and complex script. This was just first JMeter example.

  • @deepanj7875
    @deepanj7875 2 года назад

    Getting Authentication Failed. Any suggestions? Please

  • @palluchoudhary
    @palluchoudhary 3 года назад +1

    hello mukesh, can you make one more video using JDBC request.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      I will try my best Pallavi, Let me create some scenarios for JDBC.

  • @spider279
    @spider279 8 месяцев назад +1

    Hi , why the drag and drop don't work for me

  • @nancyaggarwal5128
    @nancyaggarwal5128 3 года назад +2

    Sir i am unable to drag and drop http requests in left panel

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Thats Strange, you can right click and try adding.

    • @nancyaggarwal5128
      @nancyaggarwal5128 3 года назад

      @@Mukeshotwani sir i am able to drag and drop from top to bottom but not from bottom to top... Someone was telling me this is issue in JMeter

    • @rachanareddy4747
      @rachanareddy4747 2 года назад

      Same here, please let me know if you resolved the issue

  • @sanjibsarkar9565
    @sanjibsarkar9565 2 года назад +1

    how to put assertions & automation in jmeter?

    • @Mukeshotwani
      @Mukeshotwani  2 года назад +1

      Hi Sanjib here is the link ruclips.net/video/0dSptr6poxE/видео.html

  • @suprith777
    @suprith777 9 месяцев назад +1

    ❤❤

  • @ranjithkasu4886
    @ranjithkasu4886 3 года назад +1

    Variables can also be declared in test plan. Would have explained the difference.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +4

      Hi Ranjith that was just first script on JMeter. Can't explain everything in single first video which will confuse the audience.

  • @ajaydesai3441
    @ajaydesai3441 Год назад +1

    Your screen appears blured in RUclips. Please have a look

    • @Mukeshotwani
      @Mukeshotwani  Год назад +1

      Can you change settings from RUclips and make it 1080 for better experience

  • @manikandanv1811
    @manikandanv1811 5 месяцев назад +1

    Why not using a real time number of users like 500 or 100 and there is no realtime projects examples everyone repeat the same again and again in jmeter tutorials from start to end disopintment bro there is nothing for use in realtime projects

    • @Mukeshotwani
      @Mukeshotwani  5 месяцев назад +1

      Nothing for disappointment here mani because number of users depends on memory and cpu. You can go from 100 to 1000 too using the same concepts. The reason we keep less score because system should not hang during recording. Please try with 100 then 200 500 user then 1000 users.
      Make sure you have good memory for number of users. Please try from your side. Best of luck 🤞

  • @purnapattanayak8225
    @purnapattanayak8225 3 года назад +1

    Not usefull. Only for freshers

    • @Mukeshotwani
      @Mukeshotwani  3 года назад +1

      Hi Purna yes I started this series but couldn't complete 😢 I will try to resume this series and will make videos for advance concepts too.

    • @purnapattanayak8225
      @purnapattanayak8225 3 года назад +1

      @@Mukeshotwani Hi Mukesh,
      Please make tutorials as per real time scenarios like clicking a submit button, file uploading so as to record the response timings for the process.
      You are doing grt job.

  • @MrDeinma
    @MrDeinma 3 года назад +1

    I keep getting the error below when I follow ur instructions, what could be the cause?
    Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel (in unnamed module @0x21507a04) cannot access class sun.awt.shell.ShellFolder (in module java.desktop) because module java.desktop does not export sun.awt.shell to unnamed module @0x21507a04 in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hi Mate, which Java version u are using?

    • @MrDeinma
      @MrDeinma 3 года назад +1

      @@Mukeshotwani Java 16, Thanks the issue has been resolved

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Awesome mate

    • @MrDeinma
      @MrDeinma 3 года назад +1

      @@Mukeshotwani But I have another challenge, I am unable to save my test plan. when ever I clicked on the save as button in the file menu, I get the error below;
      Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      @@MrDeinma Please use Java 8 to avoid such issues