jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61709] New: JSR223 Sampler : There should be a way to make it not impact results
Date Wed, 01 Nov 2017 21:53:15 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61709

            Bug ID: 61709
           Summary: JSR223 Sampler : There should be a way to make it not
                    impact results
           Product: JMeter
           Version: 3.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

We often need to do some processing with JSR223 elements without wanting the
generation of a SampleResult.

Sampler which return null SampleResult will not impact results CSV/XML, but
JSR223 Sampler cannot do that currently as the SampleResult is created before
calling custom code.

So what would be the best way to do that:

- Add a method setNoResult(boolean) on SampleResult ? calling this from script
code would make JSR223Sampler return null. This seems to be the most performing
way
- Throw some custom exception ? But throwing an exception has a cost and it is
done for exceptional case, it's not the case here
- Other ideas ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message