Is possible to remove results in JMeter shown in the standard "View Results Tree" based on if certain text is present?
I am running the below, created via the BlazeMeter Chrome extension. The run is passing where expected but there are some failures which I am not concerned about (Google add-ins mainly) and I do not wish them to be recorded in the overall result. Is it possible to filter/remove these from the results tree recorder? So for example, a way to say "if the failing thread contains google anywhere in the request, do not report this"?
These are 3rd party features which we are not concerned about and they are skewing a positive run.
Is possible to remove results in JMeter shown in the standard "View Results Tree" based on if certain text is present?
I am running the below, created via the BlazeMeter Chrome extension. The run is passing where expected but there are some failures which I am not concerned about (Google add-ins mainly) and I do not wish them to be recorded in the overall result. Is it possible to filter/remove these from the results tree recorder? So for example, a way to say "if the failing thread contains google anywhere in the request, do not report this"?
These are 3rd party features which we are not concerned about and they are skewing a positive run.
Share Improve this question asked Feb 17 at 11:24 Chris DuffyChris Duffy 1671 gold badge1 silver badge7 bronze badges1 Answer
Reset to default 0First of all, there is "Filter pattern" input where you can exclude external domains from the load test:
If you already have recorded the test and want to replay it ignoring failures you can add a JSR223 PostProcessor and use the following Groovy code:
if (!prev.isSuccessful()) {
if (prev.getUrlAsString().containsIgnoreCase("google")) {
prev.setIgnore()
}
}