Test duration : 8,896s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiUsingJSON | ||
| configureNodes | 1,132s | 
            
            
                 
                            2022-03-01 23:04:47 |  
        2022-03-01 23:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:47 | ------------------------------------ 2022-03-01 23:04:47 | [Mutex] waiting for: [configured:node:node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907:node-f7a68a2b-ca1a-4a37-9e61-590e71b269f7] 2022-03-01 23:04:47 | [Mutex] received everything. 2022-03-01 23:04:47 | [Mutex] isItemNotified: configured:node:node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907:node-f7a68a2b-ca1a-4a37-9e61-590e71b269f7 :: true 2022-03-01 23:04:48 | [Mutex] waiting for: [received:nodes:53f71038-0b93-49cf-adc8-6e4768ac6b3b:localhost] 2022-03-01 23:04:48 | [Mutex] received everything. 2022-03-01 23:04:48 | [Mutex] isItemNotified: received:node:53f71038-0b93-49cf-adc8-6e4768ac6b3b:localhost:node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907:Node 9857bdbf-16ae-4ca5-b374-31ea0bbdb907 :: true 2022-03-01 23:04:48 | [Mutex] waiting for: [received:nodes:22779fb0-7c71-4b90-98dc-cf01cff0a3df:localhost] 2022-03-01 23:04:48 | [Mutex] waiting for: [received:nodes:22779fb0-7c71-4b90-98dc-cf01cff0a3df:localhost] 2022-03-01 23:04:48 | [Mutex] received everything. 2022-03-01 23:04:48 | [Mutex] isItemNotified: received:node:22779fb0-7c71-4b90-98dc-cf01cff0a3df:localhost:node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907:Node 9857bdbf-16ae-4ca5-b374-31ea0bbdb907 :: false  | 
    
| createNodes | 1,628s | 
            
            
                 
                            2022-03-01 23:04:44 |  
        2022-03-01 23:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:44 | ------------------------------------ 2022-03-01 23:04:44 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "pubsub#title": "Node 9857bdbf-16ae-4ca5-b374-31ea0bbdb907" } 2022-03-01 23:04:44 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 23:04:45 | [Mutex] waiting for: [received:nodes:d0a9c4f6-da13-4cc3-bd59-1dd25752b4a9:localhost] 2022-03-01 23:04:46 | [Mutex] waiting for: [received:nodes:d0a9c4f6-da13-4cc3-bd59-1dd25752b4a9:localhost] 2022-03-01 23:04:46 | [Mutex] waiting for: [received:nodes:d0a9c4f6-da13-4cc3-bd59-1dd25752b4a9:localhost] 2022-03-01 23:04:46 | [Mutex] waiting for: [received:nodes:d0a9c4f6-da13-4cc3-bd59-1dd25752b4a9:localhost] 2022-03-01 23:04:46 | [Mutex] received everything. 2022-03-01 23:04:46 | [Mutex] isItemNotified: received:node:d0a9c4f6-da13-4cc3-bd59-1dd25752b4a9:localhost:node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907:Node 9857bdbf-16ae-4ca5-b374-31ea0bbdb907 :: true  | 
    
| createSubnodes | 1,085s | 
            
            
                 
                            2022-03-01 23:04:46 |  
        2022-03-01 23:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:46 | ------------------------------------ 2022-03-01 23:04:46 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-f7a68a2b-ca1a-4a37-9e61-590e71b269f7", "pubsub#title": "Node f7a68a2b-ca1a-4a37-9e61-590e71b269f7" } 2022-03-01 23:04:46 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 23:04:47 | [Mutex] waiting for: [received:nodes:432afee8-7111-4189-bf4a-feb3e0ca6cd9:localhost] 2022-03-01 23:04:47 | [Mutex] waiting for: [received:nodes:432afee8-7111-4189-bf4a-feb3e0ca6cd9:localhost] 2022-03-01 23:04:47 | [Mutex] received everything. 2022-03-01 23:04:47 | [Mutex] isItemNotified: received:node:432afee8-7111-4189-bf4a-feb3e0ca6cd9:localhost:node-f7a68a2b-ca1a-4a37-9e61-590e71b269f7:Node f7a68a2b-ca1a-4a37-9e61-590e71b269f7 :: true  | 
    
| deleteNodes | 1,091s | 
            
            
                 
                            2022-03-01 23:04:51 |  
        2022-03-01 23:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:51 | ------------------------------------ 2022-03-01 23:04:51 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f7a68a2b-ca1a-4a37-9e61-590e71b269f7" } 2022-03-01 23:04:51 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 23:04:52 | [Mutex] waiting for: [received:nodes:581b6c72-d50a-410b-8a6e-1567f274116b:localhost] 2022-03-01 23:04:52 | [Mutex] waiting for: [received:nodes:581b6c72-d50a-410b-8a6e-1567f274116b:localhost] 2022-03-01 23:04:52 | [Mutex] received everything. 2022-03-01 23:04:52 | [Mutex] isItemNotified: received:node:581b6c72-d50a-410b-8a6e-1567f274116b:localhost:node-f7a68a2b-ca1a-4a37-9e61-590e71b269f7:Node f7a68a2b-ca1a-4a37-9e61-590e71b269f7 :: false  | 
    
