Test duration : 9.520s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiUsingXML | ||
| configureNodes | 1.091s | 
            
            
                 
                            2023-03-27 22:29:43 |  
        2023-03-27 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:43 | ------------------------------------ 2023-03-27 22:29:43 | [Mutex] waiting for: [configured:node:node-d7202388-e552-4cda-aa55-3566e4456254:node-1d89e767-568c-400a-9580-4670128349bb] 2023-03-27 22:29:43 | [Mutex] received everything. 2023-03-27 22:29:43 | [Mutex] isItemNotified: configured:node:node-d7202388-e552-4cda-aa55-3566e4456254:node-1d89e767-568c-400a-9580-4670128349bb :: true 2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:b3e6c76a-5a72-4c20-b90c-a5596e697927:localhost] 2023-03-27 22:29:44 | [Mutex] received everything. 2023-03-27 22:29:44 | [Mutex] isItemNotified: received:node:b3e6c76a-5a72-4c20-b90c-a5596e697927:localhost:node-d7202388-e552-4cda-aa55-3566e4456254:Node d7202388-e552-4cda-aa55-3566e4456254 :: true 2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:2aa78b02-2c4e-4418-a90f-de1caf38854e:localhost] 2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:2aa78b02-2c4e-4418-a90f-de1caf38854e:localhost] 2023-03-27 22:29:44 | [Mutex] waiting for: [received:nodes:2aa78b02-2c4e-4418-a90f-de1caf38854e:localhost] 2023-03-27 22:29:44 | [Mutex] received everything. 2023-03-27 22:29:44 | [Mutex] isItemNotified: received:node:2aa78b02-2c4e-4418-a90f-de1caf38854e:localhost:node-d7202388-e552-4cda-aa55-3566e4456254:Node d7202388-e552-4cda-aa55-3566e4456254 :: false  | 
    
| createNodes | 1.369s | 
            
            
                 
                            2023-03-27 22:29:41 |  
        2023-03-27 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:41 | ------------------------------------ 2023-03-27 22:29:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d7202388-e552-4cda-aa55-3566e4456254</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d7202388-e552-4cda-aa55-3566e4456254</title></pubsub></data> 2023-03-27 22:29:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:6cb638ef-0313-4a2c-a735-8ce86072eae7:localhost] 2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:6cb638ef-0313-4a2c-a735-8ce86072eae7:localhost] 2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:6cb638ef-0313-4a2c-a735-8ce86072eae7:localhost] 2023-03-27 22:29:42 | [Mutex] waiting for: [received:nodes:6cb638ef-0313-4a2c-a735-8ce86072eae7:localhost] 2023-03-27 22:29:42 | [Mutex] received everything. 2023-03-27 22:29:42 | [Mutex] isItemNotified: received:node:6cb638ef-0313-4a2c-a735-8ce86072eae7:localhost:node-d7202388-e552-4cda-aa55-3566e4456254:Node d7202388-e552-4cda-aa55-3566e4456254 :: true  | 
    
| createSubnodes | 1.029s | 
            
            
                 
                            2023-03-27 22:29:42 |  
        2023-03-27 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:42 | ------------------------------------ 2023-03-27 22:29:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1d89e767-568c-400a-9580-4670128349bb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1d89e767-568c-400a-9580-4670128349bb</title></pubsub></data> 2023-03-27 22:29:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-27 22:29:43 | [Mutex] waiting for: [received:nodes:567050f6-975d-4833-bd07-cdef45b03c3d:localhost] 2023-03-27 22:29:43 | [Mutex] waiting for: [received:nodes:567050f6-975d-4833-bd07-cdef45b03c3d:localhost] 2023-03-27 22:29:43 | [Mutex] waiting for: [received:nodes:567050f6-975d-4833-bd07-cdef45b03c3d:localhost] 2023-03-27 22:29:43 | [Mutex] waiting for: [received:nodes:567050f6-975d-4833-bd07-cdef45b03c3d:localhost] 2023-03-27 22:29:43 | [Mutex] received everything. 2023-03-27 22:29:43 | [Mutex] isItemNotified: received:node:567050f6-975d-4833-bd07-cdef45b03c3d:localhost:node-1d89e767-568c-400a-9580-4670128349bb:Node 1d89e767-568c-400a-9580-4670128349bb :: true  | 
    
| deleteNodes | 1.018s | 
            
            
                 
                            2023-03-27 22:29:49 |  
        2023-03-27 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:49 | ------------------------------------ 2023-03-27 22:29:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1d89e767-568c-400a-9580-4670128349bb</node></data> 2023-03-27 22:29:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-27 22:29:50 | [Mutex] waiting for: [received:nodes:76c81ba2-bc79-4220-9eae-f74655da52b5:localhost] 2023-03-27 22:29:50 | [Mutex] waiting for: [received:nodes:76c81ba2-bc79-4220-9eae-f74655da52b5:localhost] 2023-03-27 22:29:50 | [Mutex] waiting for: [received:nodes:76c81ba2-bc79-4220-9eae-f74655da52b5:localhost] 2023-03-27 22:29:50 | [Mutex] received everything. 2023-03-27 22:29:50 | [Mutex] isItemNotified: received:node:76c81ba2-bc79-4220-9eae-f74655da52b5:localhost:node-1d89e767-568c-400a-9580-4670128349bb:Node 1d89e767-568c-400a-9580-4670128349bb :: false  | 
    
