当前位置:网站首页>Performance bottleneck positioning XMIND
Performance bottleneck positioning XMIND
2022-07-19 02:28:00 【[email protected]】
jmeter Is an excellent open source performance testing tool , Official website document address :
One 、 advantage
1、 Open source tools , It's very scalable
2、 high scalability , Users can customize the debugging related module code
3、 Elaborate and simple GUI Design , Small and flexible
4、 Complete portability and 100% pure java
5、 Completely swing And lightweight component support ( precompiled HAR Use javax.swing.*) package
6、 Fully multithreaded framework , It allows concurrent sampling through multiple threads and simultaneous sampling of different functions by individual threads
7、 Support script sampler
Two 、 Install and download
Here is a new jmeter Official website download address :
Apache JMeter - Download Apache JMeter
jmeter It doesn't need to be installed , Just configure JDK Environmental Science , And then in jmeter In the document bin In file open jmeter.bat File can
The latest version , Recommended configuration JDK It is best to 1.8 And above
3、 ... and 、 The basic structure
1、 Part of the
1) Load generator : Generate load , Multi process or multi thread simulates user behavior
2) User runner : The script runs the engine , The user runner is attached to a process or thread , Simulate the specified with... According to the script Household behavior
3) Resource builder : Build the server during the test 、 Load machine resource data
4) Report Builder : Generate reports according to the data obtained in the test , Provide visual data display mode ·
2、 Main concepts
2.1 test plan (test plan)
Describe a performance test , Including all relevant functions of this test
Uploading … Re upload cancel
2.2.threads(users) Threads
Uploading … Re upload cancel
Setup thread group:
A special type of thread , Can be used to perform pre test operations . That is, the execution of the regular thread group before the execution of the test Teardown thread group:
A special type of thread , Can be used to perform post test actions . That is, after the execution of the test, execute the regular thread group
The above two thread groups , for instance : loadrunner Script of except action Is the core content of the real script ,
And initialization “ Environmental Science ” The initialization script of and the corresponding script block of clearing information after the test , Corresponding to Thread group:
Usually add the thread used , Generally, a thread group can be regarded as a virtual user group , Each thread is a virtual user
2.3 Test piece (test fragment)
Uploading … Re upload cancel
2.5 An option added after version , Is a special thread group , On the test tree, there is a level with the thread group , but It is not implemented , Unless it is a module controller or referenced by the controller, it will be executed
2.4 controller
Jmeter Yes 2 Kind of controller : Sampler (sampler) And logic controllers (Logic Controller)
effect : Use these components to drive a test
1) Sampler (Sampler)
Send request to server in performance test , Record response information , The smallest unit that records the response time , JMeter primary Students support many different sampler
Such as HTTP Request Sampler 、 FTP Request Sampler 、
TCP Request Sampler 、 JDBC Request Sampler etc.
Every different type of sampler Different types of requests can be made to the server according to the set parameters .
Java Request Sampler and Beanshell Request Sampler There are two special customizable Of Sampler ( Don't talk about )
2) Logic controller (Logic Controller)
Uploading … Re upload cancel
Contains two types of originals :
One is control Test Plan in Sampler The logical sequence controller that the node sends the request , Commonly used : If Controller、 Swith Controller、 Loop Controller、 Random Controller etc.
another One class yes use Come on Group weave and control system Sampler section spot Of , Such as Transaction Controller 、 Throughput Controller etc.
2.5 Monitor (Listener)
A series of components for processing and visual display of test results , Commonly used graphical results 、 View the result tree 、 polymerization Reports, etc.
The above five types of originals can form a simple performance test script
Here are some more jmeter Other components provided :
2.6 Configure originals (Config Element)
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/200/202207170009049545.html
边栏推荐
- STL -- deque container
- 【Antv G2】折线图如何添加点击事件(点击任意位置即可获取折线上点的值)
- Decentralized edge rendering meta universe protocol cadeus was invited to attend the cbaia 2022 summit to enable more Web3 application scenarios with technology
- 【HDRP高清渲染管道】创建HDRP工程,把内置管线工程升级为HDRP工程
- 登录功能的测试点大全
- 网络层传输协议(详解)
- 【工具篇】Unity快速上手制作2D和2.5D游戏的神器TileMap
- 新手如何配置多个 SSH Key(通俗易懂手把手教学)
- 服务器知识(详情)
- 【Unity开发小技巧】Unity混音器Mixer控制全局音量
猜你喜欢

第1章-多智能体系统
![[hdrp HD rendering pipeline] create hdrp project and upgrade the built-in pipeline project to hdrp project](/img/40/d3b2bb62db88c7b18a3c3df4df5609.png)
[hdrp HD rendering pipeline] create hdrp project and upgrade the built-in pipeline project to hdrp project

怎么将软件的快捷方式添加到鼠标右键的列表中

【瑞吉外卖⑩】Linux 粗略学习 & Redis 粗略学习

Memory pooling of pooled components
![[unity Editor Extension] the pre-processing and post-processing pictures of unity assets are automatically transferred to sprite2d](/img/84/34879d5c0b6e19d599c99eec944c26.png)
[unity Editor Extension] the pre-processing and post-processing pictures of unity assets are automatically transferred to sprite2d

php伪协议实现命令执行

逻辑漏洞----身份验证漏洞

软件测试技术期中测试小结|软件测试基础&执行测试&测试设计和开发

Buaaos-lab0 experimental report
随机推荐
性能之流量回放
STL--string容器
JS note 1
Summary of tree and heap knowledge points
[unity Editor Extension] scriptableobject for internal asset configuration of unity
ctfhub--ssrf
流量回放工具gor使用经验
怎么做好测试用例评审
【Unity开发小技巧】Unity打包PC端exe,压缩打包为一个exe文件
登录功能的测试点大全
【HDRP高清渲染管道】创建HDRP工程,把内置管线工程升级为HDRP工程
Bugku---- regular matching, cookies
How to configure multiple SSH keys for novices (easy to understand hand-in-hand teaching)
Injection de modèles ssti
Engineering compilation: makefile and cmake (I)
仅以此篇纪念负数取模
攻防世界----shrine
STL--queue容器
面试:接口和抽象类的区别-简洁的总结
Visual studio 2019-qt debugging