You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added websocket sampler in the Jmeter with all the dependencies.
In my recorded script I have put the Websocket sampler after the HTTP request:
https://example.server.com/socket.io/1/?t=${timestamp}
I am getting the response like -
"TSiJ56ESavsfGEQcsBj9:17:60:websocket,xhr-polling,htmlfile,jsonp-polling". So from that I am extracting the socket id/connection id i.e first 20 alphabets and passing in the WSS connection id.
In websocket sampler I am providing following Parameter
path: socket.io/1/websocket/${socid}
connestion id: ${socid}
Response pattern: *Blank
Close connection: *Blank
Request data: 5:::{"name":"join","args":["Ag_1250","${GUID}"]}
But while executing the Script getting this error
[Execution Flow]
Can you please tell me where I can download latest set of JARs? I have downloaded version of 9.1.1...something. That are mentioned in the Dependencies List of this Page
I have added websocket sampler in the Jmeter with all the dependencies.
In my recorded script I have put the Websocket sampler after the HTTP request:
But while executing the Script getting this error
[Execution Flow]
[Problems]
JMeter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:131)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:102)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
java.lang.Thread.run(Unknown Source)
I am not sure whether I am using the Websocket in correct way or not. So kindly help me on this
The text was updated successfully, but these errors were encountered: