RAJAT RAWAT
RAJAT RAWAT

Reputation: 548

How to remove response time, samplers from the jmeter results

I am trying to remove response time and samplers from my Jmeter results in summary report. I know we can do it with help of Filter Result options, but it just removes the label or samplers and it still shows the and adds up its response time. But suppose I have bunch of samplers in a transaction controller and I want to remove or ignore the response time of some of samplers (I can not disable them, I have send them I just don't want to consider their response time) then how should I do it? is there a way?

Upvotes: 0

Views: 4049

Answers (1)

Dmitri T
Dmitri T

Reputation: 168122

I don't believe there is an easy way of excluding Transaction Controller's children from the .jtl file.

You can visualize the results using i.e. BM.Sense analysis solution, in Composite Timeline Analysis panel you have the possibility to choose which sampler(s) to display so you can filter out the results you're not interested in

enter image description here

If your goal is to execute the request but not to display it in the results you can add a JSR223 PostProcessor as a child of the request you would like to omit and put the following code into "Script" area:

prev.setIgnore()

This way the sampler(s) in the JSR223 PostProcessor's scope will be excluded from any form of reports:

enter image description here

Upvotes: 2

Related Questions