如何在Jmeter中使用筛选结果工具 [英] How to use Filter results tool in Jmeter

查看:1417
本文介绍了如何在Jmeter中使用筛选结果工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Jmeter中的过滤器结果工具有疑问. 我有一个称为循环控制器不用于报告"的循环,我要做的就是不在报告中打印其中存在的3 HTTP的值(请参见图片).对我来说这是没有用的,只需扩展报告(10000条记录)即可. 我了解存在一个称为过滤结果工具的插件,并且我是通过插件管理器下载的,问题是我不知道如何使用它? 1.是否会出现在UI中,例如像添加采样器一样添加它?是通过UI吗? 2.我通过命令行运行测试,并获取CSV格式,如何确保不在循环内显示此步骤? (它是创建另一个CSV吗?还是调整现有的CSV?) 3.使用它需要执行什么操作,逐步解释将是有帮助的,因为在网上找不到确切的使用方法. 通过命令行运行时,提供了我不想在CSV报告中看到的3个http请求的循环的PIC. 有人可以说明安装后如何使用此插件吗(PIC会有所帮助) 测试名称:循环垃圾Jmeter 步骤名称:循环控制器不适用于报告(其中包含3个HTTP) 我需要写什么命令?

I have a question about filter results tool in Jmeter. I have a loop called "loop controller not for reports", and all I want to do is not to print in reports the values of 3 HTTP that exists in it (see pic). it is useless for me, and just expand the report (10000 records). I understand that exists plugin that called filter results tool, and I download it via the plugin manager, the problem is that I do not understand how to use it? 1. Shall it be in UI, for example to add it like you add sampler? is it via UI? 2.I run the tests via command line, and get CSV how can I make sure not to display this steps inside the loop? (is it create another CSV? or adjust the existing one?) 3. what is the operation need to perform to use it, step by step explanation will be helpful since on net not found exactly how to use it. Provided a PIC of the loop with the 3 http requests that I do not want to see in CSV report while I am running via command line. can someone please clarify how to use this plugin after install it (PIC will be helpful) test name: loop Junk Jmeter step name: Loop controller not for reports (include 3 HTTP inside it) what is the command that I need to write?

致谢

推荐答案

检查过滤结果工具插件示例,

这是一个脱机进程(不是UI),在完成测试并创建jtl结果文件后执行

This is an offline process (not UI) that is execute after test is done and jtl results file is create

不需要在jtl文件上执行以下命令:

Than you need to execute command on jtl file as:

jmeter\lib\ext\FilterResults.bat --output-file filteredout.csv --input-file inputfile.jtl 
--exclude-labels HTTP1

它将在没有HTTP1请求的情况下在filterout.csv中创建结果

It will create results in filteredout.csv without HTTP1 request

用于排除HTTP1,HTTP2和HTTP3:

For excluding HTTP1,HTTP2 and HTTP3:

jmeter\lib\ext\FilterResults.bat --output-file filteredout.csv --input-file inputfile.jtl
 --exclude-label-regex true --exclude-labels HTTP[1-3].*

这篇关于如何在Jmeter中使用筛选结果工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