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: May 07, 2007 15:13:22

Server version info:

Name:  Tigase
Version:  2.8.6-b434
OS:  Linux-i386-2.6.20-gentoo, Java HotSpot(TM) Server VM-1.6.0-b105-Sun Microsystems Inc.
    
Local IP:  192.168.0.13
Remote IP:  192.168.0.13

Server basic configuration parameters:

sess_man:auth-repo-url jdbc:mysql://localhost/tigasetest?user=tigase&password=mypass
sess_man:auth-repo-class tigase.db.jdbc.JDBCRepository
sess_man: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, 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:admins admin@test-d, admin@test-domain
sess_man:user-repo-class tigase.db.jdbc.JDBCRepository
sess_man:max-queue-size 1000
sess_man:hostnames test-d, test-domain
sess_man:user-repo-url jdbc:mysql://localhost/tigasetest?user=tigase&password=mypass

Tests results:

Test name Result Total time OK Average Description History
Version success 0 sec 1 190 ms Get server version Version
Configuration success 0 sec 1 60 ms Server configuration Configuration
Statistics success 0 sec 1 50 ms Server statistics Statistics
Test 1 success 0 sec 1 0 ms Plain socket connect. Test 1
Test 2 success 0 sec 1 60 ms Stream open to server. Test 2
Test 3 success 0 sec 1 160 ms SSL socket connect. Test 3
Test 4 success 0 sec 1 40 ms XEP-0077 - In-Band Registration, register Test 4
Test 5 success 0 sec 1 40 ms XEP-0078 Non-SASL authorization with plain password. Test 5
Test 6 success 0 sec 1 50 ms XEP-0078 Non-SASL authorization with digest password. Test 6
Test 7 success 0 sec 1 150 ms TLS connection open Test 7
Test 8 success 0 sec 1 220 ms SASL authorization Test 8
Test 9 success 0 sec 1 220 ms XMPP resource bind Test 9
Test 10 success 0 sec 1 220 ms Establish XMPP session Test 10
Test 11 success 0 sec 1 60 ms Send a message to self user and don't wait for response Test 11
Test 12 success 0 sec 1 130 ms Send a message to all-xmpp-test_1 user Test 12
Test 13 success 0 sec 1 20 ms XEP-0092 - get entity version Test 13
Test 14 success 0 sec 1 30 ms XEP-0039 Statistics Gathering Test 14
Test 15 success 0 sec 1 140 ms Roster management test Test 15
Test 16 success 0 sec 1 210 ms Privacy lists management test Test 16
Test 17 success 0 sec 1 20 ms Privacy lists - send a message to blocking-test-user_1 user Test 17
Test 18 success 0 sec 1 30 ms Send a message to long-list-user_1 user Test 18
Test 19 success 0 sec 1 80 ms XEP-0049: Private XML Storage Test 19
Test 20 success 0 sec 1 70 ms Test for feature-not-implemented error which should be returned when client sends unsupported stanza Test 20
Test 21 success 0 sec 1 90 ms XEP-0054: vcard-temp Test 21
Test 22 success 0 sec 1 50 ms XEP-0199: XMPP Ping Test 22
Test 23 success 0 sec 1 50 ms XEP-0030: XMPP Service Discovery Test 23
Test end success 0 sec 1 20 ms XEP-0077 - In-Band Registration - user unregister Test end
Multi 1 success 1 sec 25 51 ms Multi-thread test of server Version info Multi 1
Multi 2 success 2 sec 25 101 ms Multi-thread test of XEP-0077 - In-Band Registration, user register Multi 2
Multi 3 success 2 sec 25 119 ms Multi-thread test of server Statistics info Multi 3
Multi 4 success 8 sec 25 337 ms Multi-thread test Roster management functions Multi 4
Multi 5 success 1 sec 25 75 ms Multi-thread test of message send to daemon user Multi 5
Multi 6 success 10 sec 25 439 ms Multi-thread test privacy lists management Multi 6
Multi 7 success 1 sec 25 49 ms Multi-thread test privacy lists - send a message to daemon user who blocks all messages Multi 7
Multi 8 success 1 sec 25 56 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 42 ms Multi-thread test of XEP-0077 - In-Band Registration, user unregister Multi-test end

Test end time: 07-May-2007 15:13:45

Total test time: 0 hours, 0 minutes, 22 seconds, 570 ms.

Server stats after test:

s2s:Queue size 0
s2s:Packets received 0
s2s:Queue overflow 0
s2s:Open connections 0
s2s:Open s2s connections 0
s2s:Packets queued 0
s2s:Connecting s2s connections 0
s2s:Handshaking s2s connections 0
s2s:s2s connections null
c2s:Queue size 0
c2s:Packets received 3635
c2s:Queue overflow 0
c2s:Open connections 4
sess_man:Queue size 0
sess_man:Packets received 3966
sess_man:Queue overflow 0
sess_man:Open connections 6
sess_man:Open authorized sessions 6
sess_man:Closed connections 258
tigase-xmpp-server:Queue size 0
tigase-xmpp-server:Packets received 3802
tigase-xmpp-server:Queue overflow 0
tigase-xmpp-server:Uptime 29 sec