SHARE
TWEET

Untitled

a guest May 21st, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE tsung SYSTEM "/home/blah/tsung/tsung-1.0.dtd" []>
  3. <tsung loglevel="notice" version="1.0">
  4.   <clients>
  5.     <client host="localhost" use_controller_vm="true"></client>
  6.   </clients>
  7.   <!-- Server side setup -->
  8.  <servers>
  9.   <server host="localhost" port="5280" type="websocket"></server>
  10.  </servers>
  11.   <load>
  12.    <arrivalphase phase="1" duration="20" unit="second">
  13.     <users interarrival="1" unit="second"></users>
  14.    </arrivalphase>
  15.   </load>
  16.   <!-- JABBER parameters -->
  17.  <options>
  18.   <option type="ts_jabber" name="global_number" value="20"></option>
  19.   <option type="ts_jabber" name="userid_max" value="20"></option>
  20.   <option type="ts_jabber" name="domain" value="localhost"></option>
  21.   <option type="ts_jabber" name="username" value="user00"></option>
  22.   <option type="ts_jabber" name="passwd" value="user00"></option>
  23.   <option name="websocket_path" value="/ws-xmpp"/>
  24.  </options>
  25.  
  26.   <sessions>
  27.    <session probability="100" name="jabber-example" type="ts_jabber">
  28.     <request> <jabber type="connect" ack="no_ack"></jabber> </request>
  29.     <thinktime value="2"></thinktime>
  30.     <transaction name="authenticate">
  31.     <request><jabber type="auth_sasl" ack="local" /></request>
  32.     <request><jabber type="connect" ack="local" /></request>
  33.     <request><jabber type="auth_sasl_bind" ack="local" /></request>
  34.     <request><jabber type="auth_sasl_session" ack="local" /></request>
  35.     </transaction>
  36.     <request> <jabber type="presence:initial" ack="no_ack"/> </request>
  37.     <thinktime value="10"></thinktime>
  38.     <transaction name="roster">
  39.       <request> <jabber type="iq:roster:get" ack="local"></jabber></request>
  40.     </transaction>
  41.     <thinktime value="10"></thinktime>
  42.     <transaction name="online">
  43.     <request> <jabber type="chat" ack="no_ack" size="16" destination="online"></jabber> </request>
  44.     </transaction>
  45.     <thinktime value="10"></thinktime>
  46.     <transaction name="offline">
  47.       <request> <jabber type="chat" ack="no_ack" size="56" destination="offline"></jabber> </request>
  48.     </transaction>
  49.     <thinktime value="2"></thinktime>
  50.     <transaction name="close">
  51.       <request> <jabber type="close" ack="no_ack"></jabber> </request>
  52.     </transaction>
  53.   </session>
  54.  </sessions>
  55. </tsung>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top