Can anyone post an example of how to enable SSL in Tsung?

你说的曾经没有我的故事 提交于 2019-12-05 16:55:45

In tsung.xml:

<servers>
    <server host="HOSTNAME_HERE" port="443" type="ssl"></server>
</servers>

References from the current Tsung documentation:

6.2. Clients and Server > Basic setup:

Type can be tcp, ssl, udp (for IPv6, use tcp6, ssl6 or udp6 ; only available in version 1.4.2 and newer) or websocket (only available in version 1.5.0 and newer)):

<servers>
  <server host="server1" port="80" type="ssl" weight="4"></server>
  <server host="server2" port="80" type="ssl" weight="1"></server>
</servers>

10. FAQ > Tsung crashes when I start it

Does your Erlang system has SSL support enabled?
To test it:

erl
Eshell V5.2  (abort with ^G)
1> ssl:start().
you should see 'ok'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!