Reputation: 19
How to add the below details to the WebSocket Open connection? (please check the links below)
Is my understanding right - The details in the above Screenshots are to be added to WebSocket Open connection. Following which I can have WebSocket request-response Sampler using the same connection.
Upvotes: 0
Views: 530
Reputation: 168072
Some headers like Sec-WebSocket-Key
and Upgrade
are being added by the Java
code, you can take a look at WebSocketClient.java file to see which and how. For the others - WebSocket Samplers respect HTTP Header Manager
With regards to request parameters - just add them to the "Path" section
For the headers - they will be added as per Scoping Rules, for the Path - if you decide to use existing connection - it will be propagated
Upvotes: 1