XMPP Server functional tests.

  1. Get server version
  2. Server configuration
  3. Server statistics
  4. Script with functional tests for all basic XMPP/Jabber features
  5. Testing bosh component
  6. Testing bosh component in keep-alive mode

Test start time: Jan 20, 2016 1:52:13 PM

Server version info:

Name:  Tigase
Version:  7.1.0-SNAPSHOT-b4140/917f7b62 (2016-01-20/12:41:46)
OS:  Linux-amd64-3.5.0-23-generic, Java HotSpot(TM) 64-Bit Server VM-25.20-b05-Oracle Corporation
    
Local IP:  127.0.0.1
Remote IP:  127.0.0.1

Server basic configuration parameters:

sess-man:sess-man/command/http://jabber.org/protocol/admin#get-online-users-list LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#delete-user LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#get-top-active-users LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#get-registered-users-list LOCAL
sess-man:sess-man/plugins-conf/amp/msg-offline false
sess-man:sess-man/command/http://jabber.org/protocol/admin#get-idle-users LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#user-stats LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#add-user-tracker LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#get-active-users-num LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#announce LOCAL
sess-man:sess-man/command/roster-fixer-cluster LOCAL
sess-man:sess-man/command/user-roster-management LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#get-active-users LOCAL
sess-man:sess-man/command/connection-time LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#remove-user-tracker LOCAL
sess-man:sess-man/command/user-domain-perm LOCAL
sess-man:sess-man/command/user-roster-management-ext LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#change-user-password LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#get-user-roster LOCAL
sess-man:sess-man/command/http://jabber.org/protocol/admin#get-idle-users-num LOCAL
sess-man:sess-man/command/roster-fixer LOCAL
sess-man:sess-man/plugins-conf/dynamic-roster-classes tigase.xmpp.impl.roster.DynamicRosterTest
sess-man:sess-man/command/http://jabber.org/protocol/admin#add-user LOCAL
sess-man:sess-man/component-id sess-man@build.xmpp-test.net
sess-man:sess-man/def-hostname build.xmpp-test.net
sess-man:sess-man/admins admin@test-d
sess-man:sess-man/scripts-dir scripts/admin
sess-man:sess-man/command/ALL ADMIN
sess-man:sess-man/trusted admin@test.test-d
sess-man:sess-man/max-queue-size 100000
sess-man:sess-man/scheduler-threads 1
sess-man:sess-man/incoming-filters tigase.server.filters.PacketCounter
sess-man:sess-man/outgoing-filters tigase.server.filters.PacketCounter
sess-man:sess-man/admin-scripts-dir scripts/admin/
sess-man:sess-man/plugins session-close, session-open, default-handler, jabber:iq:register, jabber:iq:auth, urn:ietf:params:xml:ns:xmpp-sasl, urn:ietf:params:xml:ns:xmpp-bind, urn:ietf:params:xml:ns:xmpp-session, jabber:iq:roster, jabber:iq:privacy, jabber:iq:version, http://jabber.org/protocol/stats, starttls, vcard-temp, http://jabber.org/protocol/commands, jabber:iq:private, urn:xmpp:ping, presence-state, presence-subscription, disco, domain-filter, zlib, amp, message-carbons, vcard-xep-0292, urn:xmpp:time
sess-man:sess-man/plugins-concurrency 
sess-man:sess-man/skip-privacy false
sess-man:sess-man/offline-user-autocreate false
sess-man:sess-man/sm-threads-pool custom:100
sess-man:sess-man/force-detail-stale-connection-check true
sess-man:sess-man/stale-connection-closer-queue-size 1000
sess-man:sess-man/auth-timeout 120
sess-man:sess-man/sm-cluster-strategy-class tigase.cluster.strategy.DefaultClusteringStrategy
sess-man:sess-man/error-forwarding drop
sess-man:sess-man/domain-name test-d

Tests results:

