https://issues.apache.org/bugzilla/show_bug.cgi?id=54753
Bug ID: 54753
Summary: StringIndexOutOfBoundsException at
SampleResult.getSampleLabel() if threadName not set
Product: JMeter
Version: 2.9
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Using the StatisticalSampleSender produced always a
StringIndexOutOfBoundsException at SampleResult.getSampleLabel().
I found out that the "threadName" is not set if the parameter "keyOnThreadName"
at StatisticalSampleResult is false, therefore it is empty and a space can't be
found.
IMHO the problem is more based on architecture but on the simple checking if
"threadName" is empty (which is in short terms a workaround). Because the
current implementation is based on the (hidden) knowledge that the
"threadGroup" is part of the "threadName". But this is not always the case,
especially on customized sample results.
Either the "treadGroup" should be part of the SampleResult or the sample label
should be resolved via SampleEvent instead of SampleResult, if needed.
--
You are receiving this mail because:
You are the assignee for the bug.