fshutdown / JMeter-WebSocketSampler

JMeter - WebSocket Sampler
Apache License 2.0
312 stars 191 forks source link

Getting "Unexpected Error: NULL" #51

Open prutheel opened 8 years ago

prutheel commented 8 years ago

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]

[Problems]

I am not sure whether I am using the Websocket in correct way or not. So kindly help me on this

pontiyaraja commented 8 years ago

Please use new version of jar. I too faced the same issue and resolved

prutheel commented 8 years ago

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

4M01 commented 7 years ago

Hi @pontiyaraja, which version of JARs, would you be please specific?