[Tsung] add_to_online: warn, id 1 is not connected, do not add to online

Nick Potapov nick_potapov at hotmail.com
Thu Nov 21 12:56:17 CET 2013


Re-posting script hoping that format will not be screwed up again ...






Simplified script version is below.

  <sessions>
   <session probability="100" name="jabber-example" type="ts_jabber">

    <transaction name="010_connect_socket">
    <request> <jabber type="connect" ack="local"></jabber> </request>
    </transaction>

    <thinktime value="1"></thinktime>

    <transaction name="020_authenticate">
        <request> <jabber type="auth_sasl" ack="local"/> </request>
        <request> <jabber type="connect" ack="local"/> </request>
<request> <jabber type="auth_sasl_bind" ack="local"/> </request>
        <request> <jabber type="auth_sasl_session" ack="local"/> </request>
   </transaction>

    <thinktime value="2"></thinktime>

    <transaction name="030_presence_initial">
  <request> <jabber type="presence:initial" ack="no_ack"/> </request>
    </transaction>

    <thinktime value="2"></thinktime>

   <transaction name="100_close">
      <request> <jabber type="close" ack="no_ack"></jabber> </request>
    </transaction>
    <thinktime value="2"></thinktime>


    


    <transaction name="010_connect_socket">
    <request> <jabber type="connect" ack="local"></jabber> </request>
    </transaction>

    <thinktime value="1"></thinktime>

    <transaction name="020_authenticate">
        <request> <jabber type="auth_sasl" ack="local"/> </request>
        <request> <jabber type="connect" ack="local"/> </request>
<request> <jabber type="auth_sasl_bind" ack="local"/> </request>
        <request> <jabber type="auth_sasl_session" ack="local"/> </request>
   </transaction>

    <thinktime value="2"></thinktime>

    <transaction name="030_presence_initial">
  <request> <jabber type="presence:initial" ack="no_ack"/> </request>
    </transaction>

    <thinktime value="2"></thinktime>

   <transaction name="100_close">
      <request> <jabber type="close" ack="no_ack"></jabber> </request>
    </transaction>
    <thinktime value="2"></thinktime>

  </session>
 </sessions>


Thanks,
Nikolai 		 	   		  


More information about the Tsung-users mailing list