JMeter vs LoadRunner | Performance Testing Tools | Software Testing Training | Edureka

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] the transformation from the center of excellence to open source load testing is encouraging more and more developers to choose software testing tools like jmeter overload runner now a sensible way to choose the right testing tool for your business is to compare the solutions against each other now there are various performance testing tools available in the market today out of those two of the most popular ones are J meter and lode runner but J meter is taking over lode runner these days so let's have a look at the different comparison parameters for J meter and lode runner in order to check out which one is better this is Shannon Ephraim at Eureka and into this session we will have a look at some of these comparison parameters that will help you understand and know which performance testing tool will suit your test plan better now before we start the session let's have a look at today's agenda so first we will have a small introduction to jmeter and then we will talk about lode runner as well and then we will move on and have a look at the different parameters of comparison that will help us know more about how J meter or lode runner would help you better in your performance testing so let's get started now performance has become an inevitable factor nowadays especially for web and mobile applications as the user strength is very huge for each of these applications now jmeter is considered to be one of the most preferred tools for performance testing so what is jmeter now apache jmeter is a testing tool used for analyzing and measuring the performance of different software services and products it is also a pure Java open-source software used for testing the web application or the FTP applications now it is also used to execute the performance testing load testing and functional testing of web applications now jmeter can also simulate a heavy load on the server by creating tons of virtual concurrent users to web server now let's move on and have a look at loadrunner now loadrunner is a software testing tool from microfocus now it is basically used to test applications measuring system behavior and performance under load it can simulate thousands of users concurrently using the application software it also helps in analyzing and preventing application performance problems now some of the features of loadrunner are lower hardware and software costs it also pinpoints the root cause of application performance problems quickly and accurately it also has effective tool utilization tracking and browser-based access to global test resources now this was a small introduction to both these performance testing tools that is apache jmeter and loadrunner as both of these are most preferred tools when it comes to performance testing so now let's have a look at the different parameters of comparison that will help us in understanding both of these performance testing tools better it will also give a clear idea on how these two are different from each other and will also help you choose your perfect performance testing tool now loadrunner holds a strong position on the market and apache jmeter is quickly taking up than any other performance tools today so some of the parameters of comparison include the availability load generation capacity execution analysis report open source and community support scripting building test scenarios and elements so let's get into the details of these parameters so the first one is availability now apache jmeter is basically an open source free software testing tool that can be easily downloaded for performing any test and loadrunner is an expensive software testing tool although lord rana now offers a free version with almost all of its abilities however this version is limited for 50 virtual users now jmeter which is completely free including all of its plugins offers all of its abilities to as many views as your infrastructure can handle now typically local machines can handle up to thousand virtual users therefore jmeter gets you closer to your targets we're not having to whip out your credit card now moving on the next factor is the load generation capacity now in this case apache jmeter has an unlimited load generation capacity it can handle as many number of threads and users as you provide and there is no such limitation or it does not reduce the performance of jmeter but when it comes to load runner it has a pretty limited load generation capacity you cannot overload your load run all tool with to many users or threads so if you are looking for a performance testing tool that will perform a heavy testing and also where there will be too many users and thread groups for the testing then you should definitely go for apache jmeter now moving on the next parameter is the execution now execution is easier in jmeter so you just need to install the Java download your jmeter and upload the jmeter script file you can manually set up your own load generators for small loads all you need is just a couple of minutes to install the Java download and upload the jmeter script file in blaze meter which you can use for the larger loads you just need to upload your jmx file select the duration and number of iterations monitors and location but when you consider loadrunner execution is complex as compared to jmeter so it basically creates one thread for each user now the load on the server is emulated by instructing multiple virtual users to perform the tasks simultaneously now before the testing we set the scenario configuration and scheduling now we can run the entire scenario and the virtual user groups or individual virtual users now moving on the next factor of comparison is the analysis report now in case of apache jmeter results are pretty easy to understand for less experienced engineers and it also allows in-depth analysis for the testers now you can either add graphs or listeners to view the test results or merge the results in the JDL files jmeter provides you your report in a simple portable and compatible way now most performance projects takes around 40 to 50 hours to complete either for web or mobile and in loadrunner a similar project might take 200 to 300 hours five or six times more and would usually require two or three team members instead of one also g-meter is free to use which is a huge advantage so if you are a performance testing engineer and you are committed to one tool you should consider looking at new options so choose the tool that best suits your specific needs now in case of loadrunner the HP analysis is a program to perform details analysis on the performance tests that you have carried out so the HP analysis takes the dump created by the controller during execution of your load test now this dump contains all the information in a raw format which is parsed by the HP analysis to generate various graphs now next up is the open source and community support now jmeter is basically an open source tool with a vibrant immunity that keeps adding features and supports users who run into issues and problems now this ensures new users always have someone to answer their questions and longtime users can improve their abilities on jmeter now in addition having an open source tool ensures it keeps getting better and is always in line with users needs and requirements now if we consider loadrunner it is owned by a large corporate limiting the number of users as licenses are required in addition it does not have an open source supportive community either so it's always easy to use jmeter if you are performing any test for which you think you might need some help because while you are using jmeter there will always be some support that you will get from the community and which will help you understand your problems better and also provide you with certain solutions now moving on the next parameter is scripting now the jmeter GUI is basically drag-and-drop object oriented so this helps us save mountains of time when scripting even with complex scripts now while jmeter does support scripting in elements you are not required to now this means you can run a complete load test without knowing a bit of code this expands the number of users who can use jmeter or analyze the test results so even if you do code you can enjoy more of je meters abilities now loadrunner on the other hand requires scripting knowledge so if you can't code you can't use loadrunner so this creates an obstacle lengthens training sessions and makes each load testing cycle take more time not just that geometer also supports multiple languages such as the bean shell groovy javascript etc while loadrunner supports only C so if you are not very well-versed with the coding language you can always go for apache jmeter for your performance testing in this case you wouldn't need to know any sort of code now the next comparison parameter building the test scenarios now test scenarios are less complex in jmeter so in addition to easier configuration of elements jmeter does not require adding any beginning or ending transaction elements which loadrunner does now in loadrunner arranging scripts takes up more time and resources and not just that it is also more complex because it requires managing different agents now the final parameter of comparison is the elements so adding elements is very easy on jmeter all you have to do is just right-click on the tree scenario and add what you need so in each element you can easily fill in the configuration or you can copy and paste from a text file comments can also be added to elements but in case of load Ronna configuring each element is more complex they all require complex scripting in C and they need to be defined in a text file before integrating with the scenario and if you want to know more about how to add elements in jmeter you can check out our video on jmeter tutorial which will help you understand the elements of jmeter in a better way and not just that you can also check out our video on how to install jmeter if you are facing any trouble on that too so these were some of the parameters of comparison that has helped us understand both of these performance testing tools in a better way so basically there are no perfect performance testing tools and you cannot select one best out of the lot because while selecting your performance testing tool you need to keep in mind that how that particular tool is helping in your test plan or how is it helping you in executing your performance testing so you should always go for that particular tool which goes along with your test plan and helps you in your performance testing compatibility of your website that you are performing the test on and your tool is more important here so with this we have come to the end of this battle between jmeter and loadrunner so here I would suggest that apache jmeter is better when compared to loadrunner in case of performance testing I think that would definitely make our work easier but that was just my opinion when I'm comparing these two performance testing tools and also don't forget to let us know about other comparison parameters that filled me this choice easier till then thank you and happy learning I hope you have enjoyed listening to this video please be kind enough to like it and you can comment any of your doubts and queries and we will reply them at the earliest do look out for more videos in our playlist and subscribe to any rekha channel to learn more happy learning
Info
Channel: edureka!
Views: 42,923
Rating: undefined out of 5
Keywords: yt:cc=on, jmeter vs loadrunner, loadrunner vs jmeter, difference between loadrunner & jmeter, difference between jmeter & loadrunner, apache jmeter, load testing, performance testing, how to create first jmeter test, jmeter basics, learn jmeter, learning jmeter basics, jmeter, jmeter step by step from scratch, jmeter elements, jmeter tutorial for beginners, jmeter tutorial, loadrunner tutorial, loadrunner tutorial for beginners, software testing training, edureka
Id: 431l0SkwQ2Q
Channel Id: undefined
Length: 13min 29sec (809 seconds)
Published: Wed Apr 10 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.