Test duration : 10.020s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiUsingXML | ||
| configureNodes | 1.119s | 
            
            
                 
                            2020-09-18 02:06:42 |  
        2020-09-18 02:06:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:42 | ------------------------------------ 2020-09-18 02:06:42 | [Mutex] waiting for: [configured:node:node-9e4b500a-5a64-4c11-a401-af465fc85a8e:node-054ab924-5f3e-4391-bdb9-919a6f11323d] 2020-09-18 02:06:42 | [Mutex] received everything. 2020-09-18 02:06:42 | [Mutex] isItemNotified: configured:node:node-9e4b500a-5a64-4c11-a401-af465fc85a8e:node-054ab924-5f3e-4391-bdb9-919a6f11323d :: true 2020-09-18 02:06:43 | [Mutex] waiting for: [received:nodes:2e7d457a-0517-4228-889c-1271a33e8013:localhost] 2020-09-18 02:06:43 | [Mutex] received everything. 2020-09-18 02:06:43 | [Mutex] isItemNotified: received:node:2e7d457a-0517-4228-889c-1271a33e8013:localhost:node-9e4b500a-5a64-4c11-a401-af465fc85a8e:Node 9e4b500a-5a64-4c11-a401-af465fc85a8e :: true 2020-09-18 02:06:43 | [Mutex] waiting for: [received:nodes:a006f1db-61bf-4d9b-bb33-3ec8b5dc5382:localhost] 2020-09-18 02:06:43 | [Mutex] waiting for: [received:nodes:a006f1db-61bf-4d9b-bb33-3ec8b5dc5382:localhost] 2020-09-18 02:06:43 | [Mutex] waiting for: [received:nodes:a006f1db-61bf-4d9b-bb33-3ec8b5dc5382:localhost] 2020-09-18 02:06:43 | [Mutex] received everything. 2020-09-18 02:06:43 | [Mutex] isItemNotified: received:node:a006f1db-61bf-4d9b-bb33-3ec8b5dc5382:localhost:node-9e4b500a-5a64-4c11-a401-af465fc85a8e:Node 9e4b500a-5a64-4c11-a401-af465fc85a8e :: false  | 
    
| createNodes | 1.493s | 
            
            
                 
                            2020-09-18 02:06:40 |  
        2020-09-18 02:06:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:40 | ------------------------------------ 2020-09-18 02:06:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9e4b500a-5a64-4c11-a401-af465fc85a8e</title></pubsub></data> 2020-09-18 02:06:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 02:06:41 | [Mutex] waiting for: [received:nodes:59500d1b-6687-4641-a90f-e3c96293c38d:localhost] 2020-09-18 02:06:41 | [Mutex] waiting for: [received:nodes:59500d1b-6687-4641-a90f-e3c96293c38d:localhost] 2020-09-18 02:06:41 | [Mutex] received everything. 2020-09-18 02:06:41 | [Mutex] isItemNotified: received:node:59500d1b-6687-4641-a90f-e3c96293c38d:localhost:node-9e4b500a-5a64-4c11-a401-af465fc85a8e:Node 9e4b500a-5a64-4c11-a401-af465fc85a8e :: true  | 
    
| createSubnodes | 1.033s | 
            
            
                 
                            2020-09-18 02:06:41 |  
        2020-09-18 02:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:41 | ------------------------------------ 2020-09-18 02:06:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-054ab924-5f3e-4391-bdb9-919a6f11323d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 054ab924-5f3e-4391-bdb9-919a6f11323d</title></pubsub></data> 2020-09-18 02:06:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 02:06:42 | [Mutex] waiting for: [received:nodes:8f917f65-9f98-4603-bb37-e31e2dba3e91:localhost] 2020-09-18 02:06:42 | [Mutex] received everything. 2020-09-18 02:06:42 | [Mutex] isItemNotified: received:node:8f917f65-9f98-4603-bb37-e31e2dba3e91:localhost:node-054ab924-5f3e-4391-bdb9-919a6f11323d:Node 054ab924-5f3e-4391-bdb9-919a6f11323d :: true  | 
    
| deleteNodes | 1.023s | 
            
            
                 
                            2020-09-18 02:06:48 |  
        2020-09-18 02:06:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:48 | ------------------------------------ 2020-09-18 02:06:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-054ab924-5f3e-4391-bdb9-919a6f11323d</node></data> 2020-09-18 02:06:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 02:06:49 | [Mutex] waiting for: [received:nodes:cf550ac9-c00c-47e4-8e2d-d856e7b7a543:localhost] 2020-09-18 02:06:49 | [Mutex] received everything. 2020-09-18 02:06:49 | [Mutex] isItemNotified: received:node:cf550ac9-c00c-47e4-8e2d-d856e7b7a543:localhost:node-054ab924-5f3e-4391-bdb9-919a6f11323d:Node 054ab924-5f3e-4391-bdb9-919a6f11323d :: false  | 
    
