# Checking Binary Responses on a WebSocket

**URL:** <https://community.gatling.io/t/checking-binary-responses-on-a-websocket/2608>\
**Category:** Gatling (Open-Source)\
**Created:** [October 14, 2015, 2:08pm UTC](https://community.gatling.io/t/checking-binary-responses-on-a-websocket/2608 "2015-10-14T14:08:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Marc\_Raymond](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@Jean-Marc\_Raymond](https://community.gatling.io/u/Jean-Marc_Raymond)\
**Post date:** [October 14, 2015, 2:08pm UTC](https://community.gatling.io/t/checking-binary-responses-on-a-websocket/2608/1 "2015-10-14T14:08:34Z")

</div>

Hello,

I am trying to check a binary response. I haven’t found a way online or in doc to do it.

The following just ends up hanging the test:

.exec(ws(“Connect WS”).open("/msg"))

.exec(ws(“Request”)  
.sendText("—")

.check(wsAwait.within(30).until(1))  
)

Is there a ‘checkBinary’ or something similar?

---

<div class="post-metadata">

**Author:** ![Jean-Marc\_Raymond](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@Jean-Marc\_Raymond](https://community.gatling.io/u/Jean-Marc_Raymond)\
**Post date:** [October 14, 2015, 3:20pm UTC](https://community.gatling.io/t/checking-binary-responses-on-a-websocket/2608/2 "2015-10-14T15:20:03Z")

</div>

I am using:

\<gatling.version\>2.2.0-M3\</gatling.version\>  
\<gatling-highcharts.version\>2.2.0-M3\</gatling-highcharts.version\>
