Differences between Jmeter and LoadRunner

 1, the architecture of Jmeter is the same as the principle of LoadRunner, all through an intermediate proxy It is a process of monitoring & collecting instructions found by concurrent clients, generating scripts for them, sending them to the application server, and monitoring the results returned by the server.

  2, the distributed intermediate agent function is also available in Jmeter , This distributed management means that multiple agents can be set up in different PCs and controlled remotely, that is, by using multiple machines to run the so-called Agent to share the pressure of LoadGenerator itself, and to obtain more concurrent users Several. LoadRunner also has some functions.

  3. Jmeter is easy to install. You only need to unzip the Jmeter file package to the C drive. In fact, it is not installed. If you want to execute the debugging test script, the premise is: jdk and netbean plug-ins are installed. The LoadRunner installation package has more than 1G, and it takes more than an hour to install on a PC with P3.0 and 1G memory. .If you have installed an older pirated version and cannot install a new version, there is a solution, but it is troublesome and takes time.

  4, Jmeter does not have IP spoofing function, IP spoofing means more on a PC IP addresses to be assigned to concurrent users. This function is more useful for simulating a more real customer environment. LoadRunner has this function.

  5, Jmeter also provides a function to use the local ProxyServer (proxy server) to record and generate test scripts. But this function is not easy to use. The individual parameters of the test object have to be manually added, and an IE proxy, such as GoogleToolbarDownloader, must be installed to capture the parameters. But there is a tool, bodboy, which can be used to record operations, and then select Save the script as a Jmeter script, and then use Jmeter to open and modify the script

  6, Jmeter has fewer reports, which is not enough to analyze and test performance. If you want to know databaseThe CPU, memory and other parameters of the server or application service must be written separately on the relevant server to record the performance of the server.

  7, Jmeter does a performance test, mainly through Increase the number of thread groups, or set the number of cycles to increase concurrent users, and LoadRunner can select what kind of scene to set in the scene, 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 web program Functional testing, using the samples in Jmeter, you can do gray-box testing, LoadRunner is mainly used for performance testing

  10, Jmeter is open source, but fewer people use it. The relevant information on the above is not comprehensive and you need to figure it out by yourself. LoadRunner is a commercial software. If it is genuine, there is technical support. At the same time, there are quite a lot of information on the Internet.

  11. Jmeter’s script modification is mainly based on the familiarity of the various components in Jmeter and the mastery of some related protocols, instead of relying on programming. In addition to complex scene settings, LoadRunner also Need to master functions and modify scripts.

Category: JMeter, Performance Test

 1, the architecture of Jmeter is the same as the principle of LoadRunner. It uses intermediate agents to monitor & collect instructions discovered by concurrent clients. A process of generating scripts for them, sending them to the application server, and monitoring the results of the server feedback.

  2, the distributed intermediate agent function is also available in Jmeter. This distributed division refers to the number of settings that can be set The agents are controlled remotely in different PCs, that is, by using multiple machines to run the so-called Agent to share the pressure of LoadGenerator itself, and to obtain a larger number of concurrent users. LoadRunner also has some functions.

  3. Jmeter is easy to install. You only need to unzip the Jmeter file package to the C drive. In fact, it is not installed. If you want to execute the debugging test script, the premise is: jdk and netbean plug-ins are installed. The LoadRunner installation package has more than 1G, and it takes more than an hour to install on a PC with P3.0 and 1G memory. .If you have installed an older pirated version and cannot install a new version, there is a solution, but it is troublesome and takes time.

  4, Jmeter does not have IP spoofing function, IP spoofing means more on a PC IP addresses to be assigned to concurrent users. This function is more useful for simulating a more real customer environment. LoadRunner has this function.

  5, Jmeter also provides a function to use the local ProxyServer (proxy server) to record and generate test scripts. But this function is not easy to use. The individual parameters of the test object have to be manually added, and an IE proxy, such as GoogleToolbarDownloader, must be installed to capture the parameters. But there is a tool, bodboy, which can be used to record operations, and then select Save the script as a Jmeter script, and then use Jmeter to open and modify the script

  6, Jmeter has fewer reports, which is not enough to analyze and test performance. If you want to know databaseThe CPU, memory and other parameters of the server or application service must be written separately on the relevant server to record the performance of the server.

  7, Jmeter does a performance test, mainly through Increase the number of thread groups, or set the number of cycles to increase concurrent users, and LoadRunner can select what kind of scene to set in the scene, 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 web program Functional testing, using the samples in Jmeter, you can do gray-box testing, LoadRunner is mainly used for performance testing

  10, Jmeter is open source, but fewer people use it. The relevant information on the above is not comprehensive and you need to figure it out by yourself. LoadRunner is a commercial software. If it is genuine, there is technical support. At the same time, there are quite a lot of information on the Internet.

  11. Jmeter’s script modification is mainly based on the familiarity of the various components in Jmeter and the mastery of some related protocols, instead of relying on programming. In addition to complex scene settings, LoadRunner also Need to master functions and modify scripts.

Category: JMeter, performance test

Category: JMeter, performance test< /p>

Leave a Comment

Your email address will not be published.