| deleteSubnodes | 1.116s | 
            
            
                 
                            2020-09-18 02:06:47 |  
        2020-09-18 02:06:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:47 | ------------------------------------ 2020-09-18 02:06:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</node></data> 2020-09-18 02:06:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 02:06:48 | [Mutex] waiting for: [received:nodes:55518285-c9d5-4f4d-b204-6f0bfcb3e66b:localhost] 2020-09-18 02:06:48 | [Mutex] received everything. 2020-09-18 02:06:48 | [Mutex] isItemNotified: received:node:55518285-c9d5-4f4d-b204-6f0bfcb3e66b:localhost:node-9e4b500a-5a64-4c11-a401-af465fc85a8e:Node 9e4b500a-5a64-4c11-a401-af465fc85a8e :: false 2020-09-18 02:06:48 | [Mutex] waiting for: [received:nodes:cad56096-9654-4711-b55f-b1915145e018:localhost] 2020-09-18 02:06:48 | [Mutex] received everything. 2020-09-18 02:06:48 | [Mutex] isItemNotified: received:node:cad56096-9654-4711-b55f-b1915145e018:localhost:node-9e4b500a-5a64-4c11-a401-af465fc85a8e:Node 9e4b500a-5a64-4c11-a401-af465fc85a8e :: false  | 
    
| publishItemsToNodes | 0.206s | 
            
            
                 
                            2020-09-18 02:06:45 |  
        2020-09-18 02:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:45 | ------------------------------------ 2020-09-18 02:06:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</node><item-id>item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</item-id><entry><test>item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</test></entry></data> 2020-09-18 02:06:45 | 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-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</value></item-id></result> 2020-09-18 02:06:45 | [Mutex] received everything. 2020-09-18 02:06:45 | [Mutex] isItemNotified: published:item:notifieditem-2eb38aeb-cb6e-4431-a1fa-ab18039dff85:admin@test-domain.com :: true  | 
    
| retractItemsFromNodes | 0.299s | 
            
            
                 
                            2020-09-18 02:06:45 |  
        2020-09-18 02:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:45 | ------------------------------------ 2020-09-18 02:06:45 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</node><item-id>item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</item-id></data> 2020-09-18 02:06:45 | 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-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</value></item-id></result> 2020-09-18 02:06:45 | [Mutex] received everything. 2020-09-18 02:06:45 | [Mutex] isItemNotified: retracted:item:notifieditem-2eb38aeb-cb6e-4431-a1fa-ab18039dff85:admin@test-domain.com :: true  | 
    
| retrieveItemsFromNodes | 0.244s | 
            
            
                 
                            2020-09-18 02:06:45 |  
        2020-09-18 02:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:45 | ------------------------------------ 2020-09-18 02:06:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</node><item-id>item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</item-id></data> 2020-09-18 02:06:45 | 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-9e4b500a-5a64-4c11-a401-af465fc85a8e</value></node><item-id label="Item ID" type="text-single"><value>item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</value></item-id><item label="Item" type="text-multi"><value><item id="item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85"><test>item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85</test></item></value></item></result> 2020-09-18 02:06:45 | [Mutex] notify: [retrieved:item:item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85:payload-matches:true:localhost] 2020-09-18 02:06:45 | [Mutex] received everything. 2020-09-18 02:06:45 | [Mutex] isItemNotified: retrieved:item:item-2eb38aeb-cb6e-4431-a1fa-ab18039dff85:payload-matches:true:localhost :: true  | 
    
| retrieveUserSubscriptions | 0.052s | 
            
            
                 
                            2020-09-18 02:06:45 |  
        2020-09-18 02:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:45 | ------------------------------------ 2020-09-18 02:06:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-18 02:06:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</value><value>node-054ab924-5f3e-4391-bdb9-919a6f11323d</value></nodes></result>  | 
    
| retrieveUserSubscriptionsWithRegex | 0.061s | 
            
            
                 
                            2020-09-18 02:06:45 |  
        2020-09-18 02:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:45 | ------------------------------------ 2020-09-18 02:06:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9e4b500a-5a64-4c11-a401-af465fc85a8e)</node-pattern></data> 2020-09-18 02:06:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result>  | 
    
| subscribeNodes | 1.143s | 
            
            
                 
                            2020-09-18 02:06:43 |  
        2020-09-18 02:06:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:43 | ------------------------------------ 2020-09-18 02:06:43 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 02:06: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.315s | 
            
            
                 
                            2020-09-18 02:06:45 |  
        2020-09-18 02:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 02:06:45 | ------------------------------------ 2020-09-18 02:06:45 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9e4b500a-5a64-4c11-a401-af465fc85a8e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 02:06:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result>  |