Jmeter实战大全(持续更新)

1 入门篇

1.1《Jmeter工具实现api接口长稳可靠性测试及性能测试》,介绍了安装及首个样例 https://www.cnblogs.com/cailingsunny/p/14526093.html

 

2 工具篇

2.1 取样器

2.1.1、Jmeter 中JDBC request 详解,包括参数化
http://t.zoukankan.com/linbo3168-p-6039489.html

https://www.shuzhiduo.com/A/8Bz8rPYX5x/

 

 

2.2 逻辑控制器

2.2.1 《Jmeter 逻辑控制器 之 交替控制器》

http://t.zoukankan.com/sandymonk-p-11589494.html

 

2.3 前置处理器

2.3.1 BeanShell PreProcessor  https://www.cnblogs.com/cailingsunny/p/17807303.html

 

2.4 后置处理器

 

2.5 断言

2.5.1 正则表达式提取器、Json Extractor --Jmeter多接口测试之参数传递  https://www.cnblogs.com/duxf100/p/11534084.html

 

2.6 定时器

2.6.1 《Jmeter 之Ramp-up Period&固定定时器》 --单个线程组中设置线程组中,启动所有线程所需要时间、线程组之间间隔时间设置

https://www.cnblogs.com/cailingsunny/p/15036982.html 

2.6.2 《Jmeter之六:定时器 之 常数吞吐量定时器》  --以指定数字的吞吐量(即指定TPS,只是这里要求指定每分钟的执行数,而不是每秒)执行

https://blog.csdn.net/shuimengzhen/article/details/57075437?utm_term=jmeter%E5%87%86%E7%A1%AE%E7%9A%84%E5%90%9E%E5%90%90%E9%87%8F%E5%AE%9A%E6%97%B6%E5%99%A8&utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~all~sobaiduweb~default-2-57075437&spm=3001.4430

2.6.3  Synchronizing timer 同步记时器   --实现并发

https://www.cnblogs.com/x2x3/p/7677875.html

https://blog.csdn.net/ths512/article/details/111568430

2.6.4 Jmeter固定吞吐量控制器 https://blog.csdn.net/weixin_44867191/article/details/130707186

 

2.7 配置元件

2.7.1 jmeter之配置元件-HTTP授权管理器(HTTP Authorization Manager) --可用于用户授权认证  https://www.cnblogs.com/cailingsunny/p/15040774.html

2.7.2 jmeter用户自定义变量的实际使用  https://www.cnblogs.com/zhoufankui/p/8232563.html

2.7.3 jmeter计数器 https://www.cnblogs.com/jxial/p/15175598.html

2.7.4 CSV Data Set Config  -实现多用户登陆  https://www.cnblogs.com/cailingsunny/p/6894736.html

2.7.5 Random CSV Data Set Config(随机读取文件数据) https://blog.csdn.net/weixin_44065501/article/details/89521073

 

2.8 监听器

2.8.1 表格查看结果树

https://blog.51cto.com/u_13372349/5324900

2.8.2  jmeter生成html性能结果报告

命令:jmeter -n -t 脚本名称.jmx -l 日志名称.txt -e -o 报告存放目录

https://wenku.baidu.com/view/e814caa1bad528ea81c758f5f61fb7360b4c2bd5.html?_wkts_=1688722156199&bdQuery=jmeter%E7%95%8C%E9%9D%A2%E7%94%9F%E6%88%90html%E6%8A%A5%E5%91%8A

2.8.3 聚合报告

bin目录下的jmeter.properties文件,修改aggregate_rpt_pct3=99.99,重启jmeter,可查看P99.99测试报告    -- https://www.cnblogs.com/yuhou/p/12667388.html

 

3 函数

3.1 jmeter随机数生成 https://blog.csdn.net/weixin_44909045/article/details/124173970

 

4 场景篇

4.1 《Linux单机及分布式执行jmeter脚本步骤》    --实现大并发请求  https://www.cnblogs.com/cailingsunny/p/11289428.html

 

5 常见问题处理

https://www.cnblogs.com/cailingsunny/p/16699271.html

posted @ 2021-07-21 17:46  七彩木兰  阅读(218)  评论(0编辑  收藏  举报