[Tsung] Tsung - Stop in state think...

JD jeff.darklight at gmail.com
Fri Feb 1 01:54:01 CET 2008


Hi there ...

I've gone out and grabbed the latest Tsung from SVN. ( version 790 or
something like that )...

I've also gone and compiled a fresh Erlang ( 12R0 ) ... and have
patched my Tsung source to deal with the loss of httpd_util:to_lower
...

...  So, I'm sending requests to a server.  And the response from the
server is a well formed chunk of http response, including a
content-length of 0.

But, currently, tsung blows up on every request with:

=INFO REPORT==== 31-Jan-2008::15:57:45 ===
   ts_config_server:(6:<0.44.0>) Session 3 choosen

=INFO REPORT==== 31-Jan-2008::15:57:45 ===
          ts_client:(5:<0.220.0>) Stop in state think, reason=
{function_clause,
                                                                [{ts_http,
                                                                  get_message,

[{http_request,
                                                                    "/page",
                                                                    "1.1",
                                                                    "server",
                                                                    undefined,
                                                                    none,'',

"application/x-www-form-urlencoded",
                                                                    [],<<>>,
                                                                    0,
                                                                    "tsung",
                                                                    undefined,
                                                                    undefined,

undefined}]},
                                                                 {ts_client,

handle_next_request,
                                                                  2},
                                                                 {gen_fsm,
                                                                  handle_msg,
                                                                  7},
                                                                 {proc_lib,
                                                                  init_p,5}]}

=ERROR REPORT==== 31-Jan-2008::15:57:45 ===
** State machine <0.220.0> terminating
** Last message in was {timeout,#Ref<0.0.0.2572>,end_thinktime}
** When State == think
**      Data  == {state_rcv,none,
                    {0,0,0,0},
                    undefined,"server",80,gen_tcp,
                    {proto_opts,negociate,10,600000,32768,32768,32768,32768},
                    false,3,undefined,true,undefined,
                    {1201,823865,187260},
                    1,1,false,undefined,0,[],<<>>,
                    {http,0,0,-1,none,false,false,[]},
                    0,
                    {dyndata,undefined,{http_dyndata,"tsung",[]}},
                    ts_http,[],"full"}
** Reason for termination =
** {function_clause,
      [{ts_http,get_message,
           [{http_request,
                "/page",
                "1.1","server",undefined,none,'',
                "application/x-www-form-urlencoded",[],<<>>,0,"tsung",
                undefined,undefined,undefined}]},
       {ts_client,handle_next_request,2},
       {gen_fsm,handle_msg,7},
       {proc_lib,init_p,5}]}


My tsung.xml simply has 3 sessions with slightly different URLs. (
I've modified the URLS & Server address for public consumption.

... I don't get it.

Lemme know what I'm doing wrong ... please.

Thank you, in advance, for your time.

jd.

-- 
Greetings Starfghter! You have been recruited by the Star League to
defend the frontier against Xur and the Ko-Dan Armada.


More information about the Tsung-users mailing list