How To Write First JMeter Script For Load Testing With Example

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • 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...
    CZcams All Videos Playlist
    / mukeshotwani
    Official Link
    jmeter.apache....
    Connect with us:
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwani
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Twitter- / mukeshotwani
    Blog- learn-automatio...

Komentáře • 65

  • @aishwaryakamaraj3756
    @aishwaryakamaraj3756 Před 2 lety +2

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

  • @priyashah5914
    @priyashah5914 Před rokem +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)

  • @shanujha7245
    @shanujha7245 Před 2 lety

    UNREGISTERED SUBLIME TEXT - ah yes, a man of culture

  • @RakibulHasan-mu1ob
    @RakibulHasan-mu1ob Před rokem +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

  • @ranvirk9039
    @ranvirk9039 Před 2 lety +1

    Thanks for uploading the video, very well explained

  • @ruchikamathur2218
    @ruchikamathur2218 Před 2 lety +1

    Very useful video..Thanks a lot Sir.

  • @jayantamandal9732
    @jayantamandal9732 Před 3 lety

    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?

  • @alexandrbril5236
    @alexandrbril5236 Před rokem +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  Před rokem

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

  • @basavarajkande744
    @basavarajkande744 Před 3 lety

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

  • @gurupreetsinghrana6587
    @gurupreetsinghrana6587 Před 2 lety +1

    Good video @mukesh
    Thanks

  • @ranjithkasu4886
    @ranjithkasu4886 Před 3 lety +1

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

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety +4

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

  • @looktothecook3787
    @looktothecook3787 Před 2 lety

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

  • @ParagOak
    @ParagOak Před 3 lety

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

  • @prabhudevan9034
    @prabhudevan9034 Před 3 lety

    Update regularly on jmeter

  • @dungtrananh1522
    @dungtrananh1522 Před 3 lety +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  Před 3 lety

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

  • @manikandanv1811
    @manikandanv1811 Před 5 měsíci

    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

  • @sundarkande4429
    @sundarkande4429 Před 2 lety +1

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

  • @lakshmithulasi1641
    @lakshmithulasi1641 Před 8 měsíci

    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

  • @nancyaggarwal5128
    @nancyaggarwal5128 Před 3 lety +2

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

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety +1

      Thats Strange, you can right click and try adding.

    • @nancyaggarwal5128
      @nancyaggarwal5128 Před 3 lety

      @@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 Před 2 lety

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

  • @palluchoudhary
    @palluchoudhary Před 3 lety +1

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

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety

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

  • @VISHALKUMAR-gw8wx
    @VISHALKUMAR-gw8wx Před 2 lety

    Hi sir your video are soo good

  • @jerryberry7188
    @jerryberry7188 Před 2 lety

    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

  • @ajaydesai3441
    @ajaydesai3441 Před rokem +1

    Your screen appears blured in CZcams. Please have a look

    • @Mukeshotwani
      @Mukeshotwani  Před rokem +1

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

  • @minakshir6103
    @minakshir6103 Před 2 lety

    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.

  • @romaangela9836
    @romaangela9836 Před 2 lety

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

  • @maldivtarget6383
    @maldivtarget6383 Před 3 lety

    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?

  • @milindshirsat525
    @milindshirsat525 Před rokem

    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.

  • @spider279
    @spider279 Před 9 měsíci +1

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

  • @manikandanv1811
    @manikandanv1811 Před 6 měsíci +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  Před 6 měsíci +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 🤞

  • @rachanareddy4747
    @rachanareddy4747 Před 2 lety

    Thank you 😀

  • @sanjibsarkar9565
    @sanjibsarkar9565 Před 2 lety +1

    how to put assertions & automation in jmeter?

    • @Mukeshotwani
      @Mukeshotwani  Před 2 lety +1

      Hi Sanjib here is the link czcams.com/video/0dSptr6poxE/video.html

  • @deepanj7875
    @deepanj7875 Před 2 lety

    Getting Authentication Failed. Any suggestions? Please

  • @suprith777
    @suprith777 Před 10 měsíci +1

    ❤❤

  • @purnapattanayak8225
    @purnapattanayak8225 Před 3 lety +1

    Not usefull. Only for freshers

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety +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 Před 3 lety +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 Před 3 lety +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  Před 3 lety

      Hi Mate, which Java version u are using?

    • @MrDeinma
      @MrDeinma Před 3 lety +1

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

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety

      Awesome mate

    • @MrDeinma
      @MrDeinma Před 3 lety +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  Před 3 lety

      @@MrDeinma Please use Java 8 to avoid such issues