Can a Jmeter thread create and use multiple ws connections ?

Issue #48 closed
Shailendra created an issue

Hi Peter,

First of all thanks for providing this plugin. I am using it from last couple of weeks and it is really helping out in simulating websocket based app on which I am working.

I have one question, is it possible that same thread can create 2 or more ws connections and reuse them to send data time to time. Below is one scenario:

Data file is having 2 users. (User1,User2) in single row. Step1- User1 will create wss connection1 and will send data to User2. Step2- User2 will create wss connection2 and will receive and validate data send by User1. Step3 - User1 and User2 will perform other operations using their respective wss connections.

I want to achieve the above using single thread.

Is there any plan to add something like connection Id with "WebSocket request-response Sampler" so that that same thread can reuse multiple opened connections?

-Thanks

Comments (6)

  1. Log in to comment