I have to perform a comparison of "simple XMPP" with "XMPP over BOSH" for our mobile client(chat based). I want to use same tool to compare both. I searched on internet and found a tool called tsung which supports both HTTP and XMPP. I have setup and able to run tsung for XMPP with given example scripts.
Now the problem is that I am unable to write Tsung xml scripts for "XMPP over BOSH". I tried searching on internet but couldn't find any.
Can somebody please guide me in setting up Tsung for "XMPP over BOSH"?
Please let me know if there exist a tool other than Tsung which can serve my purpose.
From some time ago you can find BOSH support on TSUNG but only on their master branch in:
https://github.com/processone/tsung/blob/master/src/tsung/ts_bosh.erl
For enabling it in your script just change the type of connection to your servers to "bosh":
Just make sure that your XMPP server is listening for BOSH connections on the "http-bind":
Alternatively you can use "bosh_ssl" instead of "bosh" if you want to add SSL to your connections. In any case, yes, it's completely undocumented.