After start tsung i got log message from ejabberd.log file:
I(<0.427.0>:ejabberd_c2s:651) : ({socket_state,gen_tcp,#Port<0.4407>,<0.426.0>}) Failed authentication for [email protected] from IP 192.155.1.666 ({{192,155,1,666},5
After start tsung i got log message from ejabberd.log file:
I(<0.427.0>:ejabberd_c2s:651) : ({socket_state,gen_tcp,#Port<0.4407>,<0.426.0>}) Failed authentication for [email protected] from IP 192.155.1.666 ({{192,155,1,666},5
See this code, it runs perfectly. If username is abc@reeng you must configure it like this
<options>
<option type="ts_jabber" name="global_number" value="200"></option>
<option type="ts_jabber" name="userid_max" value="200"></option>
<option type="ts_jabber" name="domain" value="reeng"></option>
<option name="file_server" id='userdb' value="/home/sanbox/users.csv" />
</options>
Read username, pass in file .csv http://tutslaptrinh.com/tutorial-detail/tsung-test-connection-ejabberd
Which version you are using? I am using 2.1.13 with tsung. I have to make this change to make tsung work.
And you can find some useful comments here.