- edited description
Didn't get the expected responses
Hi Peter, I have shorted my questions and I think the response of the Sampler is not correct.
My websocket communication looks like:
But with response in JMeter looks always wrong …
What I see from the Developer-Tools is something like:
a["MESSAGE\ndestination:/user/queue/feedresult\ncontent-type:application/json\nsubscription:feedresult\nmessage-id:eqolzpls-36\ncontent-length:920\n\n{"dataID":"b48c0a41-0392-42b1-87d8-2d66cff3b1fa_2","requestCount":0,"feedResultProtobuf":"CghDT01QTEVURRIVCAASCGNhbG9yaWVzGgdOVU1FUklDEhUIARILZGVzY3JpcHRpb24aBFRFWFQSDggCEgRuYW1lGgRURVhUEg8IAxIFcHJpY2UaBFRFWFQaYgoFNjUwLjAKQVR3byBvZiBvdXIgZmFtb3VzIEJlbGdpYW4gV2FmZmxlcyB3aXRoIHBsZW50eSBvZiByZWFsIG1hcGxlIHN5cnVwCg9CZWxnaWFuIFdhZmZsZXMKBSQ1Ljk1Gm0KBTkwMC4wCkFMaWdodCBCZWxnaWFuIHdhZmZsZXMgY292ZXJlZCB3aXRoIHN0cmF3YmVycmllcyBhbmQgd2hpcHBlZCBjcmVhbQoaU3RyYXdiZXJyeSBCZWxnaWFuIFdhZmZsZXMKBSQ3Ljk1GoABCgU5MDAuMApTTGlnaHQgQmVsZ2lhbiB3YWZmbGVzIGNvdmVyZWQgd2l0aCBhbiBhc3NvcnRtZW50IG9mIGZyZXNoIGJlcnJpZXMgYW5kIHdoaXBwZWQgY3JlYW0KG0JlcnJ5LUJlcnJ5IEJlbGdpYW4gV2FmZmxlcwoFJDguOTUaUQoFNjAwLjAKM1RoaWNrIHNsaWNlcyBtYWRlIGZyb20gb3VyIGhvbWVtYWRlIHNvdXJkb3VnaCBicmVhZAoMRnJlbmNoIFRvYXN0CgUkNC41MBpoCgU5NTAuMApDVHdvIGVnZ3MsIGJhY29uIG9yIHNhdXNhZ2UsIHRvYXN0LCBhbmQgb3VyIGV2ZXItcG9wdWxhciBoYXNoIGJyb3ducwoTSG9tZXN0eWxlIEJyZWFrZmFzdAoFJDYuOTU="}\u0000"]
To say it with simple words, Response in the screenshot is always the same ( = wrong), independent of the requested data.
Any ideas?
Thanks, Bernd
Comments (17)
-
Account Deactivated reporter -
Account Deactivated reporter - attached WebSocket_Sampler.jmx
<div class="preview-container wiki-content"><!-- loaded via ajax --></div> <div class="mask"></div> </div>
</div> </form>
-
Account Deactivated reporter - edited description
-
Account Deactivated reporter - edited description
-
repo owner I’m totally confused too. By the amount of information.
This is a bug tracker. I’m supporting the plugin, if you think you have found an issue, please report it as short and concise as possible.
-
Account Deactivated reporter - edited description
-
Account Deactivated reporter - edited description
-
repo owner Hi,
Indeed, description is much better now.
Can you enable debug logging and send me the jmeter.log file, or at least the part that shows the HTTP headers that are send/received during connection setup?
-
Account Deactivated reporter - attached Log-Infos-JMeter.png
-
Account Deactivated reporter Thanks Peter to look into, I’ve attached the requested log infos, my full websocket URL is: “
ws://host.docker.internal/mashzone/app/websocket/316/eqolzpls/websocket”
-
Account Deactivated reporter - attached HTTP_Header_Manager.png
<div class="preview-container wiki-content"><!-- loaded via ajax --></div> <div class="mask"></div> </div>
</div> </form>
-
repo owner remove the “permessage-deflate” from the HTTP headers, and you’ll be fine.
-
Account Deactivated reporter Peter, that’s it, thanks a lot !
-
Account Deactivated reporter - changed status to resolved
solved
-
repo owner -
repo owner - marked as task
-
repo owner - changed status to closed
- Log in to comment