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. Multi-threaded tests for various XMPP functions

Test start time: Nov 15, 2008 10:51:29 AM

Server version info:

Name:  Tigase
Version:  4.0.1-b1229
OS:  Mac OS X-x86_64-10.5.5, Java HotSpot(TM) 64-Bit Server VM-1.6.0_07-b06-57-Apple Inc.
    
Local IP:  127.0.0.1
Remote IP:  127.0.0.1

Server basic configuration parameters:

sess-man:admins admin@test-d
sess-man:anonymous-domains test-d, test-domain
sess-man:auth-repo-class tigase.db.jdbc.JDBCRepository
sess-man:auth-repo-params/param-1 value-1
sess-man:auth-repo-url jdbc:derby:tigasetest
sess-man:component-id sess-man@devel.tigase.org
sess-man:def-hostname devel.tigase.org
sess-man:hostnames test-d, test-domain
sess-man:max-queue-size 10000
sess-man:plugins 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, roster-presence, jabber:iq:privacy, jabber:iq:version, http://jabber.org/protocol/stats, starttls, msgoffline, vcard-temp, http://jabber.org/protocol/commands, jabber:iq:private, urn:xmpp:ping
sess-man:trusted admin@test.test-d
sess-man:user-repo-class tigase.db.jdbc.JDBCRepository
sess-man:user-repo-params/param-1 value-1
sess-man:user-repo-url jdbc:derby:tigasetest

Tests results:

