Bug 40451 - org.apache.jmeter.protocol.java.sampler.JavaSampler doesn't set sampler label
org.apache.jmeter.protocol.java.sampler.JavaSampler doesn't set sampler label
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.2
All Windows XP
: P5 minor (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-09-08 18:41 UTC by Steve Hall
Modified: 2006-09-21 16:04 UTC (History)
0 users



Attachments
JavaSampler.sample now sets the sampler label. (8.42 KB, patch)
2006-09-08 18:43 UTC, Steve Hall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Hall 2006-09-08 18:41:46 UTC
JavaSampler doesn't set a sampler label as most other sampler implementations
do.  This causes Aggregate Report results from types that implement
JavaSamplerClient to be grouped together.
Comment 1 Steve Hall 2006-09-08 18:43:55 UTC
Created attachment 18845 [details]
JavaSampler.sample now sets the sampler label.
Comment 2 Sebb 2006-09-21 23:04:24 UTC
Thanks for the contribution.

I had to change it so that the sampleLabel is only changed if the sampler does
not set the label, as both the existing samplers (SleepTest, JavaTest) do this.