Advertisement
Guest User

Untitled

a guest
Sep 11th, 2017
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.64 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd" [] >
  3. <tsung loglevel="info" backend="json">
  4. <clients>
  5. <client host="localhost" use_controller_vm="true"/>
  6. </clients>
  7. <servers>
  8. <server host="*.*.*.*" port="5222" type="tcp"/>
  9. </servers>
  10. <load duration="12" unit="minute">
  11. <arrivalphase phase="1" duration="12" unit="minute">
  12. <users maxnumber="100" interarrival="1" unit="second"></users>
  13. </arrivalphase>
  14. </load>
  15. <options>
  16. <option type="ts_jabber" name="global_number" value="5"></option>
  17. <option type="ts_jabber" name="userid_max" value="200000" />
  18. <option type="ts_jabber" name="domain" value="hostname.com" />
  19. <option type="ts_jabber" name="username" value="andupandu" />
  20. <option type="ts_jabber" name="passwd" value="password" />
  21. </options>
  22. <sessions>
  23. <session probability="100" name="xmpp-connection" type="ts_jabber">
  24. <request> <jabber type="connect" ack="local"></jabber> </request>
  25. <thinktime value="2"></thinktime>
  26. <request><jabber type="starttls" ack="bidi_ack" />
  27. </request>
  28. <thinktime value="5"></thinktime>
  29. <transaction name="authenticate">
  30. <request> <jabber type="auth_sasl_anonymous" ack="local"></jabber> </request>
  31. <request> <jabber type="connect" ack="local"></jabber> </request>
  32. <request> <jabber type="auth_sasl_bind" ack="local" ></jabber></request>
  33. <request> <jabber type="auth_sasl_session" ack="local" ></jabber></request>
  34. <request> <jabber type="presence:initial" ack="no_ack"/> </request>
  35. </transaction>
  36. <thinktime value="5"></thinktime>
  37. <transaction name="online">
  38. <request> <jabber type="chat" ack="no_ack" size="4000" destination="online"/></request>
  39. </transaction>
  40. <transaction name="close">
  41. <request> <jabber type="close" ack="local"></jabber> </request>
  42. </transaction>
  43. </session>
  44. </sessions>
  45. </tsung>
  46.  
  47. 2016-12-19 11:02:43.553 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30840>) Accepted connection 223.30.185.182:46844 -> 122.166.14.59:5222
  48. 2016-12-19 11:02:43.772 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30841>) Accepted connection 223.30.185.182:48205 -> 122.166.14.59:5222
  49. 2016-12-19 11:02:44.266 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30842>) Accepted connection 223.30.185.182:48358 -> 122.166.14.59:5222
  50. 2016-12-19 11:02:45.530 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30843>) Accepted connection 223.30.185.182:46427 -> 122.166.14.59:5222
  51. 2016-12-19 11:02:45.689 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30844>) Accepted connection 223.30.185.182:48789 -> 122.166.14.59:5222
  52. 2016-12-19 11:02:46.872 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30845>) Accepted connection 223.30.185.182:34836 -> 122.166.14.59:5222
  53. 2016-12-19 11:02:48.092 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30846>) Accepted connection 223.30.185.182:33801 -> 122.166.14.59:5222
  54. 2016-12-19 11:02:49.144 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30847>) Accepted connection 223.30.185.182:33990 -> 122.166.14.59:5222
  55. 2016-12-19 11:02:50.479 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30848>) Accepted connection 223.30.185.182:50522 -> 122.166.14.59:5222
  56. 2016-12-19 11:02:51.676 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30849>) Accepted connection 223.30.185.182:40768 -> 122.166.14.59:5222
  57. 2016-12-19 11:02:52.925 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30850>) Accepted connection 223.30.185.182:57973 -> 122.166.14.59:5222
  58. 2016-12-19 11:02:53.759 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30851>) Accepted connection 223.30.185.182:41619 -> 122.166.14.59:5222
  59. 2016-12-19 11:02:54.371 [info] <0.606.0>@ejabberd_listener:accept:333 (#Port<0.30852>) Accepted connection 223.30.185.182:42115 -> 122.166.14.59:5222
  60. ... and similar
  61.  
  62. {
  63. "stats": [
  64. {"timestamp": 1482142630, "samples": []},
  65. {"timestamp": 1482142640, "samples": [ {"name": "users", "value": 3, "max": 3}, {"name": "cpu", "hostname": "neureol", "value": 1, "mean": 5.301845187701585,"stddev": 0,"max": 5.301845187701585,"min": 5.301845187701585 ,"global_mean": 0 ,"global_count": 0}, {"name": "load", "hostname": "neureol", "value": 1, "mean": 0.37109375,"stddev": 0,"max": 0.37109375,"min": 0.37109375 ,"global_mean": 0 ,"global_count": 0}, {"name": "freemem", "hostname": "neureol", "value": 1, "mean": 4278.2265625,"stddev": 0,"max": 4278.2265625,"min": 4278.2265625 ,"global_mean": 0 ,"global_count": 0}, {"name": "users_count", "value": 3, "total": 3}, {"name": "finish_users_count", "value": 0, "total": 0}, {"name": "request", "value": 3, "mean": 264.84033203125,"stddev": 88.15162068742659,"max": 389.04296875,"min": 193.447021484375 ,"global_mean": 0 ,"global_count": 0}, {"name": "connect", "value": 3, "mean": 125.679931640625,"stddev": 42.371197826714514,"max": 185.3427734375,"min": 91.028076171875 ,"global_mean": 0 ,"global_count": 0}, {"name": "page", "value": 3, "mean": 264.84033203125,"stddev": 88.15162068742659,"max": 389.04296875,"min": 193.447021484375 ,"global_mean": 0 ,"global_count": 0}, {"name": "size_rcv", "value": 2024, "total": 2024}, {"name": "size_sent", "value": 501, "total": 501}, {"name": "connected", "value": 3, "max": 3}]},
  66. {"timestamp": 1482142650, "samples": [ {"name": "users", "value": 7, "max": 7}, {"name": "cpu", "hostname": "neureol", "value": 1, "mean": 7.1357035553329995,"stddev": 0.0,"max": 7.1357035553329995,"min": 5.301845187701585 ,"global_mean": 5.301845187701585 ,"global_count": 1}, {"name": "load", "hostname": "neureol", "value": 1, "mean": 0.30859375,"stddev": 0.0,"max": 0.37109375,"min": 0.30859375 ,"global_mean": 0.37109375 ,"global_count": 1}, {"name": "freemem", "hostname": "neureol", "value": 1, "mean": 4275.30078125,"stddev": 0.0,"max": 4278.2265625,"min": 4275.30078125 ,"global_mean": 4278.2265625 ,"global_count": 1}, {"name": "users_count", "value": 4, "total": 7}, {"name": "finish_users_count", "value": 0, "total": 0}, {"name": "request", "value": 4, "mean": 522.1024780273438,"stddev": 425.6234764859712,"max": 1257.77099609375,"min": 193.447021484375 ,"global_mean": 264.84033203125 ,"global_count": 3}, {"name": "connect", "value": 4, "mean": 398.53875732421875,"stddev": 438.4391252124725,"max": 1156.155029296875,"min": 91.028076171875 ,"global_mean": 125.679931640625 ,"global_count": 3}, {"name": "page", "value": 4, "mean": 522.1024780273438,"stddev": 425.6234764859712,"max": 1257.77099609375,"min": 193.447021484375 ,"global_mean": 264.84033203125 ,"global_count": 3}, {"name": "size_rcv", "value": 2784, "total": 4808}, {"name": "size_sent", "value": 753, "total": 1254}, {"name": "connected", "value": 4, "max": 7}]}]}
  67.  
  68. loglevel: 4
  69.  
  70. log_rotate_size: 10485760
  71. log_rotate_date: ""
  72. log_rotate_count: 1
  73.  
  74. log_rate_limit: 100
  75.  
  76. hosts:
  77. - "something.com"
  78. - "122.166.14.59"
  79. - "demo.something.com"
  80.  
  81. listen:
  82. -
  83. port: 5222
  84. module: ejabberd_c2s
  85. certfile: "/opt/ejabberd-16.06/conf/server.pem"
  86. starttls: true
  87. ## To enforce TLS encryption for client connections,
  88. ## use this instead of the "starttls" option:
  89. ## starttls_required: true
  90. ##
  91. ## Custom OpenSSL options
  92. ##
  93. protocol_options:
  94. - "no_sslv3"
  95. ## - "no_tlsv1"
  96. max_stanza_size: 65536
  97. shaper: c2s_shaper
  98. access: c2s
  99. resend_on_timeout: true
  100. -
  101. port: 5269
  102. module: ejabberd_s2s_in
  103. max_stanza_size: 131072
  104. shaper: s2s_shaper
  105.  
  106. -
  107. port: 5280
  108. module: ejabberd_http
  109. request_handlers:
  110. "/websocket": ejabberd_http_ws
  111. ## "/pub/archive": mod_http_fileserver
  112. web_admin: true
  113. http_bind: true
  114. ## register: true
  115. captcha: false
  116.  
  117.  
  118.  
  119.  
  120. auth_method: internal
  121.  
  122.  
  123. auth_method: anonymous
  124. anonymous_protocol: both
  125. allow_multiple_connections: true
  126. host_config:
  127. "something.com":
  128. odbc_type: mysql
  129. odbc_server: "localhost"
  130. odbc_database: "chatdb"
  131. odbc_username: "siteuser"
  132. odbc_password: "site!@#$"
  133. auth_method: [odbc]
  134.  
  135. shaper:
  136. ##
  137. ## The "normal" shaper limits traffic speed to 1000 B/s
  138. ##
  139. normal: 1000
  140.  
  141. ##
  142. ## The "fast" shaper limits traffic speed to 50000 B/s
  143. ##
  144. fast: 500000000
  145. max_fsm_queue: 1000
  146.  
  147. shaper_rules:
  148. ## Maximum number of simultaneous sessions allowed for a single user:
  149. max_user_sessions: 10
  150. ## Maximum number of offline messages that users can have:
  151. max_user_offline_messages:
  152. - allow: all
  153. ## For C2S connections, all users except admins use the "normal" shaper
  154. c2s_shaper:
  155. - none: admin
  156. - fast
  157. ## All S2S connections use the "fast" shaper
  158. s2s_shaper: fast
  159. access_rules:
  160. ## This rule allows access only for local users:
  161. local:
  162. - allow: local
  163. ## Only non-blocked users can use c2s connections:
  164. c2s:
  165. - deny: blocked
  166. - allow
  167. ## Only admins can send announcement messages:
  168. announce:
  169. - allow: admin
  170. ## Only admins can use the configuration interface:
  171. configure:
  172. - allow: admin
  173. ## Only accounts of the local ejabberd server can create rooms:
  174. muc_create:
  175. - allow: local
  176. ## Only accounts on the local ejabberd server can create Pubsub nodes:
  177. pubsub_createnode:
  178. - allow: local
  179. ## In-band registration allows registration of any possible username.
  180. ## To disable in-band registration, replace 'allow' with 'deny'.
  181. register:
  182. - allow
  183. ## Only allow to register from localhost
  184. trusted_network:
  185. - allow: all
  186.  
  187. registration_timeout: infinity
  188.  
  189. modules:
  190. mod_adhoc: {}
  191. mod_admin_extra: {}
  192. mod_announce: # recommends mod_adhoc
  193. access: announce
  194. mod_blocking: {} # requires mod_privacy
  195. mod_caps: {}
  196. mod_carboncopy: {}
  197. mod_client_state: {}
  198. mod_configure: {} # requires mod_adhoc
  199. mod_disco: {}
  200. ## mod_echo: {}
  201. mod_http_bind: {}
  202. mod_last: {}
  203. mod_muc:
  204. access:
  205. - allow
  206. access_admin:
  207. - allow: admin
  208. access_create: muc_create
  209. access_persistent: muc_create
  210. mod_muc_admin: {}
  211. ## mod_muc_log: {}
  212. ## mod_multicast: {}
  213. mod_offline:
  214. access_max_user_messages: max_user_offline_messages
  215. mod_ping:
  216. send_pings: true
  217. ping_interval: 60
  218. ping_ack_timout: 32
  219. timeout_action: kill
  220. mod_privacy: {}
  221. mod_private: {}
  222. mod_pubsub:
  223. access_createnode: pubsub_createnode
  224. ## reduces resource comsumption, but XEP incompliant
  225. ignore_pep_from_offline: true
  226. ## XEP compliant, but increases resource comsumption
  227. ## ignore_pep_from_offline: false
  228. last_item_cache: false
  229. plugins:
  230. - "flat"
  231. - "hometree"
  232. - "pep" # pep requires mod_caps
  233. mod_register:
  234. welcome_message:
  235. subject: "Welcome!"
  236. body: |-
  237. Hi.
  238. Welcome to this XMPP server.
  239. access: register
  240. mod_roster: {}
  241. mod_shared_roster: {}
  242. mod_vcard:
  243. search: false
  244. mod_version: {}
  245.  
  246. allow_contrib_modules: true
  247.  
  248. 2016-12-20 12:35:09.694 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123804>) Accepted connection 223.30.185.182:44998 -> *.*.*.*:5222
  249. 2016-12-20 12:35:09.696 [debug] <0.8478.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='1' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  250. 2016-12-20 12:35:09.696 [debug] <0.8479.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12153081287775773739' from='something.com' version='1.0' xml:lang='en'>">>
  251. 2016-12-20 12:35:09.697 [debug] <0.8479.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  252. 2016-12-20 12:35:10.043 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123801>) Accepted connection 223.30.185.182:36296 -> *.*.*.*:5222
  253. 2016-12-20 12:35:10.044 [debug] <0.8480.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='2' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  254. 2016-12-20 12:35:10.044 [debug] <0.8481.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3424930239190161372' from='something.com' version='1.0' xml:lang='en'>">>
  255. 2016-12-20 12:35:10.045 [debug] <0.8481.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  256. 2016-12-20 12:35:11.173 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123807>) Accepted connection 223.30.185.182:35101 -> *.*.*.*:5222
  257. 2016-12-20 12:35:11.175 [debug] <0.8482.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='3' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  258. 2016-12-20 12:35:11.175 [debug] <0.8483.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='10270498772362791845' from='something.com' version='1.0' xml:lang='en'>">>
  259. 2016-12-20 12:35:11.176 [debug] <0.8483.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  260. 2016-12-20 12:35:11.872 [debug] <0.8478.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>">>
  261. 2016-12-20 12:35:11.872 [debug] <0.8478.1>@shaper:update:120 State: {maxrate,500000000,0.0,1482217509697017}, Size=51
  262. M=5.1e-5, I=2175.696
  263. 2016-12-20 12:35:11.873 [debug] <0.8478.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<>>
  264. 2016-12-20 12:35:11.873 [debug] <0.8478.1>@shaper:update:120 State: {maxrate,500000000,11.719617122406575,1482217511872856}, Size=0
  265. M=0.0, I=0.328
  266. 2016-12-20 12:35:12.157 [debug] <0.8480.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>">>
  267. 2016-12-20 12:35:12.157 [debug] <0.8480.1>@shaper:update:120 State: {maxrate,500000000,0.0,1482217510044454}, Size=51
  268. M=5.1e-5, I=2113.04
  269. 2016-12-20 12:35:12.157 [debug] <0.8480.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<>>
  270. 2016-12-20 12:35:12.158 [debug] <0.8480.1>@shaper:update:120 State: {maxrate,500000000,12.067047354406341,1482217512157647}, Size=0
  271. M=0.0, I=0.311
  272. 2016-12-20 12:35:13.303 [debug] <0.8482.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>">>
  273. 2016-12-20 12:35:13.303 [debug] <0.8482.1>@shaper:update:120 State: {maxrate,500000000,0.0,1482217511175417}, Size=51
  274. M=5.1e-5, I=2128.331
  275. 2016-12-20 12:35:13.304 [debug] <0.8482.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<>>
  276. 2016-12-20 12:35:13.304 [debug] <0.8482.1>@shaper:update:120 State: {maxrate,500000000,11.980431023020751,1482217513303888}, Size=0
  277. M=0.0, I=0.368
  278. 2016-12-20 12:35:15.202 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123812>) Accepted connection 223.30.185.182:49986 -> *.*.*.*:5222
  279. 2016-12-20 12:35:15.203 [debug] <0.8484.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='4' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  280. 2016-12-20 12:35:15.203 [debug] <0.8485.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6574869083255218624' from='something.com' version='1.0' xml:lang='en'>">>
  281. 2016-12-20 12:35:15.204 [debug] <0.8485.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  282. 2016-12-20 12:35:15.504 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123810>) Accepted connection 223.30.185.182:41718 -> *.*.*.*:5222
  283. 2016-12-20 12:35:15.505 [debug] <0.8486.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='5' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  284. 2016-12-20 12:35:15.506 [debug] <0.8487.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11910276457718456980' from='something.com' version='1.0' xml:lang='en'>">>
  285. 2016-12-20 12:35:15.507 [debug] <0.8487.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  286. 2016-12-20 12:35:16.979 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123799>) Accepted connection 223.30.185.182:57791 -> *.*.*.*:5222
  287. 2016-12-20 12:35:16.980 [debug] <0.8488.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='6' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  288. 2016-12-20 12:35:16.980 [debug] <0.8489.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16257359711038503484' from='something.com' version='1.0' xml:lang='en'>">>
  289. 2016-12-20 12:35:16.981 [debug] <0.8489.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  290. 2016-12-20 12:35:17.486 [debug] <0.8484.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>">>
  291. 2016-12-20 12:35:17.487 [debug] <0.8484.1>@shaper:update:120 State: {maxrate,500000000,0.0,1482217515203642}, Size=51
  292. M=5.1e-5, I=2283.43
  293. 2016-12-20 12:35:17.487 [debug] <0.8484.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<>>
  294. 2016-12-20 12:35:17.487 [debug] <0.8484.1>@shaper:update:120 State: {maxrate,500000000,11.166760014941563,1482217517487205}, Size=0
  295. M=0.0, I=0.271
  296. 2016-12-20 12:35:17.756 [debug] <0.8486.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>">>
  297. 2016-12-20 12:35:17.756 [debug] <0.8486.1>@shaper:update:120 State: {maxrate,500000000,0.0,1482217515505921}, Size=51
  298. M=5.1e-5, I=2250.965
  299. 2016-12-20 12:35:17.757 [debug] <0.8486.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<>>
  300. 2016-12-20 12:35:17.757 [debug] <0.8486.1>@shaper:update:120 State: {maxrate,500000000,11.32786071795537,1482217517757008}, Size=0
  301. M=0.0, I=0.314
  302. 2016-12-20 12:35:17.793 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123817>) Accepted connection 223.30.185.182:42577 -> *.*.*.*:5222
  303. 2016-12-20 12:35:17.803 [debug] <0.8490.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='7' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  304. 2016-12-20 12:35:17.803 [debug] <0.8491.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3919444622270218959' from='something.com' version='1.0' xml:lang='en'>">>
  305. 2016-12-20 12:35:17.804 [debug] <0.8491.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  306. 2016-12-20 12:35:18.762 [info] <0.3540.1>@ejabberd_listener:accept:333 (#Port<0.123818>) Accepted connection 223.30.185.182:37374 -> *.*.*.*:5222
  307. 2016-12-20 12:35:18.763 [debug] <0.8492.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<?xml version='1.0'?><stream:stream id='8' to='something.com' xmlns='jabber:client' version='1.0' xmlns:stream='http://etherx.jabber.org/streams'>">>
  308. 2016-12-20 12:35:18.763 [debug] <0.8493.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11192005229436680642' from='something.com' version='1.0' xml:lang='en'>">>
  309. 2016-12-20 12:35:18.764 [debug] <0.8493.1>@ejabberd_c2s:send_text:1852 Send XML on stream = <<"<stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='Xe/lYmivnmPRh4GEsNf6U13V4G8='/><register xmlns='http://jabber.org/features/iq-register'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>X-OAUTH2</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms></stream:features>">>
  310. 2016-12-20 12:35:19.210 [debug] <0.8488.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<"<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>">>
  311. 2016-12-20 12:35:19.210 [debug] <0.8488.1>@shaper:update:120 State: {maxrate,500000000,0.0,1482217516980265}, Size=51
  312. M=5.1e-5, I=2230.46
  313. 2016-12-20 12:35:19.211 [debug] <0.8488.1>@ejabberd_receiver:process_data:284 Received XML on stream = <<>>
  314. 2016-12-20 12:35:19.211 [debug] <0.8488.1>@shaper:update:120 State: {maxrate,500000000,11.43193760582948,1482217519210858}, Size=0
  315. M=0.0, I=0.277
  316.  
  317. <?xml version="1.0"?>
  318. <!DOCTYPE tsung SYSTEM "/home/ubuntu/tsung-1.7.0/tsung-1.0.dtd" []>
  319. <tsung loglevel="warning" dumptraffic="false" version="1.0">
  320.  
  321. <clients>
  322. <client host="localhost" use_controller_vm="false" cpu="8" maxusers="100000">
  323. </client>
  324. </clients>
  325.  
  326. <servers>
  327. <server host="xmpp.example.com" port="5222" type="tcp"/>
  328. </servers>
  329.  
  330. <load duration="30" unit="minute">
  331. <!--user session="jabber-login" start_time="2" unit="second"></user-->
  332. <!-- to make 24k online users -->
  333. <arrivalphase phase="1" duration="30" unit="minute">
  334. <users arrivalrate="20" unit="second"></users>
  335. <session_setup name="jabber-login" probability="100"/>
  336. </arrivalphase>
  337. </load>
  338.  
  339. <options>
  340. <option type="ts_jabber" name="global_number" value="500"/>
  341. <option type="ts_jabber" name="userid_max" value="1000000"/>
  342. <option type="ts_jabber" name="domain" value="mylowdown.com"/>
  343. <option type="ts_jabber" name="username" value="tsung_"/>
  344. <option type="ts_jabber" name="passwd" value="tsung_pwd"/>
  345. </options>
  346.  
  347. <sessions>
  348. <session probability="0" name="jabber-login" type="ts_jabber" bidi="true">
  349.  
  350. <transaction name="connect">
  351. <request> <jabber type="connect" ack="local" /> </request>
  352. <thinktime value="5"></thinktime>
  353. <request> <jabber type="starttls" ack="bidi_ack" /> </request>
  354. <request> <jabber type="connect" ack="local" /> </request>
  355. </transaction>
  356.  
  357. <thinktime value="5"></thinktime>
  358.  
  359. <transaction name="authenticate">
  360. <request> <jabber type="auth_sasl" ack="local"/> </request>
  361. <request> <jabber type="connect" ack="local"/> </request>
  362. <request> <jabber type="auth_sasl_bind" ack="local"/> </request>
  363. <request> <jabber type="auth_sasl_session" ack="local"/> </request>
  364. </transaction>
  365.  
  366. <transaction name="online">
  367. <request> <jabber type="presence:initial" ack="no_ack"/> </request>
  368. </transaction>
  369.  
  370. <thinktime value="5"></thinktime>
  371.  
  372. <for var="counter" from="1" to="21" incr="1">
  373. <transaction name="online_msg">
  374. <request>
  375. <jabber type="chat" ack="no_ack" size="40" stamped="true" destination="online"/>
  376. </request>
  377. </transaction>
  378.  
  379. <thinktime value="15"/>
  380.  
  381. <transaction name="offline_msg">
  382. <request>
  383. <jabber type="chat" ack="no_ack" size="10" stamped="true" destination="offline"/>
  384. </request>
  385. </transaction>
  386. <thinktime value="15"/>
  387. </for>
  388.  
  389. <transaction name="close">
  390. <request> <jabber type="close" ack="local"> </jabber></request>
  391. </transaction>
  392. </session>
  393. </sessions>
  394. </tsung>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement