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: Oct 22, 2017 5:27:53 PM

Server version info:

Name:  Tigase
Version:  8.0.0-SNAPSHOT-b5032/8ec9b82b (2017-10-22/13:11:21)
OS:  Linux-amd64-3.5.0-23-generic, Java HotSpot(TM) 64-Bit Server VM-25.66-b17-Oracle Corporation
    
Local IP:  127.0.0.1
Remote IP:  127.0.0.1

Tests results:

Test name Result Total time OK Average Description History
Version success 0 sec 1 66 ms Get server version Version
Configuration FAILURE 0 sec 0 0 ms Server configuration Configuration
Statistics success 0 sec 1 96 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 113 ms XEP-0077 - In-Band Registration, register Basic 2 (c2s)
Basic 3 (c2s) success 0 sec 1 109 ms XEP-0077 - In-Band Registration - user unregister Basic 3 (c2s)
Basic 4 (c2s) FAILURE 0 sec 0 0 ms XEP-0078 Non-SASL authorization with plain password. Basic 4 (c2s)
Basic 5 (c2s) FAILURE 0 sec 0 0 ms XEP-0078 Non-SASL authorization with digest password. Basic 5 (c2s)
Basic 6 (c2s) success 0 sec 1 148 ms Send a message to self user and don't wait for response Basic 6 (c2s)
Basic 7 (c2s) success 0 sec 1 117 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 72 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 58 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 62 ms XEP-0092 - get entity version Basic 10 (c2s)
Basic 11 (c2s) success 0 sec 1 71 ms XEP-0039 Statistics Gathering Basic 11 (c2s)
Basic 12 (c2s) success 0 sec 1 416 ms Roster management test Basic 12 (c2s)
Basic 13 (c2s) success 0 sec 1 101 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 103 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 145 ms XEP-0054: vcard-temp Basic 16 (c2s)
Basic 17 (c2s) success 0 sec 1 56 ms XEP-0199: XMPP Ping to domain 'test-d' the user is logged in Basic 17 (c2s)
Basic 18 (c2s) success 0 sec 1 57 ms XEP-0199: XMPP Ping to another, vrtual domain 'test-domain' on the server Basic 18 (c2s)
Basic 19 (c2s) success 0 sec 1 60 ms XEP-0030: XMPP Service Discovery Basic 19 (c2s)
Basic 20 (c2s) success 0 sec 1 51 ms Send a message without resource binding and expect an error response. Basic 20 (c2s)
Basic 21 (c2s) success 0 sec 1 312 ms Bug #431 - XMLUtil encoding problem: https://projects.tigase.org/issues/431 Basic 21 (c2s)
SSL 1 (c2s) success 0 sec 1 541 ms SSL socket connect. SSL 1 (c2s)
TLS 1 (c2s) success 0 sec 1 197 ms TLS connection open TLS 1 (c2s)
TLS 2 (c2s) success 0 sec 1 202 ms SASL authorization TLS 2 (c2s)
TLS 3 (c2s) success 0 sec 1 188 ms XMPP resource bind TLS 3 (c2s)
TLS 4 (c2s) success 0 sec 1 200 ms Establish XMPP session TLS 4 (c2s)
TLS Required 1 (c2s) success 0 sec 1 6 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 264 ms XEP-0077 - In-Band Registration, for domain requiring TLS with TLS activation, expecting success. TLS Required 2 (c2s)
Packet Order 1 (c2s) FAILURE 0 sec 0 0 ms Packet order test Packet Order 1 (c2s)
Packet Order 2 (c2s) FAILURE 0 sec 0 0 ms Packet order test Packet Order 2 (c2s)
Packet Order 3 (c2s) FAILURE 0 sec 0 0 ms Packet order test Packet Order 3 (c2s)
Packet Order 4 (c2s) FAILURE 0 sec 0 0 ms Packet order test Packet Order 4 (c2s)
Packet Order 5 (c2s) FAILURE 0 sec 0 0 ms Packet order test Packet Order 5 (c2s)
Privacy 1 (c2s) success 0 sec 1 173 ms Privacy lists management test Privacy 1 (c2s)
Privacy 2 (c2s) success 0 sec 1 66 ms Privacy lists - send a message to blocking-test-user_1 user Privacy 2 (c2s)
Privacy 3 (c2s) success 0 sec 1 100 ms Send a message to long-list-user_1 user Privacy 3 (c2s)
Presence 1 (c2s) success 1 sec 2 362 ms Presence subscription test between 'admin' and 'all-xmpp-test'. Presence 1 (c2s)
Presence 2 (c2s) success 0 sec 2 228 ms Presence cancel test between 'admin' and 'all-xmpp-test'. Presence 2 (c2s)
Presence 3 (c2s) success 1 sec 2 310 ms Presence unsubscribe test between 'admin' and 'all-xmpp-test'. Presence 3 (c2s)
Presence 4 (c2s) success 1 sec 2 355 ms Presence subscription between 'admin' and 'all-xmpp-test' again to prepare for the next test. Presence 4 (c2s)
Presence 5 (c2s) success 1 sec 2 355 ms Remove subscribed contact 'all-xmpp-test' from the roster of the user 'admin', all subscriptions should be cancelled automatically by the server. Presence 5 (c2s)
Presence 6 (c2s) success 0 sec 2 203 ms 2 user connections, each using a different resource. Presence 6 (c2s)
Presence 7 (c2s) success 1 sec 2 299 ms Presence subscription deny test between 'admin' and 'all-xmpp-test'. Presence 7 (c2s)
User Status 1 (c2s) success 0 sec 1 30 ms USER_STATUS command test to ensure interoperability with Yate User Status 1 (c2s)
User Status 2 (c2s) success 0 sec 1 8 ms USER_STATUS command test to ensure security, should receive forbidden error. User Status 2 (c2s)
Dynamic Roster 1 (c2s) success 0 sec 1 58 ms Dynamic roster storage test Dynamic Roster 1 (c2s)
Dynamic Roster 2 (c2s) success 0 sec 1 173 ms Dynamic roster merge test Dynamic Roster 2 (c2s)
Test IO (c2s) success 0 sec 10 61 ms Checking Tigase IO subsystem Test IO (c2s)
Load 1 (c2s) success 0 sec 1 55 ms Check whether the tester user account responds Load 1 (c2s)
Load 10 (c2s) success 0 sec 1 58 ms Send a command to tester_1 user to generate 10 messages on the server. Load 10 (c2s)
Load 100 (c2s) success 0 sec 1 58 ms Send a command to tester_1 user to generate 100 messages on the server. Load 100 (c2s)
Load 1000 (c2s) success 0 sec 1 206 ms Send a command to tester_1 user to generate 1000 messages on the server. Load 1000 (c2s)
Load 10000 (c2s) success 2 sec 1 2492 ms Send a command to tester_1 user to generate 10000 messages on the server. Load 10000 (c2s)
Load 100000 (c2s) success 41 sec 1 11015 ms Send a command to tester_1 user to generate 100000 messages on the server. Load 100000 (c2s)
MUC 1 (c2s) success 0 sec 1 69 ms Send room create presence request to MUC component. MUC 1 (c2s)
PubSub 1 (c2s) success 0 sec 1 54 ms Get version from the pubsub component. PubSub 1 (c2s)
PubSub 2 (c2s) success 0 sec 1 157 ms Create a new node in the pubsub component. PubSub 2 (c2s)
PubSub 3 (c2s) success 0 sec 1 61 ms Add subscriptions to the node in the pubsub component. PubSub 3 (c2s)
PubSub 4 (c2s) success 0 sec 1 64 ms Add affiliations to the node in the pubsub component. PubSub 4 (c2s)
PubSub 5 (c2s) success 0 sec 1 143 ms Create a collection node in the pubsub component. PubSub 5 (c2s)
VHost 1 (c2s) success 0 sec 1 49 ms XEP-0199: XMPP Ping to virtual domain 'test-domain' on the server VHost 1 (c2s)
VHost 2 (c2s) success 0 sec 1 51 ms Reloading VHosts from non-admin account, expecting error message VHost 2 (c2s)
VHost 3 (c2s) success 0 sec 1 110 ms Updating VHost from non-admin account, expecting error message VHost 3 (c2s)
VHost 4 (c2s) success 0 sec 1 65 ms Removing VHost from non-admin account, expecting error message VHost 4 (c2s)
VHost 5 (c2s) success 0 sec 1 70 ms Reloading VHosts from admin account... VHost 5 (c2s)
VHost 6 (c2s) success 1 sec 1 1036 ms XEP-0199: XMPP Ping to virtual domain 'vhost-1' which is not on the server, expecting error response VHost 6 (c2s)
VHost 7 (c2s) success 0 sec 1 84 ms Adding VHost 'vhost-1' from admin account VHost 7 (c2s)
VHost 8 (c2s) success 0 sec 1 49 ms XEP-0199: XMPP Ping to virtual domain 'vhost-1' on the server VHost 8 (c2s)
VHost 9 (c2s) success 0 sec 1 61 ms Removing VHost 'vhost-1' from admin account VHost 9 (c2s)
VHost 10 (c2s) success 0 sec 1 53 ms XEP-0199: XMPP Ping to virtual domain 'vhost-1' which is not on the server, expecting error response VHost 10 (c2s)
VHost 11 (c2s) success 857 sec 200 4286 ms XEP-0199: XMPP Ping 200 non-existen vhosts on the server, expecting error responses VHost 11 (c2s)
VHost 12 (c2s) success 8 sec 200 38 ms Adding 200 virtual hosts from admin account VHost 12 (c2s)
VHost 13 (c2s) success 0 sec 200 1 ms XEP-0199: XMPP Ping all 200 virtual hosts on the server VHost 13 (c2s)
VHost 14 (c2s) success 0 sec 1 427 ms Reloading all VHosts from admin account... VHost 14 (c2s)
VHost 15 (c2s) success 14 sec 200 71 ms Removing 200 VHosts from admin account VHost 15 (c2s)