Test duration : 9.843s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiUsingXML | ||
| configureNodes | 1.116s | 
            
            
                 
                            2020-08-27 11:20:36 |  
        2020-08-27 11:20:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:36 | ------------------------------------ 2020-08-27 11:20:36 | [Mutex] waiting for: [configured:node:node-20c05224-bec5-44da-8c44-c44a9b3dd18a:node-1d6d09be-e3b1-406a-aadc-638fddda9b58] 2020-08-27 11:20:36 | [Mutex] received everything. 2020-08-27 11:20:36 | [Mutex] isItemNotified: configured:node:node-20c05224-bec5-44da-8c44-c44a9b3dd18a:node-1d6d09be-e3b1-406a-aadc-638fddda9b58 :: true 2020-08-27 11:20:37 | [Mutex] waiting for: [received:nodes:1d0cbdc8-f26a-4e27-9587-f23739d5c1dd:localhost] 2020-08-27 11:20:37 | [Mutex] received everything. 2020-08-27 11:20:37 | [Mutex] isItemNotified: received:node:1d0cbdc8-f26a-4e27-9587-f23739d5c1dd:localhost:node-20c05224-bec5-44da-8c44-c44a9b3dd18a:Node 20c05224-bec5-44da-8c44-c44a9b3dd18a :: true 2020-08-27 11:20:37 | [Mutex] waiting for: [received:nodes:6a8e4b7e-1328-4dae-a26c-a3930119699c:localhost] 2020-08-27 11:20:37 | [Mutex] waiting for: [received:nodes:6a8e4b7e-1328-4dae-a26c-a3930119699c:localhost] 2020-08-27 11:20:37 | [Mutex] waiting for: [received:nodes:6a8e4b7e-1328-4dae-a26c-a3930119699c:localhost] 2020-08-27 11:20:37 | [Mutex] waiting for: [received:nodes:6a8e4b7e-1328-4dae-a26c-a3930119699c:localhost] 2020-08-27 11:20:37 | [Mutex] received everything. 2020-08-27 11:20:37 | [Mutex] isItemNotified: received:node:6a8e4b7e-1328-4dae-a26c-a3930119699c:localhost:node-20c05224-bec5-44da-8c44-c44a9b3dd18a:Node 20c05224-bec5-44da-8c44-c44a9b3dd18a :: false  | 
    
| createNodes | 1.460s | 
            
            
                 
                            2020-08-27 11:20:33 |  
        2020-08-27 11:20:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:33 | ------------------------------------ 2020-08-27 11:20:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 20c05224-bec5-44da-8c44-c44a9b3dd18a</title></pubsub></data> 2020-08-27 11:20:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:20:35 | [Mutex] waiting for: [received:nodes:7c26e8dd-bfec-417c-97d2-5e728fbd1968:localhost] 2020-08-27 11:20:35 | [Mutex] received everything. 2020-08-27 11:20:35 | [Mutex] isItemNotified: received:node:7c26e8dd-bfec-417c-97d2-5e728fbd1968:localhost:node-20c05224-bec5-44da-8c44-c44a9b3dd18a:Node 20c05224-bec5-44da-8c44-c44a9b3dd18a :: true  | 
    
| createSubnodes | 1.036s | 
            
            
                 
                            2020-08-27 11:20:35 |  
        2020-08-27 11:20:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:35 | ------------------------------------ 2020-08-27 11:20:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1d6d09be-e3b1-406a-aadc-638fddda9b58</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1d6d09be-e3b1-406a-aadc-638fddda9b58</title></pubsub></data> 2020-08-27 11:20:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:20:36 | [Mutex] waiting for: [received:nodes:a51cc5e4-0d99-4abf-8c89-1d804ec13107:localhost] 2020-08-27 11:20:36 | [Mutex] received everything. 2020-08-27 11:20:36 | [Mutex] isItemNotified: received:node:a51cc5e4-0d99-4abf-8c89-1d804ec13107:localhost:node-1d6d09be-e3b1-406a-aadc-638fddda9b58:Node 1d6d09be-e3b1-406a-aadc-638fddda9b58 :: true  | 
    
| deleteNodes | 1.019s | 
            
            
                 
                            2020-08-27 11:20:41 |  
        2020-08-27 11:20:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:41 | ------------------------------------ 2020-08-27 11:20:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1d6d09be-e3b1-406a-aadc-638fddda9b58</node></data> 2020-08-27 11:20:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:20:42 | [Mutex] waiting for: [received:nodes:b2c661ae-df5d-48b4-9195-4ea5a2d6e2c5:localhost] 2020-08-27 11:20:42 | [Mutex] received everything. 2020-08-27 11:20:42 | [Mutex] isItemNotified: received:node:b2c661ae-df5d-48b4-9195-4ea5a2d6e2c5:localhost:node-1d6d09be-e3b1-406a-aadc-638fddda9b58:Node 1d6d09be-e3b1-406a-aadc-638fddda9b58 :: false  | 
    
