Detailed explanation of Jmeter test script writing (with detailed pictures)

1. Introduction

 Apache JMeter is a Java-based stress testing tool developed by the Apache organization. Used for stress testing software, it was originally designed for web application testing, but later expanded to other testing areas. It can be used to test static and dynamic resources such as static files, Java servlets, CGI scripts, Java objects, databases, FTP servers, and more.

So how to write jmeter script?

In fact, jmeter does not need to add scripts by itself, it can be tested after configuring some things! ! !

2. Detailed steps

1. Go to the apache official website to download jmeter first, then open it and enter the bin directory, click jmeter.bat

2. After clicking, you will see a black window (this window cannot be closed), and there is a jmeter working window

3. Right-click the test plan and create a new thread group

4. Right-click the thread group and create a new http request

5. After creating the http request, fill in the necessary parameters (my servers are all my own, fill in according to your own) 

6. Execute interface calls

7. How to see the result after execution? To right-click the thread group first, add a view result tree

8. Click the result tree to see the result


Well, the study is over here. If you want to know more about it, please follow me! The following is a letter I want to write to my readers! Remember to read carefully! 
Thanks to everyone who has read my article carefully. Seeing the rise and attention of fans all the way, reciprocity is always necessary. Although it is not a very valuable thing, if you can use it, you can take it away for free:

   —————————————————
"Study materials note tool document collection"

picture
 Scan the QR code and
remark "csdn999"
Miss sister invites you to study together~~
Discuss testing technology with like-minded testing partners

    Be sure to note the password: CSDN999
   —————————————————

 


Guess you like

Origin blog.csdn.net/Liuyanan990830/article/details/124389439