Well, I tried to replicate the error, but have not achieved that. But as
we can do better on our side here (guarding against the empty string), I
did that.

The next nightly shouldn't throw an error, when a plugin misses to
initialize the thread name. Why the name is empty stays a mystery (at
least for me, now).

Felix

Am 18.09.20 um 15:19 schrieb Mariusz W:
> Hi,
> Can you try uncheck "include group name in label" in  Aggregate Report and
> recheck?
>
> Mariusz
>
> On Fri, 18 Sep 2020 at 14:48, Niraj <niraj.khatm...@gmail.com> wrote:
>
>> Hi All,
>>
>> I am getting below error in JMeter. When I run the test with more than 10
>> users, Basically I am running a few Websocket requests using the WebSocket
>> plugin (WebSocket Samplers by Peter Doornbosch). Any suggestions on how to
>> fix this?
>>
>> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>> at java.lang.String.substring(Unknown Source) ~[?:1.8.0_261]
>> at
>>
>> org.apache.jmeter.samplers.SampleResult.getSampleLabel(SampleResult.java:586)
>> ~[ApacheJMeter_core.jar:5.3]
>> at
>> org.apache.jmeter.visualizers.StatVisualizer.add(StatVisualizer.java:118)
>> ~[ApacheJMeter_components.jar:5.3]
>> at
>>
>> org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:570)
>> ~[ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:547)
>> ~[ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:58)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.TransactionController.notifyListeners(TransactionController.java:296)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.TransactionController.nextWithoutTransactionSampler(TransactionController.java:223)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.TransactionController.next(TransactionController.java:135)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:224)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.TransactionController.nextIsAController(TransactionController.java:173)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.GenericController.next(GenericController.java:174)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.TransactionController.nextWithoutTransactionSampler(TransactionController.java:205)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.TransactionController.next(TransactionController.java:135)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:221)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.GenericController.next(GenericController.java:174)
>> [ApacheJMeter_core.jar:5.3]
>> at org.apache.jmeter.control.LoopController.next(LoopController.java:134)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:224)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.control.GenericController.next(GenericController.java:174)
>> [ApacheJMeter_core.jar:5.3]
>> at org.apache.jmeter.control.LoopController.next(LoopController.java:134)
>> [ApacheJMeter_core.jar:5.3]
>> at
>>
>> org.apache.jmeter.threads.AbstractThreadGroup.next(AbstractThreadGroup.java:91)
>> [ApacheJMeter_core.jar:5.3]
>> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:291)
>> [ApacheJMeter_core.jar:5.3]
>> at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
>>
>> Thanks,
>> Niraj
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to