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

Test start time: Mar 25, 2008 10:06:06 PM

Server version info:

Name:  Tigase
Version:  3.3.2-b889
OS:  Mac OS X-x86_64-10.5.2, Java HotSpot(TM) 64-Bit Server VM-1.6.0_04-b12-45-optimized-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:auth-repo-class tigase.db.jdbc.JDBCRepository
sess-man:auth-repo-params/param-1 value-1
sess-man:auth-repo-url jdbc:postgresql://localhost/tigasetest?user=tigase
sess-man:def-hostname test-d
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-d, admin@test-domain
sess-man:user-repo-class tigase.db.jdbc.JDBCRepository
sess-man:user-repo-params/param-1 value-1
sess-man:user-repo-url jdbc:postgresql://localhost/tigasetest?user=tigase

Tests results:

Test name Result Total time OK Average Description History
Version success 0 sec 1 73 ms Get server version Version
Configuration success 0 sec 1 46 ms Server configuration Configuration
Statistics success 0 sec 1 46 ms Server statistics Statistics
Test 1 success 0 sec 1 1 ms Plain socket connect. Test 1
Test 2 success 0 sec 1 8 ms Stream open to server. Test 2
Test 3 success 0 sec 1 17 ms SSL socket connect. Test 3
Test 4 success 0 sec 1 31 ms XEP-0077 - In-Band Registration, register Test 4
Test 5 success 0 sec 1 9 ms XEP-0078 Non-SASL authorization with plain password. Test 5
Test 6 success 0 sec 1 12 ms XEP-0078 Non-SASL authorization with digest password. Test 6
Test 7 success 0 sec 1 47 ms TLS connection open Test 7
Test 8 success 0 sec 1 55 ms SASL authorization Test 8
Test 9 success 0 sec 1 74 ms XMPP resource bind Test 9
Test 10 success 0 sec 1 44 ms Establish XMPP session Test 10
Test 11 success 0 sec 1 57 ms Send a message to self user and don't wait for response Test 11
Test 12 success 0 sec 1 157 ms Send a message to all-xmpp-test_1 user Test 12
Test 13 success 0 sec 1 13 ms XEP-0092 - get entity version Test 13
Test 14 success 0 sec 1 24 ms XEP-0039 Statistics Gathering Test 14
Test 15 success 0 sec 1 351 ms Roster management test Test 15
Test 16 success 0 sec 1 308 ms Privacy lists management test Test 16
Test 17 success 0 sec 1 18 ms Privacy lists - send a message to blocking-test-user_1 user Test 17
Test 18 success 0 sec 1 40 ms Send a message to long-list-user_1 user Test 18
Test 19 success 0 sec 1 58 ms XEP-0049: Private XML Storage Test 19
Test 20 success 0 sec 1 14 ms Test for feature-not-implemented error which should be returned when client sends unsupported stanza Test 20
Test 21 success 0 sec 1 71 ms XEP-0054: vcard-temp Test 21
Test 22 success 0 sec 1 13 ms XEP-0199: XMPP Ping Test 22
Test 23 success 0 sec 1 22 ms XEP-0030: XMPP Service Discovery Test 23
Test end success 0 sec 1 64 ms XEP-0077 - In-Band Registration - user unregister Test end
Multi 1 success 0 sec 25 13 ms Multi-thread test of server Version info Multi 1
Multi 2 success 3 sec 25 124 ms Multi-thread test of XEP-0077 - In-Band Registration, user register Multi 2
Multi 3 success 1 sec 25 71 ms Multi-thread test of server Statistics info Multi 3
Multi 4 success 8 sec 25 355 ms Multi-thread test Roster management functions Multi 4
Multi 5 success 0 sec 25 34 ms Multi-thread test of message send to daemon user Multi 5
Multi 6 success 17 sec 25 712 ms Multi-thread test privacy lists management Multi 6
Multi 7 success 0 sec 25 27 ms Multi-thread test privacy lists - send a message to daemon user who blocks all messages Multi 7
Multi 8 success 0 sec 25 26 ms Multi-thread test privacy lists - send a message to daemon user with very long privacy list Multi 8
Multi-test end success 1 sec 25 60 ms Multi-thread test of XEP-0077 - In-Band Registration, user unregister Multi-test end

Test end time: Mar 25, 2008 10:06:22 PM

Total test time: 0 hours, 0 minutes, 16 seconds, 548 ms.

Server stats after test:

message-router:Last second packets 353
message-router:Last minute packets 0
message-router:Last hour packets 0
message-router:Packets received 3917
message-router:Queue size 0
message-router:Queue overflow 0
message-router:Uptime 33 sec
message-router:Max JVM mem 502464512
message-router:Total JVM mem 100663296
message-router:Free JVM mem 69769088
bosh:Last second packets 0
bosh:Last minute packets 0
bosh:Last hour packets 0
bosh:Packets received 0
bosh:Queue size 0
bosh:Queue overflow 0
bosh:Open connections 0
c2s:Last second packets 453
c2s:Last minute packets 0
c2s:Last hour packets 0
c2s:Packets received 3689
c2s:Queue size 0
c2s:Queue overflow 0
c2s:Open connections 4
s2s:Last second packets 0
s2s:Last minute packets 0
s2s:Last hour packets 0
s2s:Packets received 1
s2s:Queue size 0
s2s:Queue overflow 0
s2s:Open connections 0
s2s:Open s2s connections 0
s2s:Packets queued 1
s2s:Connecting s2s connections 1
s2s:Handshaking s2s connections 0
s2s:Packets queued for each connection null
s2s:s2s connections null
sess-man:Last second packets 920
sess-man:Last minute packets 0
sess-man:Last hour packets 0
sess-man:Packets received 4018
sess-man:Queue size 0
sess-man:Queue overflow 0
sess-man:Open connections 5
sess-man:Registered accounts 6
sess-man:Open authorized sessions 6
sess-man:Closed connections 258
srecv:Last second packets 0
srecv:Last minute packets 0
srecv:Last hour packets 0
srecv:Packets received 1
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