1

I want to use Tsung to load test socket.io application using tsung_ws plugins. However, Socket.io implementation of websocket depends on their javascript.

Is there anyway to achieve this?

Jack Daniel's
  • 2,583
  • 22
  • 28

2 Answers2

1

Tsung can not execute javascript code, so even if I do not know socket.io I think it's not possible to do what you want.

Rodolphe
  • 848
  • 4
  • 15
  • 1
    Thanks for reply.. but why it needs to execute Javascript code? I think if we can somehow pass the socket.io javascript and connection upgrade parameter at the time of handshake it should work fine. – Jack Daniel's Apr 29 '13 at 00:26
0

Tsung now supports websocket connections via special sessions type

<session name="websocket" type="ts_websocket">

or by switching protocols.

Nick Roz
  • 3,918
  • 2
  • 36
  • 57