| deleteSubnodes | 1,117s | 
            
            
                 
                            2022-03-01 23:04:50 |  
        2022-03-01 23:04:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:50 | ------------------------------------ 2022-03-01 23:04:50 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907" } 2022-03-01 23:04:50 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 23:04:51 | [Mutex] waiting for: [received:nodes:eee6396b-73a6-4a39-97da-94508bc168e3:localhost] 2022-03-01 23:04:51 | [Mutex] waiting for: [received:nodes:eee6396b-73a6-4a39-97da-94508bc168e3:localhost] 2022-03-01 23:04:51 | [Mutex] waiting for: [received:nodes:eee6396b-73a6-4a39-97da-94508bc168e3:localhost] 2022-03-01 23:04:51 | [Mutex] received everything. 2022-03-01 23:04:51 | [Mutex] isItemNotified: received:node:eee6396b-73a6-4a39-97da-94508bc168e3:localhost:node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907:Node 9857bdbf-16ae-4ca5-b374-31ea0bbdb907 :: false 2022-03-01 23:04:51 | [Mutex] waiting for: [received:nodes:ad4eeb70-98dc-4567-abd9-cae7fddb99a3:localhost] 2022-03-01 23:04:51 | [Mutex] received everything. 2022-03-01 23:04:51 | [Mutex] isItemNotified: received:node:ad4eeb70-98dc-4567-abd9-cae7fddb99a3:localhost:node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907:Node 9857bdbf-16ae-4ca5-b374-31ea0bbdb907 :: false  | 
    
| publishItemsToNodes | 0,073s | 
            
            
                 
                            2022-03-01 23:04:49 |  
        2022-03-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:49 | ------------------------------------ 2022-03-01 23:04:49 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "entry": "<test>item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181</test>", "item-id": "item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181" } 2022-03-01 23:04:49 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181" } 2022-03-01 23:04:49 | [Mutex] waiting for: [published:item:notifieditem-3e6ce63d-9a6b-4389-ab1c-1f323e37f181:admin@test-domain.com] 2022-03-01 23:04:49 | [Mutex] received everything. 2022-03-01 23:04:49 | [Mutex] isItemNotified: published:item:notifieditem-3e6ce63d-9a6b-4389-ab1c-1f323e37f181:admin@test-domain.com :: true  | 
    
| retractItemsFromNodes | 0,059s | 
            
            
                 
                            2022-03-01 23:04:49 |  
        2022-03-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:49 | ------------------------------------ 2022-03-01 23:04:49 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "item-id": "item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181" } 2022-03-01 23:04:49 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181" } 2022-03-01 23:04:49 | [Mutex] waiting for: [retracted:item:notifieditem-3e6ce63d-9a6b-4389-ab1c-1f323e37f181:admin@test-domain.com] 2022-03-01 23:04:49 | [Mutex] received everything. 2022-03-01 23:04:49 | [Mutex] isItemNotified: retracted:item:notifieditem-3e6ce63d-9a6b-4389-ab1c-1f323e37f181:admin@test-domain.com :: true  | 
    
| retrieveItemsFromNodes | 0,045s | 
            
            
                 
                            2022-03-01 23:04:49 |  
        2022-03-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:49 | ------------------------------------ 2022-03-01 23:04:49 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "item-id": "item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181" } 2022-03-01 23:04:49 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "item-id": "item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181", "item": [ "<item id=\"item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181\"><test>item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181</test></item>" ] } 2022-03-01 23:04:49 | [Mutex] notify: [retrieved:item:item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181:payload-matches:true:localhost] 2022-03-01 23:04:49 | [Mutex] received everything. 2022-03-01 23:04:49 | [Mutex] isItemNotified: retrieved:item:item-3e6ce63d-9a6b-4389-ab1c-1f323e37f181:payload-matches:true:localhost :: true  | 
    
| retrieveUserSubscriptions | 0,018s | 
            
            
                 
                            2022-03-01 23:04:49 |  
        2022-03-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:49 | ------------------------------------ 2022-03-01 23:04:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-03-01 23:04:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "node-f7a68a2b-ca1a-4a37-9e61-590e71b269f7" ] }  | 
    
| retrieveUserSubscriptionsWithRegex | 0,012s | 
            
            
                 
                            2022-03-01 23:04:49 |  
        2022-03-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:49 | ------------------------------------ 2022-03-01 23:04:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907)" } 2022-03-01 23:04:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] }  | 
    
| subscribeNodes | 1,034s | 
            
            
                 
                            2022-03-01 23:04:48 |  
        2022-03-01 23:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:48 | ------------------------------------ 2022-03-01 23:04:48 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "jids": [ "admin@test-domain.com" ] } 2022-03-01 23:04:48 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" }  | 
    
| unsubscribeNodes | 1,075s | 
            
            
                 
                            2022-03-01 23:04:49 |  
        2022-03-01 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 23:04:49 | ------------------------------------ 2022-03-01 23:04:49 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-9857bdbf-16ae-4ca5-b374-31ea0bbdb907", "jids": [ "admin@test-domain.com" ] } 2022-03-01 23:04:49 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" }  |