Make it possible to use write sampler and read sampler in separate threads
Currently, after opening the connection, it is stored in a thread local variable. It makes it impossible to use e.g. Parallel Controller to parallelize sending websocket messages and receiving them.
The problem is ilustrated in this article too:
https://www.blazemeter.com/blog/how-to-use-the-parallel-controller-in-jmeter/
Such feature would help in a more advanced web socket scenarios.
Comments (4)
-
repo owner -
reporter In my original scenario, I wanted to keep constant websocket sending rate from client to server, like every 200ms.
In order to avoid delays in sending I wanted to keep receiving elsewhere like in another thread.
However, I managed to implement this with currently available samplers, by having writes/reads intertwined and introduced a dynamically calculated delay.
So thins may be closed now.
Thanks. -
repo owner Ok, thanks.
-
repo owner - changed status to closed
- Log in to comment
Hi,
Use of parallel controller does not match the design of this plugin. Just as a simple example: if a message is received on a shared connection, to which parallel thread it should be delivered?
I think most scenario’s can be implemented with combining the existing samplers and filters.
Regards,
Peter