当前位置:网站首页>Jmeter响应时间和tps监听器使用教程
Jmeter响应时间和tps监听器使用教程
2022-06-26 10:54:00 【程序员杨叔】
一、背景
性能测试的过程中,我们通常需要观测接口tps和响应时间的曲线图,从而明确整个压测过程中,接口性能是否表现稳定,接口tps和响应时间的曲线图也是性能测试的报告中必不可少的内容。对应Jmeter中的监听器为:
- Reponse Times Over Time
- Transactions per Second
Jmeter没有自带对应的监听器,需要可以通过插件支持,本文主要介绍相关插件的下载、安装、使用。
二、插件下载安装
下载地址:https://jmeter-plugins.org/install/Install/

下载插件后把jar包放到 lib/ext 目录,然后重启Jmeter,Jmeter》选项下会多一个Plugins Manager:

点击Plugins Manager,出现插件页面:

- Installed Plugins(已安装的插件):即插件jar包中已经包含的插件,可以通过选中勾选框,来使用这些插件;
- Available Plugins(可下载的插件):即该插件扩展的一些插件,可以通过选中勾选框,来下载你所需要的插件;
- Upgrades(可更新的插件):即可以更新到最新版本的一些插件,可以通过点击截图右下角的Apply Changes and Restart Jmeter按钮来下载更新;
安装jpgc-Standard Set插件,重启Jmeter。
三、tps和响应时间监听器使用
添加监听器这里可以看到多了很多[email protected]选项,其中Reponse Times Over Time为响应时间监听器,Transactions per Second为tps监听器:

添加Reponse Times Over Time监听器,加载压测结果jtl文件查看接口响应时间曲线图:

添加Transactions per Second监听器,加载压测结果jtl文件查看接口响应时间曲线图:

=================================================================================================
以上就是本次的全部内容,如果对你有帮助,欢迎关注我的微信公众号:程序员杨叔,各类文章都会第一时间在上面发布,持续分享全栈测试知识干货,你的支持就是作者更新最大的动力~
边栏推荐
- 【深度学习理论】(6) 循环神经网络 RNN
- PC QQ hall upload update modify VersionInfo
- 中国十大证券app排名 开户安全吗
- 修改calico网络模式为host-gw
- 利用 Repository 中的方法解决实际问题
- HUST network attack and defense practice | 6_ IOT device firmware security experiment | Experiment 2 MPU based IOT device attack mitigation technology
- Machine learning deep neural network -- Experimental Report
- wangEditor 上传本地视频修改
- How does unity prevent other camera positions and rotations from being controlled by steamvrplugin when using steamvrplugin
- Code specification & explain in detail the functions and uses of husky, prettier, eslint and lint staged
猜你喜欢

Quantitative elementary -- akshare obtains stock code, the simplest strategy

How to prevent weight loss under Gao Bingfa?

有手就行的移动平均法、指数平滑法的Excel操作,用来时间序列预测

深度理解STM32的串口实验(寄存器)【保姆级教程】

Fabric. JS upper dash, middle dash (strikethrough), underline

PC QQ hall upload update modify VersionInfo

(typora picture bed) Alibaba cloud OSS building picture bed +picgo uploading picture detailed tutorial

FastRCNN

MOS管基本原理,单片机重要知识点

Prospering customs through science and technology, Ronglian and Tianjin Customs jointly build a genomic database and analysis platform
随机推荐
UDP flood attack defense principle
18:第三章:开发通行证服务:1:短信登录&注册流程,简介;(这儿使用短信验证码)
Is it safe to open an account in the top ten securities app rankings in China
sliding window
Laravel admin hidden button, and set button display, default sequence, form form form non modifiable value
laravel-admin 非自增ID获取, 及提交隐藏表单
机器学习PCA——实验报告
我想知道同花顺是炒股的么?手机开户安全么?
杜比全景音效简介
Notice on printing and Distributing Measures for supporting strategic emerging industries and future industrial cluster development in Futian District, Shenzhen
利用 Repository 中的方法解决实际问题
LeetCode 710 黑名单中的随机数[随机数] HERODING的LeetCode之路
Machine learning deep neural network -- Experimental Report
Matlab programming example: how to count the number of elements in a cell array
Measures to support the development of cultural and creative industries in Futian District, Shenzhen
19:第三章:开发通行证服务:2:在程序中,打通阿里云短信服务;(仅仅是打通阿里云短信服务器,不涉及具体的业务开发)
Pre knowledge of hash table -- binary search tree
Build document editor based on slate
Uncaught reflectionexception: class view does not exist
修改calico网络模式为host-gw