fshutdown / JMeter-WebSocketSampler

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

Json Extractor not work for websocketsampler response #66

Open russelltao opened 7 years ago

russelltao commented 7 years ago

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

sailfish-jjk commented 6 years ago

Also came across this problem, seems [Message 2] is useless as sampler result.