| deleteSubnodes | 1.123s | 
            
            
                 
                            2020-08-27 11:20:40 |  
        2020-08-27 11:20:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:40 | ------------------------------------ 2020-08-27 11:20:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</node></data> 2020-08-27 11:20:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 11:20:41 | [Mutex] waiting for: [received:nodes:134b8d11-a256-4b49-b9fe-fe9659d0e14d:localhost] 2020-08-27 11:20:41 | [Mutex] waiting for: [received:nodes:134b8d11-a256-4b49-b9fe-fe9659d0e14d:localhost] 2020-08-27 11:20:41 | [Mutex] received everything. 2020-08-27 11:20:41 | [Mutex] isItemNotified: received:node:134b8d11-a256-4b49-b9fe-fe9659d0e14d:localhost:node-20c05224-bec5-44da-8c44-c44a9b3dd18a:Node 20c05224-bec5-44da-8c44-c44a9b3dd18a :: false 2020-08-27 11:20:41 | [Mutex] waiting for: [received:nodes:b7916e9b-e2b8-4b1b-8ae6-f8d1d54b94b7:localhost] 2020-08-27 11:20:41 | [Mutex] received everything. 2020-08-27 11:20:41 | [Mutex] isItemNotified: received:node:b7916e9b-e2b8-4b1b-8ae6-f8d1d54b94b7:localhost:node-20c05224-bec5-44da-8c44-c44a9b3dd18a:Node 20c05224-bec5-44da-8c44-c44a9b3dd18a :: false  | 
    
| publishItemsToNodes | 0.199s | 
            
            
                 
                            2020-08-27 11:20:38 |  
        2020-08-27 11:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:38 | ------------------------------------ 2020-08-27 11:20:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</node><item-id>item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</item-id><entry><test>item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</test></entry></data> 2020-08-27 11:20:38 | 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-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</value></item-id></result> 2020-08-27 11:20:38 | [Mutex] received everything. 2020-08-27 11:20:38 | [Mutex] isItemNotified: published:item:notifieditem-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07:admin@test-domain.com :: true  | 
    
| retractItemsFromNodes | 0.163s | 
            
            
                 
                            2020-08-27 11:20:38 |  
        2020-08-27 11:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:38 | ------------------------------------ 2020-08-27 11:20:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</node><item-id>item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</item-id></data> 2020-08-27 11:20:39 | 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-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</value></item-id></result> 2020-08-27 11:20:39 | [Mutex] received everything. 2020-08-27 11:20:39 | [Mutex] isItemNotified: retracted:item:notifieditem-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07:admin@test-domain.com :: true  | 
    
| retrieveItemsFromNodes | 0.266s | 
            
            
                 
                            2020-08-27 11:20:38 |  
        2020-08-27 11:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:38 | ------------------------------------ 2020-08-27 11:20:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</node><item-id>item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</item-id></data> 2020-08-27 11:20:38 | 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-20c05224-bec5-44da-8c44-c44a9b3dd18a</value></node><item-id label="Item ID" type="text-single"><value>item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</value></item-id><item label="Item" type="text-multi"><value><item id="item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07"><test>item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07</test></item></value></item></result> 2020-08-27 11:20:38 | [Mutex] notify: [retrieved:item:item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07:payload-matches:true:localhost] 2020-08-27 11:20:38 | [Mutex] received everything. 2020-08-27 11:20:38 | [Mutex] isItemNotified: retrieved:item:item-40998b4f-8c0b-49fe-ac03-5ba1c9e7ac07:payload-matches:true:localhost :: true  | 
    
| retrieveUserSubscriptions | 0.051s | 
            
            
                 
                            2020-08-27 11:20:38 |  
        2020-08-27 11:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:38 | ------------------------------------ 2020-08-27 11:20:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-27 11:20:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</value><value>node-1d6d09be-e3b1-406a-aadc-638fddda9b58</value><value>test</value></nodes></result>  | 
    
| retrieveUserSubscriptionsWithRegex | 0.058s | 
            
            
                 
                            2020-08-27 11:20:38 |  
        2020-08-27 11:20:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:38 | ------------------------------------ 2020-08-27 11:20:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-20c05224-bec5-44da-8c44-c44a9b3dd18a)</node-pattern></data> 2020-08-27 11:20:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result>  | 
    
| subscribeNodes | 1.088s | 
            
            
                 
                            2020-08-27 11:20:37 |  
        2020-08-27 11:20:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:37 | ------------------------------------ 2020-08-27 11:20:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 11:20:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result>  | 
    
| unsubscribeNodes | 1.215s | 
            
            
                 
                            2020-08-27 11:20:39 |  
        2020-08-27 11:20:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 11:20:39 | ------------------------------------ 2020-08-27 11:20:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-20c05224-bec5-44da-8c44-c44a9b3dd18a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 11:20:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result>  |