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: Feb 15, 2007 7:57:45 PM

Server version info:

Name:  Tigase
Version:  2.6.4-b295
OS:  Linux-i386-2.6.17-gentoo-r8, Java HotSpot(TM) Server VM-1.6.0-b105-Sun Microsystems Inc.
    
Local IP:  192.168.0.4
Remote IP:  192.168.0.4

Server basic configuration parameters:

session_1:hostnames dell-2
session_1:components 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, presence, msgoffline, jabber:iq:version, http://jabber.org/protocol/stats, starttls, disco, vcard-temp, http://jabber.org/protocol/commands
session_1:user-repo-url jdbc:mysql://localhost/tigasetest?user=root&password=mypass
session_1:auth-repo-url jdbc:mysql://localhost/tigasetest?user=root&password=mypass
session_1:user-repo-class tigase.db.jdbc.JDBCRepository
session_1:max-queue-size 1000
session_1:auth-repo-class tigase.db.jdbc.JDBCRepository
session_1:admins admin@dell-2

Tests results:

Test name Result Total time OK Average Description History
Version success 0 sec 1 189 ms Get server version Version
Configuration success 0 sec 1 72 ms Server configuration Configuration
Statistics success 0 sec 1 74 ms Server statistics Statistics
Test 1 success 0 sec 1 2 ms Plain socket connect. Test 1
Test 2 success 0 sec 1 5 ms Stream open to server. Test 2
Test 3 success 0 sec 1 124 ms SSL socket connect. Test 3
Test 4 success 0 sec 1 42 ms JEP-0077 - In-Band Registration, register Test 4
Test 5 success 0 sec 1 15 ms JEP-0078 Non-SASL authorization with plain password. Test 5
Test 6 success 0 sec 1 78 ms JEP-0078 Non-SASL authorization with digest password. Test 6
Test 7 success 0 sec 1 133 ms TLS connection open Test 7
Test 8 success 0 sec 1 185 ms SASL authorization Test 8
Test 9 success 0 sec 1 183 ms XMPP resource bind Test 9
Test 10 success 0 sec 1 233 ms Establish XMPP session Test 10
Test 11 success 0 sec 1 51 ms Send a message to self user and don't wait for response Test 11
Test 12 success 0 sec 1 60 ms Send a message to all-xmpp-test_1 user Test 12
Test 13 success 0 sec 1 7 ms JEP-0092 - get entity version Test 13
Test 14 success 0 sec 1 94 ms XEP-0039 Statistics Gathering Test 14
Test 15 success 0 sec 1 266 ms Roster management test Test 15
Test 16 success 0 sec 1 98 ms Privacy lists management test Test 16
Test 17 success 1 sec 1 1006 ms Privacy lists - send a message to blocking-test-user_1 user Test 17
Test 18 success 0 sec 1 28 ms Send a message to long-list-user_1 user Test 18
Test end success 0 sec 1 18 ms JEP-0077 - In-Band Registration - user unregister Test end
Multi 1 success 0 sec 25 27 ms Multi-thread test of server Version info Multi 1
Multi 2 success 1 sec 25 43 ms Multi-thread test of JEP-0077 - In-Band Registration, user register Multi 2
Multi 3 success 1 sec 25 40 ms Multi-thread test of server Statistics info Multi 3
Multi 4 success 6 sec 25 240 ms Multi-thread test Roster management functions Multi 4
Multi 5 success 1 sec 25 58 ms Multi-thread test of message send to daemon user Multi 5
Multi 6 success 11 sec 25 459 ms Multi-thread test privacy lists management Multi 6
Multi 7 success 26 sec 25 1042 ms Multi-thread test privacy lists - send a message to daemon user who blocks all messages Multi 7
Multi 8 success 1 sec 25 69 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 63 ms Multi-thread test of JEP-0077 - In-Band Registration, user unregister Multi-test end

Test end time: Feb 15, 2007 7:58:11 PM

Total test time: 0 hours, 0 minutes, 26 seconds, 195 ms.

Server stats after test:

server_1:Queue size 0
server_1:Messages received 0
server_1:Queue overflow 0
server_1:Open s2s connections 0
client_1:Queue size 0
client_1:Messages received 60974
client_1:Queue overflow 0
tigase-xmpp-server:Queue size 0
tigase-xmpp-server:Messages received 61135
tigase-xmpp-server:Queue overflow 0
session_1:Queue size 0
session_1:Messages received 61294
session_1:Queue overflow 0
session_1:Open connections 4
session_1:Open authorized sessions 4
session_1:Closed connections 256