当前位置:网站首页>JMeter Foundation
JMeter Foundation
2022-07-04 10:47:00 【dijiaye1】
One 、Jmeter brief introduction
Jmeter yes Apache Open source software developed by the organization , from Java Language implementation .
Mainly used for software system performance testing , It was originally designed for Web Application testing , Later it was extended to other fields .
Multithreading framework - Support request concurrent operation
Used to simulate a huge load on the server
Support Web、 database 、FTP Server and other system performance tests
Open source 、 pure JAVA Language writing , It can be redeveloped
Two 、Jmeter Component is introduced
Get ready ( Logic controller 、 Preprocessor 、 Timer 、 The configuration element )> request ( Sampler )> verification ( Post Processors 、 Assertion 、 Monitor )
Scope :
As shown in the figure : Configure component priority request , If the configured component is under the test plan , Apply to all requests , If under a request , Only apply to the request .
Load generator ( Thread group ): Used to generate loads , stay Jemeter Using thread groups to simulate user behavior .
Thread group key attributes
1、 Number of threads : Number of analog users
2、Ramp-up period: How long does it take to start all threads
If you use 10 Threads ,ramp-up period yes 100 second , that 100 Seconds make all 10 Threads up and running . Each thread will start after the previous thread 10 Seconds to start .
Ramp-up: Long enough to avoid having too much load at startup , And be small enough that the last thread starts before the first one completes .
If set to 0 On behalf of concurrent requests .
3、 cycles : Represents the number of repetitions of the request , If you choose the following forever( Default ), Then the request will continue , It can be used with the scheduler .
If not selected forever, And in the input box, type the number , Then the request will repeat the specified number of times .
4、 Sampler
On behalf of a request - The process of responding , They are the initiators of actions in test cases .
Jmeter Many action elements are prefabricated according to different applications , If users feel that it is still not enough, they can even use BeanShell Sampler Write your own actions .
such as HTTP Request Sampler、FTP Request Sampler、JDBC Request Sampler
Each different type of sampler can send different types of requests to the server according to the set parameters .
The sampler sends a request , Can pass “ View the result tree ”, Look at the response data


3、 ... and 、Jmeter Assertion
Response assertion
By checking the response data of the server , Whether it meets the expected data , Judge whether the task is successful .



Assertion duration


Size assertion


Four 、Jmeter Monitoring technology
1、 View the result tree
Use the view result tree component , The results of each sampler are displayed in the result tree after running 、 Request information and response information , You can check these contents to analyze whether there are problems in the script .
2、 Aggregation report


边栏推荐
- Application and Optimization Practice of redis in vivo push platform
- VI text editor and user rights management, group management and time management
- Idea SSH channel configuration
- Three schemes of ZK double machine room
- /*The rewriter outputs the contents of the IA array. It is required that the type defined by typedef cannot be used in the outer loop*/
- [Galaxy Kirin V10] [server] failed to start the network
- Day06 list job
- The time difference between the past time and the present time of uniapp processing, such as just, a few minutes ago, a few hours ago, a few months ago
- Latex insert picture, insert formula
- shell awk
猜你喜欢

system design

Rhsca day 11 operation
![[Galaxy Kirin V10] [server] iSCSI deployment](/img/60/13f43dc584c0768965d60811768948.jpg)
[Galaxy Kirin V10] [server] iSCSI deployment
![[machine] [server] Taishan 200](/img/e5/69a1a4ca04814a033a77d3cb4601b3.jpg)
[machine] [server] Taishan 200

20 minutes to learn what XML is_ XML learning notes_ What is an XML file_ Basic grammatical rules_ How to parse

Network connection (III) functions and similarities and differences of hubs, switches and routers, routing tables and tables in switches, why do you need address translation and packet filtering?

C language - stack

C language structure to realize simple address book

Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}

MPLS: multi protocol label switching
随机推荐
TS type gymnastics: illustrating a complex advanced type
[machine] [server] Taishan 200
What if the book written is too popular? Author of "deep reinforcement learning" at Peking University: then open the download
Software sharing: the best PDF document conversion tool and PDF Suite Enterprise version sharing | with sharing
DCL statement of MySQL Foundation
20 minutes to learn what XML is_ XML learning notes_ What is an XML file_ Basic grammatical rules_ How to parse
How to quickly parse XML documents through C (in fact, other languages also have corresponding interfaces or libraries to call)
Quick sort (C language)
Today's sleep quality record 78 points
[Galaxy Kirin V10] [server] failed to start the network
Recursion and divide and conquer strategy
[test theory] test phase analysis (unit, integration, system test)
Evolution from monomer architecture to microservice architecture
Four characteristics and isolation levels of database transactions
shell awk
Si vous ne connaissez pas ces quatre modes de mise en cache, vous osez dire que vous connaissez la mise en cache?
[Galaxy Kirin V10] [server] NUMA Technology
Fundamentals of database operation
/*Write a loop to output the elements of the list container in reverse order*/
IPv6 comprehensive experiment