Am 18.09.20 um 15:39 schrieb Niraj:
> Perfect. It worked. Thanks Mariusz. Really Appreciated it.

Could you provide us a minimal test plan to reproduce the issue (even
knowing, that the workaround helped you)?

I think we shouldn't throw an exception in case the thread name is not
exactly like we thought it would be.

Thanks

 Felix

>
> On Fri, Sep 18, 2020 at 6:49 PM Mariusz W <mawa...@gmail.com> wrote:
>
>> 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