JMeter-WebSocketSampler
JMeter-WebSocketSampler copied to clipboard
Json Extractor not work for websocketsampler response
Because I get the resposne like: [Message 2] {"data": {"user_id": 1, "sid": "98e899c456ecba2fcaff269de7569196"}, "code": 1000, "command": {"path": "employee.consumer.Login"}} then I think it's because "[Message 2]" is the cause for not a json string. Then I use json extractor like $.data.sid, I can't get the sid value
Also came across this problem, seems [Message 2] is useless as sampler result.