Test name Result Total time OK Average Description History
Version success 0 sec 1 87 ms Get server version Version
Configuration success 0 sec 1 121 ms Server configuration Configuration
Statistics success 0 sec 1 105 ms Server statistics Statistics
Basic 1 (bosh) success 0 sec 1 139 ms Stream open to server. Basic 1 (bosh)
Basic 2 (bosh) success 0 sec 1 407 ms XEP-0077 - In-Band Registration, register Basic 2 (bosh)
Basic 3 (bosh) success 0 sec 1 532 ms XEP-0077 - In-Band Registration - user unregister Basic 3 (bosh)
Basic 4 (bosh) success 0 sec 1 364 ms XEP-0078 Non-SASL authorization with plain password. Basic 4 (bosh)
Basic 5 (bosh) success 0 sec 1 364 ms XEP-0078 Non-SASL authorization with digest password. Basic 5 (bosh)
Basic 6 (bosh) success 1 sec 1 582 ms Send a message to self user and don't wait for response Basic 6 (bosh)
Basic 7 (bosh) success 0 sec 1 607 ms Message send to correct/available full JID: all-xmpp-test_1@test-d/def-user-resource, expecting response Basic 7 (bosh)
Basic 8 (bosh) success 0 sec 1 737 ms Message send to correct/available bare JID: all-xmpp-test_1@test-d, expecting response Basic 8 (bosh)
Basic 9 (bosh) success 0 sec 1 593 ms IQ stanza send to incorrect/unavailable full JID: all-xmpp-test_1@test-d/wrong-resource, expecting error response Basic 9 (bosh)
Basic 10 (bosh) success 0 sec 1 251 ms XEP-0092 - get entity version Basic 10 (bosh)
Basic 11 (bosh) success 0 sec 1 592 ms XEP-0039 Statistics Gathering Basic 11 (bosh)
Basic 12 (bosh) success 1 sec 1 1289 ms Roster management test Basic 12 (bosh)
Basic 13 (bosh) success 0 sec 1 586 ms Roster with uppercase characters test, this tests verifies if the roster item removed in previous test is really removed from DB and empty on user relogin. Basic 13 (bosh)
Basic 14 (bosh) success 1 sec 1 1314 ms XEP-0049: Private XML Storage Basic 14 (bosh)
Basic 15 (bosh) success 0 sec 1 685 ms Test for feature-not-implemented error which should be returned when client sends unsupported stanza Basic 15 (bosh)
Basic 16 (bosh) success 1 sec 1 910 ms XEP-0054: vcard-temp Basic 16 (bosh)
Basic 17 (bosh) success 0 sec 1 574 ms XEP-0199: XMPP Ping to domain 'test-d' the user is logged in Basic 17 (bosh)
Basic 18 (bosh) success 0 sec 1 571 ms XEP-0199: XMPP Ping to another, vrtual domain 'test-domain' on the server Basic 18 (bosh)
Basic 19 (bosh) success 0 sec 1 698 ms XEP-0030: XMPP Service Discovery Basic 19 (bosh)
Basic 20 (bosh) success 0 sec 1 455 ms Send a message without resource binding and expect an error response. Basic 20 (bosh)
Basic 21 (bosh) success 1 sec 1 1045 ms Bug #431 - XMLUtil encoding problem: https://projects.tigase.org/issues/431 Basic 21 (bosh)
Basic 1 (bosh-keep-alive) success 0 sec 1 123 ms Stream open to server. Basic 1 (bosh-keep-alive)
Basic 2 (bosh-keep-alive) success 0 sec 1 365 ms XEP-0077 - In-Band Registration, register Basic 2 (bosh-keep-alive)
Basic 3 (bosh-keep-alive) success 0 sec 1 485 ms XEP-0077 - In-Band Registration - user unregister Basic 3 (bosh-keep-alive)
Basic 4 (bosh-keep-alive) success 0 sec 1 353 ms XEP-0078 Non-SASL authorization with plain password. Basic 4 (bosh-keep-alive)
Basic 5 (bosh-keep-alive) success 0 sec 1 366 ms XEP-0078 Non-SASL authorization with digest password. Basic 5 (bosh-keep-alive)
Basic 6 (bosh-keep-alive) success 1 sec 1 579 ms Send a message to self user and don't wait for response Basic 6 (bosh-keep-alive)
Basic 7 (bosh-keep-alive) success 0 sec 1 596 ms Message send to correct/available full JID: all-xmpp-test_1@test-d/def-user-resource, expecting response Basic 7 (bosh-keep-alive)
Basic 8 (bosh-keep-alive) success 0 sec 1 717 ms Message send to correct/available bare JID: all-xmpp-test_1@test-d, expecting response Basic 8 (bosh-keep-alive)
Basic 9 (bosh-keep-alive) success 0 sec 1 584 ms IQ stanza send to incorrect/unavailable full JID: all-xmpp-test_1@test-d/wrong-resource, expecting error response Basic 9 (bosh-keep-alive)
Basic 10 (bosh-keep-alive) success 0 sec 1 237 ms XEP-0092 - get entity version Basic 10 (bosh-keep-alive)
Basic 11 (bosh-keep-alive) success 0 sec 1 616 ms XEP-0039 Statistics Gathering Basic 11 (bosh-keep-alive)
Basic 12 (bosh-keep-alive) success 1 sec 1 1296 ms Roster management test Basic 12 (bosh-keep-alive)
Basic 13 (bosh-keep-alive) success 0 sec 1 572 ms Roster with uppercase characters test, this tests verifies if the roster item removed in previous test is really removed from DB and empty on user relogin. Basic 13 (bosh-keep-alive)
Basic 14 (bosh-keep-alive) success 0 sec 1 562 ms XEP-0049: Private XML Storage Basic 14 (bosh-keep-alive)
Basic 15 (bosh-keep-alive) success 0 sec 1 686 ms Test for feature-not-implemented error which should be returned when client sends unsupported stanza Basic 15 (bosh-keep-alive)
Basic 16 (bosh-keep-alive) success 1 sec 1 830 ms XEP-0054: vcard-temp Basic 16 (bosh-keep-alive)
Basic 17 (bosh-keep-alive) success 0 sec 1 586 ms XEP-0199: XMPP Ping to domain 'test-d' the user is logged in Basic 17 (bosh-keep-alive)
Basic 18 (bosh-keep-alive) success 0 sec 1 576 ms XEP-0199: XMPP Ping to another, vrtual domain 'test-domain' on the server Basic 18 (bosh-keep-alive)
Basic 19 (bosh-keep-alive) success 0 sec 1 714 ms XEP-0030: XMPP Service Discovery Basic 19 (bosh-keep-alive)
Basic 20 (bosh-keep-alive) success 0 sec 1 457 ms Send a message without resource binding and expect an error response. Basic 20 (bosh-keep-alive)
Basic 21 (bosh-keep-alive) success 1 sec 1 1033 ms Bug #431 - XMLUtil encoding problem: https://projects.tigase.org/issues/431 Basic 21 (bosh-keep-alive)

