-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
I had need to subclass off of SampleResult for a custom sampler I created. Unfortunately, this breaks the performance plugin since it's looking specifically for sample or httpSample (and not, say .*[S|s]ample)
My xml report looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<com.ften.vx.jmeter.sampler.FixSampleResult>
In case the xml tags get removed, basically we get a fully qualified class name as a tag instead of just sample or httpSample.
Looking at JMeterParser.java, I believe you could just create a SampleResult instead of a HttpSampleResult since you don't use any methods specific to the http sample result (in that method at least). You could look for any tag ending in Sample or sample and populate the SampleResult with the data you need.