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

Reply via email to