Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the similarities and differences between Jmeter and LoadRunner

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

This article focuses on "what are the similarities and differences between Jmeter and LoadRunner". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what are the similarities and differences between Jmeter and LoadRunner"?

Key features:

1. Support HTTP/HTTPS protocol and send HTTP/HTTPS request.

2. Support user scenarios (borrowing words from LR), and be able to distribute the number of users in different businesses in a certain proportion.

3. Support transactions

4. Support parameterization and association (or borrow words from LR)

5. Be able to obtain and summarize data such as request response time, and provide data reports such as response time summary, transaction / request processing success rate, etc.

Non-critical features:

1. Be able to show the result data in a beautiful chart

2. Able to provide beautiful user interface (GUI)

3. It can provide good recording function and debugging environment.

In addition, from the point of view of the products I tested, and from my personal point of view, I also want the tool to have the following features:

1. Be able to expand flexibly. For example, if the communication between the bakcend and the front end of my application uses RPC, I hope the tool can directly generate load on the back end through my existing API and carry out load testing.

2. You can use the command line mode to run in batch mode (without GUI). The running results can be sent to me through Email, etc., or directly integration to a publishable web page.

3. The collected data can be easily reprocessed (for example, storing raw data in XML format)

4, the tool itself has a good credibility, you can look at the code and other ways to understand that when the accident occurs is the problem of the tool itself or the application.

Comparison of Jmeter and LoadRunner tools

In general, both JMeter and LoadRunner are good at accomplishing the tasks listed in key features, while LR is better at non-critical features. However, JMeter won a resounding victory in terms of the more flexible features I wanted. The specific similarities and differences between the two are as follows:

Like the principle of loadrunner, the architecture of 1.jmeter is a process of monitoring and collecting instructions discovered by concurrent clients, generating scripts, sending them to the application server, and then monitoring the feedback results of the server.

two。 The distributed intermediate agent function also exists in Jmeter, which means that multiple agents can be set up in different PC and controlled remotely, that is, by using multiple machines to run the so-called Agent to share the pressure of Load Generator itself, and to obtain a larger number of concurrent users. Loadrunner also has some functions.

3.Jmeter installation is simple, you only need to unpack the jmeter file to disk C, but it is not installed. if you want to execute debug test scripts, the premise is: install jdk and netbean plug-ins. The loadrunner installation package has more than 1G, and it takes more than an hour to install on a P3.0 PC with 1G memory. If you can't install a new version after installing an older pirate, there is a solution, but it takes time.

4.Jmeter does not have the function of IP spoofing. IP spoofing refers to assigning multiple IP addresses to concurrent users on a PC platform. This function is more useful for simulating real customer environments. Loadrunner has this function.

5.Jmeter also provides a function to record and generate test scripts using local Proxy Server (proxy server), but this function is not easy to use, individual parameters of the test object have to be added manually, and plug-ins such as GoogleToolbarDownloader have to be installed to capture the parameters. But there is a tool, bodboy, which allows you to record the action, then choose to save the script as a Jmeter script, and then use Jmeter to open and modify the script

There are few reports in 6.jmeter, which is not enough to analyze test performance. If you want to know the CPU,memory and other parameters of the database server or application service, you have to write a script on the relevant server to record the performance of the server.

7.Jmeter does performance testing mainly by increasing the number of thread groups or setting the number of cycles to increase concurrent users, while loadrunner can choose which scenario to set in the scenario, and then select the number of virtual users.

8.jmeter can realize complex test behavior through logic controller, which is equivalent to the test scenario in loadrunner.

9.Jmeter can do the function test of web program. Using the samples in jmeter, you can do gray box test. Loadrunner is mainly used for performance test.

10.jmeter is open source, but few users, the relevant information on the network is not comprehensive, you need to figure it out, while loadrunner is commercial software, if it is genuine, there is technical support, at the same time, there are quite a lot of information on the network.

The script modification of 11.jmeter is mainly about the familiarity of various parts of jmeter and the mastery of some related protocols, which does not depend on programming, while loadrunner needs to master functions and modify scripts in addition to complex scene settings.

At this point, I believe you have a deeper understanding of "what are the similarities and differences between Jmeter and LoadRunner". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report