Hey all,
I was asking for help in #erlang on freenode, and we decided I should post
to the list.
I'm trying to get tsung working.... using tsung 1.2.2, with erlang R12B-0,
on 2.6.20-gentoo-r8. Both are compiled from sources.
After fixing the httpd_util issues from ts_util.erl, I ran into some issues
with set_auth_plain and set_auth_digest. I have included my error logs.
Finally, I'm curious as to whether SASL is supported with tsung testing.
Thanks in advance for any help you guys can give me.
-aestetix
----
Using set_auth_plain:
=ERROR REPORT==== 4-Jun-2008::17:54:46 ===
** Generic server ts_stats_mon terminating
** Last message in was {'$gen_cast',{dumpstats}}
** When Server state == {state,<0.52.0>,text,10000,[],
{dict,11,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],
[[{size_sent,sum}|16679]],
[],
[[{size_rcv,sum}|17182]],
[],
[[{request_noack,count}|125]],
[],
[[{tr_roster,sample},
0,0,1.68701,0.805908,0,1.05694,25]],
[],
[[{connect,sample},
0,0,3.34399,0.275879,0,0.619365,25],
[{request,sample},
0,0,2.63989,0.739014,0,0.998086,75]],
[[{page,sample},
0,0,3.82788,1.80664e-2,0,0.682323,
150],
[{tr_authenticate,sample},
0,0,3.84888,1.85083,0,2.28626,25],
[{tr_online,sample},
0,0,0.205811,9.20410e-2,0,0.162871,
25],
[{tr_offline,sample},
0,0,0.196777,0.143066,0,0.171406,25],
[{tr_close,sample},
0,0,0.170898,0.115967,0,0.143691,25]],
[]}}},
{dict,11,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],
[[{size_sent,sum}|16679]],
[],
[[{size_rcv,sum}|17182]],
[],
[[{request_noack,count}|125]],
[],
[[{tr_roster,sample},
0,0,1.68701,0.805908,0,1.05694,25]],
[],
[[{connect,sample},
0,0,3.34399,0.275879,0,0.619365,25],
[{request,sample},
0,0,2.63989,0.739014,0,0.998086,75]],
[[{page,sample},
0,0,3.82788,1.80664e-2,0,0.682323,
150],
[{tr_authenticate,sample},
0,0,3.84888,1.85083,0,2.28626,25],
[{tr_online,sample},
0,0,0.205811,9.20410e-2,0,0.162871,
25],
[{tr_offline,sample},
0,0,0.196777,0.143066,0,0.171406,25],
[{tr_close,sample},
0,0,0.170898,0.115967,0,0.143691,25]],
[]}}}}
** Reason for termination ==
** {ebadf,[{io,format,
[<0.52.0>,"stats: ~p ~p ~p ~p ~p ~p ~p ~p~n",
[page,0,0,0,3.82788,1.80664e-2,0.682323,150]]},
{ts_stats_mon,print_stats_txt,3},
{dict,fold_bucket,3},
{dict,fold_seg,4},
{dict,fold_segs,4},
{ts_stats_mon,terminate,2},
{gen_server,terminate,6},
{proc_lib,init_p,5}]}
And using set_auth_digest:
=ERROR REPORT==== 4-Jun-2008::17:29:38 ===
** State machine <0.71.0> terminating
** Last message in was {tcp,#Port<0.145>,
<<"<iq type='result' id='4'><query
xmlns='jabber:iq:auth'><username>aestetix1</username><password/><digest/><resource/></query></iq>">>}
** When State == wait_ack
** Data == {state_rcv,#Port<0.145>,
{0,0,0,0},
undefined,"127.0.0.1",5222,gen_tcp,
{proto_opts,negociate,10,600000,32768,32768,undefined,
undefined},
false,2,
{ts_request,undefined,local,false,[],
[{noince,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,
{concat,{concat,60,78},111},
110},
99},
101},
32},
101},
110},
99},
111},
100},
105},
110},
103},
61},
34},
104},
101},
120},
34},
62},
{group,{kclosure,{comp_class,"\n"}}}},
60},
47},
78},
111},
110},
99},
101},
62}}],
{jabber,random,0,undefined,auth_get,undefined,undefined,0,
"localhost","aestetix","test",undefined,undefined,"chat",
"Available"},
false,undefined,undefined,undefined},
true,
{1212,618578,67275},
{1212,618576,49672},
7,11,true,
{1212,618578,67275},
{1212,618578,67275},
[],<<>>,
{jabber,undefined,undefined,undefined,undefined,undefined,
undefined,0,undefined,undefined,undefined,undefined,
undefined,undefined,undefined},
0,524288,
{dyndata,undefined,{jabber_dyndata,1}},
ts_jabber,
[{tr_auth_set_digest,{1212,618578,67175}}],
"none"}
** Reason for termination =
** {function_clause,
[{ts_jabber,updatejab,
[undefined,
{jabber,random,0,undefined,auth_set_digest,undefined,
undefined,1,"localhost","aestetix","test",undefined,
undefined,"chat","Available"}]},
{ts_client,handle_next_request,2},
{gen_fsm,handle_msg,7},
{proc_lib,init_p,5}]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080606/7872f410/attachment.html