# Gatling Websocket gives binary response (No mention in the report) - How to decode and test?

**URL:** <https://community.gatling.io/t/gatling-websocket-gives-binary-response-no-mention-in-the-report-how-to-decode-and-test/9096>\
**Category:** Gatling (Open-Source)\
**Created:** [June 17, 2024, 3:56pm UTC](https://community.gatling.io/t/gatling-websocket-gives-binary-response-no-mention-in-the-report-how-to-decode-and-test/9096 "2024-06-17T15:56:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![banerjeeikshit](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@banerjeeikshit](https://community.gatling.io/u/banerjeeikshit)\
**Post date:** [June 17, 2024, 3:56pm UTC](https://community.gatling.io/t/gatling-websocket-gives-binary-response-no-mention-in-the-report-how-to-decode-and-test/9096/1 "2024-06-17T15:56:15Z")

</div>

**Gatling version** : 3.11.3 (must be up to date)  
**Gatling flavor** : java kotlin scala javascript typescript  
**Gatling build tool** : maven gradle sbt bundle npm

I read the [guidelines](https://community.gatling.io/t/welcome-in-the-gatling-community-our-code-of-conduct/6462) and [how to ask a question](https://community.gatling.io/t/how-to-ask-a-question/6538) topics.  
 I provided a [SSCCE](http://www.sscce.org/) (or at least, all information to help the community understand my topic)  
 I copied output I observe, and explain what I think should be.

Hi, I’m trying to load test a websocket connection.  
I belive I’m able to initiate a connection with below code and logs →

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/c/cd4720144d6c5af5ab8e323a2f4487ddbf3d9e42.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/e/ef3d0ee938d04a9ba6cd357012ac120bd4aa298f.png)

Now the challenge is once I send a message I receive lots of binary messages (Which I believe is a correct behavior)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/6/609a94b39ade84dba09ca37600210c0422a25455.png)

Question here now is how do I decode the message (If its possible?)  
How can I check the response time for the messages I receive (because the gatling report doesnt have any mention about these messages)  
Or there is any other way to test the response time for these messages?

Appreciate your help! thank you

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [July 17, 2024, 3:56pm UTC](https://community.gatling.io/t/gatling-websocket-gives-binary-response-no-mention-in-the-report-how-to-decode-and-test/9096/2 "2024-07-17T15:56:17Z")

</div>

Closed on July 17, 2024, 3:56pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
