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

Getting started with JMeter tutorial 1: introduction

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

In fact, before I came into contact with jmeter, I used to do performance testing through LR, and I also came into contact with relatively lightweight performance testing tools such as AB, but in fact, the original nature of these tools could not be to simulate user concurrency through multi-threads and finally get some performance reports. An occasional coincidence brought me, who is not very fond of writing code, to Jmeter and embarked on a wonderful and mysterious journey.

As a mainstream performance testing tool, Jmeter has gradually replaced the king position of LR in some small and medium-sized companies. In fact, one of the reasons why LR is so popular in China is thanks to domestic testing and training institutions (both mainstream and non-mainstream online lectures are taught by LR tools). Second, we need to thank Hacker for making a paid commercial software available to testers for free (of course, there are rumors that this is mercury's business strategy), and the third is its powerful omnipotent function (mainly because of its recording function, which can help many beginners get rid of the trouble of writing code).

So do you think that since LR is so powerful, why do you want to learn Jmeter? then I will simply compare LR with Jmeter, thus highlighting the advantages of jmeter over LR:

The jmeter interface makes it easier to create user scenarios-jmeter's tree structure visually shows the hierarchy of scripts, makes it easier to organize and edit scripts through logical components, and encodes the complex user scenarios you need.

LR has a very strong analytical ability, but in fact, I find that 90% of the content jmeter I need can bring me, and I can also save his test data in DB, file, and use the awk command or excel to get the data I want.

I can execute jmeter from the command line.

Jmeter itself is a lightweight tool, which means I can install it on a new computer in just five seconds.

The jmeter is also portable and the size of the 30Mb can be carried with you. As long as there is a java, there is no hindrance.

People who have used LR are often limited to built-in functions, and the flexibility of jmeter is self-evident. For example, in regular expressions, the web_reg_save_para in LR is just a shrunk thing, and the acquired things cannot be processed in groups.

Jmeter for users do not need to worry about license, you can rest assured to use boldly, everything is free

The debug function of jmeter is so simple and useful

It is so easy to operate the database in jmeter, but LR is very complicated.

If I use jmeter, I don't need to use windows. It sounds exotic, but 95% of the things I test are running on linux.

LR's recording log does not display response code, header, url, response and other information as clearly as jmeter's view result tree.

Continuous integration, these four words must be no stranger to everyone. It must be much more difficult than jmeter to integrate LR into jenkins or Hudson, and tell you that plug-ins have been prepared on jenkins to bring benefits for everyone to use.

With so many lists, you must be ready to speak out about jmeter. I will use it together below.

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

Internet Technology

Wechat

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

12
Report