How to use Filter results tool in Jmeter

那年仲夏 提交于 2019-12-11 18:08:01

问题


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?

regards


回答1:


Check Filter Results Tool plugin example,

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

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

It will create results in filteredout.csv without HTTP1 request

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].*


来源:https://stackoverflow.com/questions/48920778/how-to-use-filter-results-tool-in-jmeter

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!