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
  7. Multi-threaded tests for various XMPP functions
  8. Script with functional tests for Administrator ad-hoc commands

Test start time: May 19, 2014 12:40:41 PM

Server version info:

Name:  Tigase
Version:  5.3.0-SNAPSHOT-b3554/fb4518b3 (2014-05-19/12:37:18)
OS:  Linux-amd64-3.5.0-23-generic, OpenJDK 64-Bit Server VM-24.45-b08-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/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, disco, domain-filter, zlib, amp, message-carbons
sess-man:sess-man/plugins-concurrency 
sess-man:sess-man/skip-privacy false
sess-man:sess-man/trusted admin@test.test-d
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/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 59 ms Get server version Version
Configuration success 0 sec 1 105 ms Server configuration Configuration
Statistics success 0 sec 1 101 ms Server statistics Statistics
Basic 1 (c2s) success 0 sec 1 6 ms Stream open to server. Basic 1 (c2s)
Basic 2 (c2s) success 0 sec 1 33 ms XEP-0077 - In-Band Registration, register Basic 2 (c2s)
Basic 3 (c2s) success 0 sec 1 98 ms XEP-0077 - In-Band Registration - user unregister Basic 3 (c2s)
Basic 4 (c2s) success 0 sec 1 21 ms XEP-0078 Non-SASL authorization with plain password. Basic 4 (c2s)
Basic 5 (c2s) success 0 sec 1 18 ms XEP-0078 Non-SASL authorization with digest password. Basic 5 (c2s)
Basic 6 (c2s) success 0 sec 1 74 ms Send a message to self user and don't wait for response Basic 6 (c2s)
Basic 7 (c2s) success 0 sec 1 119 ms Message send to correct/available full JID: all-xmpp-test_1@test-d/def-user-resource, expecting response Basic 7 (c2s)
Basic 8 (c2s) success 0 sec 1 70 ms Message send to correct/available bare JID: all-xmpp-test_1@test-d, expecting response Basic 8 (c2s)
Basic 9 (c2s) success 0 sec 1 68 ms IQ stanza send to incorrect/unavailable full JID: all-xmpp-test_1@test-d/wrong-resource, expecting error response Basic 9 (c2s)
Basic 10 (c2s) success 0 sec 1 9 ms XEP-0092 - get entity version Basic 10 (c2s)
Basic 11 (c2s) success 0 sec 1 102 ms XEP-0039 Statistics Gathering Basic 11 (c2s)
Basic 12 (c2s) success 0 sec 1 428 ms Roster management test Basic 12 (c2s)
Basic 13 (c2s) success 0 sec 1 113 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 (c2s)
Basic 14 (c2s) success 0 sec 1 101 ms XEP-0049: Private XML Storage Basic 14 (c2s)
Basic 15 (c2s) success 0 sec 1 59 ms Test for feature-not-implemented error which should be returned when client sends unsupported stanza Basic 15 (c2s)
Basic 16 (c2s) success 0 sec 1 136 ms XEP-0054: vcard-temp Basic 16 (c2s)
Basic 17 (c2s) success 0 sec 1 71 ms XEP-0199: XMPP Ping to domain 'test-d' the user is logged in Basic 17 (c2s)
Basic 18 (c2s) success 0 sec 1 59 ms XEP-0199: XMPP Ping to another, vrtual domain 'test-domain' on the server Basic 18 (c2s)
Basic 19 (c2s) success 0 sec 1 66 ms XEP-0030: XMPP Service Discovery Basic 19 (c2s)
Basic 20 (c2s) success 0 sec 1 54 ms Send a message without resource binding and expect an error response. Basic 20 (c2s)
Basic 21 (c2s) success 0 sec 1 307 ms Bug #431 - XMLUtil encoding problem: https://projects.tigase.org/issues/431 Basic 21 (c2s)
SSL 1 (c2s) success 0 sec 1 598 ms SSL socket connect. SSL 1 (c2s)
TLS 1 (c2s) success 0 sec 1 266 ms TLS connection open TLS 1 (c2s)
TLS 2 (c2s) success 0 sec 1 189 ms SASL authorization TLS 2 (c2s)
TLS 3 (c2s) success 0 sec 1 194 ms XMPP resource bind TLS 3 (c2s)
TLS 4 (c2s) success 0 sec 1 205 ms Establish XMPP session TLS 4 (c2s)
TLS Required 1 (c2s) success 0 sec 1 12 ms XEP-0077 - In-Band Registration, for domain requiring TLS but without TLS activation, expecting error. TLS Required 1 (c2s)
TLS Required 2 (c2s) success 0 sec 1 225 ms XEP-0077 - In-Band Registration, for domain requiring TLS with TLS activation, expecting success. TLS Required 2 (c2s)
Packet Order 1 (c2s) success 0 sec 1 209 ms Packet order test Packet Order 1 (c2s)
Packet Order 2 (c2s) success 0 sec 1 217 ms Packet order test Packet Order 2 (c2s)
Packet Order 3 (c2s) success 0 sec 1 229 ms Packet order test Packet Order 3 (c2s)
Packet Order 4 (c2s) success 0 sec 1 179 ms Packet order test Packet Order 4 (c2s)
Packet Order 5 (c2s) success 0 sec 1 217 ms Packet order test Packet Order 5 (c2s)
Privacy 1 (c2s) success 0 sec 1 296 ms Privacy lists management test Privacy 1 (c2s)
Privacy 2 (c2s) success 0 sec 1 54 ms Privacy lists - send a message to blocking-test-user_1 user Privacy 2 (c2s)
Privacy 3 (c2s) success 0 sec 1 61 ms Send a message to long-list-user_1 user Privacy 3 (c2s)