Test name Result Total time OK Average Description History
Version success 0 sec 1 43 ms Get server version Version
Configuration success 0 sec 1 77 ms Server configuration Configuration
Statistics success 0 sec 1 187 ms Server statistics Statistics
Test 1 success 0 sec 1 1 ms Plain socket connect. Test 1
Test 2 success 0 sec 1 11 ms Stream open to server. Test 2
Test 3 success 0 sec 1 501 ms SSL socket connect. Test 3
Test 4 success 0 sec 1 74 ms XEP-0077 - In-Band Registration, register Test 4
Test 5 success 0 sec 1 17 ms XEP-0078 Non-SASL authorization with plain password. Test 5
Test 6 success 0 sec 1 45 ms XEP-0078 Non-SASL authorization with digest password. Test 6
Test 7 success 0 sec 1 68 ms TLS connection open Test 7
Test 8 success 0 sec 1 100 ms SASL authorization Test 8
Test 9 success 0 sec 1 69 ms XMPP resource bind Test 9
Test 10 success 0 sec 1 61 ms Establish XMPP session Test 10
Test 11 success 0 sec 1 66 ms Send a message to self user and don't wait for response Test 11
Test 12 success 0 sec 1 58 ms Send a message to all-xmpp-test_1 user Test 12
Test 13 success 0 sec 1 7 ms XEP-0092 - get entity version Test 13
Test 14 success 0 sec 1 74 ms XEP-0039 Statistics Gathering Test 14
Test 15 success 0 sec 1 378 ms Roster management test Test 15
Test 16 success 0 sec 1 890 ms Privacy lists management test Test 16
Test 17 success 0 sec 1 29 ms Privacy lists - send a message to blocking-test-user_1 user Test 17
Test 18 success 0 sec 1 61 ms Send a message to long-list-user_1 user Test 18
Test 19 success 0 sec 1 149 ms XEP-0049: Private XML Storage Test 19
Test 20 success 0 sec 1 57 ms Test for feature-not-implemented error which should be returned when client sends unsupported stanza Test 20
Test 21 success 0 sec 1 82 ms XEP-0054: vcard-temp Test 21
Test 22 success 0 sec 1 65 ms XEP-0199: XMPP Ping Test 22
Test 23 success 0 sec 1 99 ms XEP-0030: XMPP Service Discovery Test 23
Test 24 success 0 sec 2 284 ms Presence subscription test between 'admin' and 'all-xmpp-test'. Test 24
Test 25 success 0 sec 2 107 ms Presence cancel test between 'admin' and 'all-xmpp-test'. Test 25
Test 26 success 0 sec 2 199 ms Presence unsubscribe test between 'admin' and 'all-xmpp-test'. Test 26
Test 27 success 0 sec 2 203 ms Presence subscription between 'admin' and 'all-xmpp-test' again to prepare for the next test. Test 27
Test 28 success 0 sec 2 151 ms Remove subscribed contact 'all-xmpp-test' from the roster of the user 'admin', all subscriptions should be cancelled automatically by the server. Test 28
Test 29 success 0 sec 2 98 ms 2 user connections, each using a different resource. Test 29
Test 30 success 0 sec 2 131 ms Presence subscription deny test between 'admin' and 'all-xmpp-test'. Test 30
Test 31 success 0 sec 1 66 ms Send a message without resource binding and expect an error response. Test 31
Test 32 success 0 sec 1 112 ms USER_STATUS command test to ensure interoperability with Yate Test 32
Test 33 success 0 sec 1 9 ms USER_STATUS command test to ensure security, should receive forbidden error. Test 33
MUC Room create success 0 sec 1 138 ms Send room create presence request to MUC component. MUC Room create
Pubsub get version success 0 sec 1 44 ms Get version from the pubsub component. Pubsub get version
Pubsub create channel success 0 sec 1 127 ms Create a new channel in the pubsub component. Pubsub create channel
Test end success 0 sec 1 87 ms XEP-0077 - In-Band Registration - user unregister Test end
Bosh 1 success 0 sec 1 3 ms Socket connect. Bosh 1
Bosh 2 success 0 sec 1 60 ms Stream open to server. Bosh 2
Bosh 3 success 0 sec 1 296 ms XEP-0077 - In-Band Registration, register Bosh 3
Bosh 4 success 0 sec 1 94 ms XEP-0078 Non-SASL authorization with plain password. Bosh 4
Bosh 5 success 0 sec 1 46 ms SASL authorization Bosh 5
Bosh 6 success 0 sec 1 66 ms XMPP resource bind Bosh 6
Bosh 7 success 0 sec 1 80 ms Establish XMPP session Bosh 7
Bosh 8 success 0 sec 1 132 ms Send a message to self user and don't wait for response Bosh 8
Bosh 9 success 0 sec 1 68 ms Send a message to all-xmpp-test_1 user Bosh 9
Bosh 10 success 0 sec 1 30 ms XEP-0092 - get entity version Bosh 10
Bosh 11 success 0 sec 1 80 ms XEP-0039 Statistics Gathering Bosh 11
Bosh 12 success 0 sec 1 152 ms Roster management test Bosh 12
Bosh 13 success 0 sec 1 458 ms Privacy lists management test Bosh 13
Bosh 14 success 0 sec 1 27 ms Privacy lists - send a message to blocking-test-user_1 user Bosh 14
Bosh 15 success 0 sec 1 70 ms Send a message to long-list-user_1 user Bosh 15
Bosh 16 success 0 sec 1 83 ms XEP-0049: Private XML Storage Bosh 16
Bosh 17 success 0 sec 1 28 ms Test for feature-not-implemented error which should be returned when client sends unsupported stanza Bosh 17
Bosh 18 success 0 sec 1 120 ms XEP-0054: vcard-temp Bosh 18
Bosh 19 success 0 sec 1 51 ms XEP-0199: XMPP Ping Bosh 19
Bosh 20 success 0 sec 1 38 ms XEP-0030: XMPP Service Discovery Bosh 20
Bosh 21 success 0 sec 2 173 ms Presence subscription test between 'admin' and 'all-xmpp-test'. Bosh 21
Bosh 22 success 0 sec 2 81 ms Presence cancel test between 'admin' and 'all-xmpp-test'. Bosh 22
Bosh 23 success 0 sec 2 118 ms Presence unsubscribe test between 'admin' and 'all-xmpp-test'. Bosh 23
Bosh 24 success 0 sec 2 248 ms Presence subscription between 'admin' and 'all-xmpp-test' again to prepare for the next test. Bosh 24
Bosh 25 success 0 sec 2 89 ms Remove subscribed contact 'all-xmpp-test' from the roster of the user 'admin', all subscriptions should be cancelled automatically by the server. Bosh 25
Bosh 26 success 0 sec 2 60 ms 2 user connections, each using a different resource. Bosh 26
Bosh 27 success 0 sec 2 40 ms Mixed, one connectiob via Bosh another standard c2s, each using a different resource. Bosh 27
Bosh 28 success 0 sec 2 131 ms Presence subscription deny test between 'admin' and 'all-xmpp-test'. Bosh 28
Bosh 29 success 0 sec 1 21 ms Send a message without resource binding and expect an error response. Bosh 29
Bosh end success 0 sec 1 99 ms XEP-0077 - In-Band Registration - user unregister Bosh end
Multi 1 success 3 sec 25 153 ms Multi-thread test of XEP-0077 - In-Band Registration, user register Multi 1
Multi 2 success 0 sec 25 21 ms Multi-thread test of server Version info Multi 2
Multi 3 success 5 sec 25 218 ms Multi-thread test of server Statistics info Multi 3
Multi 4 success 9 sec 25 398 ms Multi-thread test Roster management functions Multi 4
Multi 5 success 1 sec 25 77 ms Multi-thread test of message send to daemon user Multi 5
Multi 6 success 37 sec 25 1510 ms Multi-thread test privacy lists management Multi 6
Multi 7 success 3 sec 25 122 ms Multi-thread test privacy lists - send a message to daemon user who blocks all messages Multi 7
Multi 8 success 2 sec 25 111 ms Multi-thread test privacy lists - send a message to daemon user with very long privacy list Multi 8
Multi-test end success 4 sec 25 196 ms Multi-thread test of XEP-0077 - In-Band Registration, user unregister Multi-test end

