Bug 41522 - Use JUnit sampler name in sample results

git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@502561 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: d408115f4e
This commit is contained in:
Sebastian Bazley 2007-02-02 10:11:09 +00:00
parent 02006bb397
commit e4a2bcb526
2 changed files with 2 additions and 1 deletions

View File

@ -331,7 +331,7 @@ public class JUnitSampler extends AbstractSampler {
} else {
rlabel = JUnitSampler.class.getName();
}
sresult.setSampleLabel(rlabel);
sresult.setSampleLabel(getName());// Bug 41522 - don't use rlabel here
sresult.setSamplerData(getClassname() + "." + getMethod());
// check to see if the test class is null. if it is, we create
// a new instance. this should only happen at the start of a

View File

@ -50,6 +50,7 @@ jmeterthread.reversePostProcessors=true
<li>BeanShell Post-Processor no longer ignores samples with zero-length result data</li>
<li>Use property jmeter.home (if present) to override user.dir when starting JMeter</li>
<li>Bug 41457 - Add TCP Sampler option to not re-use connections</li>
<li>Bug 41522 - Use JUnit sampler name in sample results</li>
</ul>
<h4>Bug fixes:</h4>