I can`t comment previous post. But this plugin has one problem with concurency when running a large quantity of threads. I got this error:
[Problems]
- Unexpected error: null
java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:953)
java.util.LinkedList$ListItr.next(LinkedList.java:886)
JMeter.plugins.functional.samplers.websocket.ServiceSocket.getResponseMessage(ServiceSocket.java:125)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:156)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
java.lang.Thread.run(Thread.java:744)
So I just replaced one line in the ServiceSocket.java:
protected Deque<String> responeBacklog = new LinkedList<String>();
with this line:
Queue<String> responeBacklog = new ConcurrentLinkedQueue<String>();
It solved my problem :)