Forum Discussion

opaccone's avatar
opaccone
New Contributor
7 years ago

Testing WebSockets

hi all

 

I have to test a newe websocket interface in our software. Ready API and SoapUI pro doesn't support websockets out of the box.


Does someone know a tool for testing websockets?

I tried the websocket plugin. But for me it doesn't work. The problem is, that I need additional custom http header in the connector configuration. But the connector configuration doesn't allow to configure additional settings.

 

Implementing all these requests in groovy is not really a solution.

Any ideas how to test websockets with Ready API and SoapUI pro?

How do you testing websockets? With another tool?

 

Regards

Martin

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    I remember trying websockets a while ago using SoapUI. Do you have any public websockets service which might help to try?
  • opaccone's avatar
    opaccone
    New Contributor

    Hi nmrao

     

    I am sorry, but in the moment we don't have a public websockets service.

    As I wrote, my problem ist the additional http-header in the connection configuration.

     

    Example: (see the bold line)

     

    GET http://testserver......./Ws/WebSocket/Generic HTTP/1.1

    Connection: Upgrade

    Upgrade: websocket

    Sec-WebSocket-Key: aoOPuffn1JmtgB....

    Sec-WebSocket-Version: 13

    Sec-WebSocket-Protocol: soap

    soap-content-typ: application/soap+xml; charset=utf8

    Host: testserver....

    Accept-Encoding: gzip, deflate

     

    In the available websocket-plugin, there is no possibility to set such additional http-header.

     

    Regards

    Martin