Test end time: Jan 20, 2016 1:53:07 PM

Total test time: 0 hours, 0 minutes, 53 seconds, 369 ms.

Server stats after test:

vhost-man:Number of VHosts 3
vhost-man:Checks: is local domain 1642
vhost-man:Get components for local domain 24
message-router:Last second packets 28
message-router:Last minute packets 115
message-router:Processing threads 8
message-router:Packets received 1112
message-router:Packets sent 9
message-router:IN_QUEUE processed messages 36
message-router:IN_QUEUE processed presences 14
message-router:IN_QUEUE processed other 1062
message-router:IN_QUEUE processed IQ no XMLNS 216
message-router:IN_QUEUE processed IQ jabber:iq:agents 4
message-router:IN_QUEUE processed IQ http://jabber.org/protocol/disco#items 8
message-router:IN_QUEUE processed IQ jabber:iq:roster 68
message-router:IN_QUEUE processed IQ jabber:iq:auth 12
message-router:IN_QUEUE processed IQ ping 4
message-router:IN_QUEUE processed IQ custom 6
message-router:IN_QUEUE processed IQ not-yet-supported 4
message-router:IN_QUEUE processed IQ command 519
message-router:IN_QUEUE processed IQ jabber:iq:version 8
message-router:IN_QUEUE processed IQ bind 70
message-router:IN_QUEUE processed IQ jabber:iq:register 17
message-router:IN_QUEUE processed IQ vCard 10
message-router:IN_QUEUE processed IQ jabber:iq:roster-load 6
message-router:IN_QUEUE processed IQ jabber:iq:private 24
message-router:IN_QUEUE processed IQ http://jabber.org/protocol/disco#info 8
message-router:IN_QUEUE processed total IQ 984
message-router:OUT_QUEUE processed other 9
message-router:OUT_QUEUE processed IQ http://jabber.org/protocol/disco#items 2
message-router:OUT_QUEUE processed IQ command 5
message-router:OUT_QUEUE processed IQ http://jabber.org/protocol/disco#info 2
message-router:OUT_QUEUE processed total IQ 9
message-router:Local hostname build.xmpp-test.net
message-router:Uptime 2 mins, 55 sec
message-router:Load average 0.1
message-router:CPU usage [%] 6.6350713
message-router:HEAP usage [%] 4.441525
message-router:NONHEAP usage [%] -1.0
message-router:CPU usage 6.6%
message-router:Max Heap mem 683,008 KB
message-router:Used Heap 30,335 KB
message-router:Free Heap 652,672 KB
message-router:Max NonHeap mem 0 KB
message-router:Used NonHeap 72,144 KB
message-router:Free NonHeap -1 KB
bosh:Last second packets 13
bosh:Processing threads 8
bosh:Packets received 489
bosh:Packets sent 434
bosh:IN_QUEUE processed messages 10
bosh:IN_QUEUE processed presences 2
bosh:IN_QUEUE processed other 314
bosh:IN_QUEUE processed IQ no XMLNS 28
bosh:IN_QUEUE processed IQ jabber:iq:agents 2
bosh:IN_QUEUE processed IQ http://jabber.org/protocol/disco#items 2
bosh:IN_QUEUE processed IQ jabber:iq:roster 42
bosh:IN_QUEUE processed IQ jabber:iq:auth 4
bosh:IN_QUEUE processed IQ custom 2
bosh:IN_QUEUE processed IQ not-yet-supported 2
bosh:IN_QUEUE processed IQ command 150
bosh:IN_QUEUE processed IQ jabber:iq:version 2
bosh:IN_QUEUE processed IQ bind 30
bosh:IN_QUEUE processed IQ jabber:iq:register 2
bosh:IN_QUEUE processed IQ vCard 4
bosh:IN_QUEUE processed IQ jabber:iq:private 10
bosh:IN_QUEUE processed IQ http://jabber.org/protocol/disco#info 2
bosh:IN_QUEUE processed total IQ 282
bosh:OUT_QUEUE processed messages 8
bosh:OUT_QUEUE processed presences 2
bosh:OUT_QUEUE processed other 424
bosh:OUT_QUEUE processed IQ no XMLNS 4
bosh:OUT_QUEUE processed IQ jabber:iq:agents 2
bosh:OUT_QUEUE processed IQ http://jabber.org/protocol/disco#items 2
bosh:OUT_QUEUE processed IQ jabber:iq:roster 26
bosh:OUT_QUEUE processed IQ jabber:iq:auth 8
bosh:OUT_QUEUE processed IQ ping 4
bosh:OUT_QUEUE processed IQ custom 2
bosh:OUT_QUEUE processed IQ not-yet-supported 2
bosh:OUT_QUEUE processed IQ command 282
bosh:OUT_QUEUE processed IQ jabber:iq:version 2
bosh:OUT_QUEUE processed IQ bind 30
bosh:OUT_QUEUE processed IQ jabber:iq:register 6
bosh:OUT_QUEUE processed IQ vCard 6
bosh:OUT_QUEUE processed IQ jabber:iq:private 14
bosh:OUT_QUEUE processed IQ http://jabber.org/protocol/disco#info 2
bosh:OUT_QUEUE processed total IQ 392
bosh:Open connections 1
bosh:Bytes sent 310135
bosh:Bytes received 76211
c2s:Last minute packets 19
c2s:Processing threads 8
c2s:Packets received 75
c2s:Packets sent 69
c2s:IN_QUEUE processed messages 4
c2s:IN_QUEUE processed presences 1
c2s:IN_QUEUE processed other 52
c2s:IN_QUEUE processed IQ no XMLNS 3
c2s:IN_QUEUE processed IQ jabber:iq:version 2
c2s:IN_QUEUE processed IQ bind 5
c2s:IN_QUEUE processed IQ jabber:iq:register 3
c2s:IN_QUEUE processed IQ command 32
c2s:IN_QUEUE processed total IQ 45
c2s:OUT_QUEUE processed messages 4
c2s:OUT_QUEUE processed presences 1
c2s:OUT_QUEUE processed other 64
c2s:OUT_QUEUE processed IQ jabber:iq:version 2
c2s:OUT_QUEUE processed IQ bind 5
c2s:OUT_QUEUE processed IQ jabber:iq:register 6
c2s:OUT_QUEUE processed IQ command 44
c2s:OUT_QUEUE processed total IQ 57
c2s:Open connections 2
c2s:Bytes sent 27694
c2s:Bytes received 4096
cl-comp:Processing threads 16
cl-comp:Watchdog runs 5
cl-comp:Last day disconnects [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
cl-comp:Last hour disconnects [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
cl-comp:Average compression ratio NaN
cl-comp:Average decompression ratio NaN
echo:Processing threads 1
eventbus:Processing threads 1
ext:Processing threads 8
monitor:Processing threads 1
muc:Processing threads 8
pubsub:Processing threads 8
pubsub:cache/hit-miss ratio per minute 0.0
pubsub:cache/hit-miss ratio per second 0.0
s2s:Processing threads 8
sess-man:Last second packets 6
sess-man:Last minute packets 46
sess-man:Processing threads 32
sess-man:Packets received 538
sess-man:Packets sent 600
sess-man:Average processing time on last 100 runs [ms] 2
sess-man:IN_QUEUE processed messages 22
sess-man:IN_QUEUE processed presences 11
sess-man:IN_QUEUE processed other 505
sess-man:IN_QUEUE processed IQ no XMLNS 4
sess-man:IN_QUEUE processed IQ jabber:iq:agents 2
sess-man:IN_QUEUE processed IQ http://jabber.org/protocol/disco#items 4
sess-man:IN_QUEUE processed IQ jabber:iq:roster 26
sess-man:IN_QUEUE processed IQ jabber:iq:auth 8
sess-man:IN_QUEUE processed IQ ping 4
sess-man:IN_QUEUE processed IQ custom 4
sess-man:IN_QUEUE processed IQ not-yet-supported 2
sess-man:IN_QUEUE processed IQ command 331
sess-man:IN_QUEUE processed IQ jabber:iq:version 4
sess-man:IN_QUEUE processed IQ bind 35
sess-man:IN_QUEUE processed IQ jabber:iq:register 12
sess-man:IN_QUEUE processed IQ vCard 6
sess-man:IN_QUEUE processed IQ jabber:iq:roster-load 6
sess-man:IN_QUEUE processed IQ jabber:iq:private 14
sess-man:IN_QUEUE processed IQ http://jabber.org/protocol/disco#info 4
sess-man:IN_QUEUE processed total IQ 466
sess-man:OUT_QUEUE processed messages 24
sess-man:OUT_QUEUE processed presences 11
sess-man:OUT_QUEUE processed other 565
sess-man:OUT_QUEUE processed IQ no XMLNS 212
sess-man:OUT_QUEUE processed IQ jabber:iq:agents 2
sess-man:OUT_QUEUE processed IQ http://jabber.org/protocol/disco#items 4
sess-man:OUT_QUEUE processed IQ jabber:iq:roster 42
sess-man:OUT_QUEUE processed IQ jabber:iq:auth 4
sess-man:OUT_QUEUE processed IQ custom 4
sess-man:OUT_QUEUE processed IQ not-yet-supported 2
sess-man:OUT_QUEUE processed IQ command 188
sess-man:OUT_QUEUE processed IQ jabber:iq:version 4
sess-man:OUT_QUEUE processed IQ bind 35
sess-man:OUT_QUEUE processed IQ jabber:iq:register 5
sess-man:OUT_QUEUE processed IQ vCard 4
sess-man:OUT_QUEUE processed IQ jabber:iq:roster-load 6
sess-man:OUT_QUEUE processed IQ jabber:iq:private 10
sess-man:OUT_QUEUE processed IQ http://jabber.org/protocol/disco#info 4
sess-man:OUT_QUEUE processed total IQ 526
sess-man:Open user connections 3
sess-man:Maximum user connections 4
sess-man:Total user connections 52
sess-man:Closed user connections 38
sess-man:Open user sessions 3
sess-man:Maximum user sessions 4
sess-man:Total user sessions 23
sess-man:Maximum user sessions today 4
presence-state:Users status changes 6
srecv:Processing threads 1
ws2s:Processing threads 8
unknown:Stats level FINER