| deleteSubnodes | 1.152s | 
            
            
                 
                            2023-03-27 22:29:48 |  
        2023-03-27 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:48 | ------------------------------------ 2023-03-27 22:29:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d7202388-e552-4cda-aa55-3566e4456254</node></data> 2023-03-27 22:29:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:f47cc8cb-bea5-421c-9905-6cefd2cebed3:localhost] 2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:f47cc8cb-bea5-421c-9905-6cefd2cebed3:localhost] 2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:f47cc8cb-bea5-421c-9905-6cefd2cebed3:localhost] 2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:f47cc8cb-bea5-421c-9905-6cefd2cebed3:localhost] 2023-03-27 22:29:49 | [Mutex] received everything. 2023-03-27 22:29:49 | [Mutex] isItemNotified: received:node:f47cc8cb-bea5-421c-9905-6cefd2cebed3:localhost:node-d7202388-e552-4cda-aa55-3566e4456254:Node d7202388-e552-4cda-aa55-3566e4456254 :: false 2023-03-27 22:29:49 | [Mutex] waiting for: [received:nodes:8a3fd4a0-c7cb-4274-9ba8-e4d7bfce2535:localhost] 2023-03-27 22:29:49 | [Mutex] received everything. 2023-03-27 22:29:49 | [Mutex] isItemNotified: received:node:8a3fd4a0-c7cb-4274-9ba8-e4d7bfce2535:localhost:node-d7202388-e552-4cda-aa55-3566e4456254:Node d7202388-e552-4cda-aa55-3566e4456254 :: false  | 
    
| publishItemsToNodes | 0.194s | 
            
            
                 
                            2023-03-27 22:29:45 |  
        2023-03-27 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:45 | ------------------------------------ 2023-03-27 22:29:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d7202388-e552-4cda-aa55-3566e4456254</node><item-id>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</item-id><entry><test>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</test></entry></data> 2023-03-27 22:29:46 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</value></item-id></result> 2023-03-27 22:29:46 | [Mutex] received everything. 2023-03-27 22:29:46 | [Mutex] isItemNotified: published:item:notifieditem-60bcb234-da80-4cdb-ab7d-161c51f22e1d:admin@test-domain.com :: true  | 
    
| retractItemsFromNodes | 0.264s | 
            
            
                 
                            2023-03-27 22:29:46 |  
        2023-03-27 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:46 | ------------------------------------ 2023-03-27 22:29:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d7202388-e552-4cda-aa55-3566e4456254</node><item-id>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</item-id></data> 2023-03-27 22:29:46 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</value></item-id></result> 2023-03-27 22:29:46 | [Mutex] received everything. 2023-03-27 22:29:46 | [Mutex] isItemNotified: retracted:item:notifieditem-60bcb234-da80-4cdb-ab7d-161c51f22e1d:admin@test-domain.com :: true  | 
    
| retrieveItemsFromNodes | 0.325s | 
            
            
                 
                            2023-03-27 22:29:46 |  
        2023-03-27 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:46 | ------------------------------------ 2023-03-27 22:29:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d7202388-e552-4cda-aa55-3566e4456254</node><item-id>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</item-id></data> 2023-03-27 22:29:46 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-d7202388-e552-4cda-aa55-3566e4456254</value></node><item-id label="Item ID" type="text-single"><value>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</value></item-id><item label="Item" type="text-multi"><value><item id="item-60bcb234-da80-4cdb-ab7d-161c51f22e1d"><test>item-60bcb234-da80-4cdb-ab7d-161c51f22e1d</test></item></value></item></result> 2023-03-27 22:29:46 | [Mutex] notify: [retrieved:item:item-60bcb234-da80-4cdb-ab7d-161c51f22e1d:payload-matches:true:localhost] 2023-03-27 22:29:46 | [Mutex] received everything. 2023-03-27 22:29:46 | [Mutex] isItemNotified: retrieved:item:item-60bcb234-da80-4cdb-ab7d-161c51f22e1d:payload-matches:true:localhost :: true  | 
    
| retrieveUserSubscriptions | 0.052s | 
            
            
                 
                            2023-03-27 22:29:46 |  
        2023-03-27 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:46 | ------------------------------------ 2023-03-27 22:29:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-27 22:29:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-1d89e767-568c-400a-9580-4670128349bb</value><value>test</value><value>node-d7202388-e552-4cda-aa55-3566e4456254</value></nodes></result>  | 
    
| retrieveUserSubscriptionsWithRegex | 0.055s | 
            
            
                 
                            2023-03-27 22:29:46 |  
        2023-03-27 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:46 | ------------------------------------ 2023-03-27 22:29:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d7202388-e552-4cda-aa55-3566e4456254)</node-pattern></data> 2023-03-27 22:29:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result>  | 
    
| subscribeNodes | 1.110s | 
            
            
                 
                            2023-03-27 22:29:44 |  
        2023-03-27 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:44 | ------------------------------------ 2023-03-27 22:29:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d7202388-e552-4cda-aa55-3566e4456254</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-27 22:29:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result>  | 
    
| unsubscribeNodes | 1.200s | 
            
            
                 
                            2023-03-27 22:29:46 |  
        2023-03-27 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-27 22:29:46 | ------------------------------------ 2023-03-27 22:29:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d7202388-e552-4cda-aa55-3566e4456254</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-27 22:29:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result>  |