Bug 40451 - org.apache.jmeter.protocol.java.sampler.JavaSampler doesn't set sampler label
Summary: org.apache.jmeter.protocol.java.sampler.JavaSampler doesn't set sampler label
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.2
Hardware: All Windows XP
: P5 minor (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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.
Comment 3 The ASF infrastructure team 2022-09-24 20:37:37 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1786