Test end time: Nov 15, 2008 10:52:08 AM

Total test time: 0 hours, 0 minutes, 38 seconds, 702 ms.

Server stats after test:

message-router:Last second packets 705
message-router:Last minute packets 0
message-router:Last hour packets 0
message-router:Packets received 5953
message-router:Queue size 0
message-router:Queue overflow 0
message-router:Uptime 57 sec
message-router:Max JVM mem 502464512
message-router:Total JVM mem 100728832
message-router:Free JVM mem 79286584
bosh:Last second packets 0
bosh:Last minute packets 0
bosh:Last hour packets 0
bosh:Packets received 644
bosh:Queue size 0
bosh:Queue overflow 0
bosh:Open connections 0
c2s:Last second packets 458
c2s:Last minute packets 0
c2s:Last hour packets 0
c2s:Packets received 5017
c2s:Queue size 0
c2s:Queue overflow 0
c2s:Open connections 4
ext-comp:Last second packets 0
ext-comp:Last minute packets 0
ext-comp:Last hour packets 0
ext-comp:Packets received 8
ext-comp:Queue size 0
ext-comp:Queue overflow 0
ext-comp:Open connections 0
muc:Last second packets 0
muc:Last minute packets 0
muc:Last hour packets 0
muc:Packets received 3
muc:Queue size 0
muc:Queue overflow 0
pubsub:Last second packets 0
pubsub:Last minute packets 0
pubsub:Last hour packets 0
pubsub:Packets received 4
pubsub:Queue size 0
pubsub:Queue overflow 0
s2s:Last second packets 0
s2s:Last minute packets 0
s2s:Last hour packets 0
s2s:Packets received 2
s2s:Queue size 0
s2s:Queue overflow 0
s2s:Open connections 0
s2s:Open s2s connections 0
s2s:Packets queued 0
s2s:Connected servers 0
s2s:Connection instances 1
sess-man:Last second packets 458
sess-man:Last minute packets 0
sess-man:Last hour packets 0
sess-man:Packets received 6089
sess-man:Queue size 0
sess-man:Queue overflow 0
sess-man:Open connections 5
sess-man:Registered accounts 9
sess-man:Open authorized sessions 6
sess-man:Closed connections 348
srecv:Last second packets 0
srecv:Last minute packets 0
srecv:Last hour packets 0
srecv:Packets received 2
srecv:Queue size 0
srecv:Queue overflow 0
ssend:Last second packets 0
ssend:Last minute packets 0
ssend:Last hour packets 0
ssend:Packets received 0
ssend:Queue size 0
ssend:Queue overflow 0
unknown:Stats level FINEST