Didn't get the expected responses

Issue #244 closed
Bernd Ziegler created an issue

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)

  1. Peter Doornbosch 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.

  2. Peter Doornbosch 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?

  3. Bernd Ziegler 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”

  4. Peter Doornbosch repo owner

    remove the “permessage-deflate” from the HTTP headers, and you’ll be fine.

  5. Log in to comment