当前位置:网站首页>Jmeter常用的十大组件
Jmeter常用的十大组件
2022-07-31 14:44:00 【T_JC】
jmeter测试工具
jmeter是基于JAVA的工具
中文设置:
在apache-jmeter-5.1.1\bin\jmeter.properties
常用十大组件:
测试计划:测试的起点以及容器。
线程组:

下面的组件都在线程组里面:取样器:发送请求的最小单元

逻辑控制器:定义发送请求的逻辑,if,循环结构
前置处理器:在发送请求之前的一些设置和脚本。
后置处理器:在发送请求之后的一些设置和脚本。
断言:判断预期结果
定时器:固定、高斯、同步定时器
配置元件
监听器:负责收集测试结果,常用的:查看结果树,聚合报告、图形结果、表格结果
jmeter执行顺序:
配置元件、前置处理器、定时器、取样器、后置处理器、断言、监听器
**作用范围:**
配置元件:作用于所有的元件
前置处理器:作用于在它范围内的取样器之前
定时器:作用于在它范围内的取样器
后置处理器:作用于在它范围内的取样器之后
断言:作用于在它 范围内的取样器
监听器:作用于在它范围内的的左右元件
取样器:作用于自己
注意:如果有多个间级的元件,那么按上下顺序。
Jmeter执行接口测试(总览)
1.测试计划
2.线程组
3.http cookie管理器(必须增加cookie管理器,jmeter是统计管理器管理cookie,不想postman一样直接会管理。)
4.http请求默认值(相比于环境)
前置处理器(java代码)
5.Sample取样器
后置处理器(java代码)
6.断言
7.监听器
边栏推荐
- Sentinel安装与部署
- Open Inventor 10.12 Major Improvements - Harmony Edition
- ERROR: Failed building wheel for osgeo
- The role of /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc files
- jOOQ 3.14 released - SQL/XML and SQL/JSON support
- The pre-sale of the new Hyundai Paristi is open, and safety and comfort are not lost
- R语言的画图代码及差异性分析[通俗易懂]
- AWS实现定时任务-Lambda+EventBridge
- 以后面试官问你 为啥不建议使用Select *,请你大声回答他!
- 五个维度着手MySQL的优化
猜你喜欢

MySQL 23 classic interviews hang the interviewer

搭建私有的的Nuget包服务器教程

Essential Learning for Getting Started with Unity Shader - Transparency Effect

IDEA connects to MySQL database and uses data
![Miller_Rabin Miller Rabin probability sieve [template]](/img/51/8dcc9f78478debf7d3dcfa6d1a23e3.png)
Miller_Rabin Miller Rabin probability sieve [template]

LeetCode二叉树系列——226.翻转二叉树

五个维度着手MySQL的优化

“听我说谢谢你”还能用古诗来说?清华搞了个“据意查句”神器,一键搜索你想要的名言警句...

Node version switching management using NVM

The meaning of node_exporter performance monitoring information collection in Prometheus
随机推荐
The paper manual becomes 3D animation in seconds, the latest research of Wu Jiajun of Stanford University, selected for ECCV 2022
微服务架构选型
Unity study notes Description of AVPro video jump function (Seeking)
IDEA连接MySQL数据库并使用数据
R语言的画图代码及差异性分析[通俗易懂]
The role of /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc files
高等数学——常用不定积分公式
Redis与分布式:集群搭建
Getting started with UnityShader (3) - Unity's Shader
[QNX Hypervisor 2.2用户手册]9.13 rom
消息队列消息数据存储MySQL表设计
[QNX Hypervisor 2.2 User Manual]9.14 safety
OAuth2:四种授权方式
BigDecimal 简介,常用方法
Sentinel服务熔断和降级
我把问烂了的MySQL面试题总结了一下
Why do we need to sub-library and sub-table?
Miller_Rabin Miller Rabin probability sieve [template]
海康摄像机取流RTSP地址规则说明
Groupid(artifact id)