Test duration : 8,004s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiUsingJSON | ||
| configureNodes | 1,126s | 
            
            
                 
                            2022-12-16 00:00:47 |  
        2022-12-16 00:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:47 | ------------------------------------ 2022-12-16 00:00:47 | [Mutex] waiting for: [configured:node:node-cb69d784-260a-45c7-89f6-19c04895c1d4:node-712f6e1a-c2b7-493e-a416-f0c32012cc6d] 2022-12-16 00:00:47 | [Mutex] received everything. 2022-12-16 00:00:47 | [Mutex] isItemNotified: configured:node:node-cb69d784-260a-45c7-89f6-19c04895c1d4:node-712f6e1a-c2b7-493e-a416-f0c32012cc6d :: true 2022-12-16 00:00:48 | [Mutex] waiting for: [received:nodes:d7029d37-a4c9-49ca-ac72-bc98f1e2a375:localhost] 2022-12-16 00:00:48 | [Mutex] received everything. 2022-12-16 00:00:48 | [Mutex] isItemNotified: received:node:d7029d37-a4c9-49ca-ac72-bc98f1e2a375:localhost:node-cb69d784-260a-45c7-89f6-19c04895c1d4:Node cb69d784-260a-45c7-89f6-19c04895c1d4 :: true 2022-12-16 00:00:48 | [Mutex] waiting for: [received:nodes:e7833d19-442e-470a-9508-2fe2b56fc2af:localhost] 2022-12-16 00:00:48 | [Mutex] waiting for: [received:nodes:e7833d19-442e-470a-9508-2fe2b56fc2af:localhost] 2022-12-16 00:00:48 | [Mutex] waiting for: [received:nodes:e7833d19-442e-470a-9508-2fe2b56fc2af:localhost] 2022-12-16 00:00:48 | [Mutex] received everything. 2022-12-16 00:00:48 | [Mutex] isItemNotified: received:node:e7833d19-442e-470a-9508-2fe2b56fc2af:localhost:node-cb69d784-260a-45c7-89f6-19c04895c1d4:Node cb69d784-260a-45c7-89f6-19c04895c1d4 :: false  | 
    
| createNodes | 1,247s | 
            
            
                 
                            2022-12-16 00:00:45 |  
        2022-12-16 00:00:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:45 | ------------------------------------ 2022-12-16 00:00:45 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "pubsub#title": "Node cb69d784-260a-45c7-89f6-19c04895c1d4" } 2022-12-16 00:00:45 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 00:00:46 | [Mutex] waiting for: [received:nodes:809640b9-c113-4f9b-8df3-58bdb9a3cab3:localhost] 2022-12-16 00:00:46 | [Mutex] waiting for: [received:nodes:809640b9-c113-4f9b-8df3-58bdb9a3cab3:localhost] 2022-12-16 00:00:46 | [Mutex] received everything. 2022-12-16 00:00:46 | [Mutex] isItemNotified: received:node:809640b9-c113-4f9b-8df3-58bdb9a3cab3:localhost:node-cb69d784-260a-45c7-89f6-19c04895c1d4:Node cb69d784-260a-45c7-89f6-19c04895c1d4 :: true  | 
    
| createSubnodes | 1,045s | 
            
            
                 
                            2022-12-16 00:00:46 |  
        2022-12-16 00:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:46 | ------------------------------------ 2022-12-16 00:00: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-712f6e1a-c2b7-493e-a416-f0c32012cc6d", "pubsub#title": "Node 712f6e1a-c2b7-493e-a416-f0c32012cc6d" } 2022-12-16 00:00:46 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 00:00:47 | [Mutex] waiting for: [received:nodes:d185a65f-f1f6-4acd-b015-3c8652bb3029:localhost] 2022-12-16 00:00:47 | [Mutex] waiting for: [received:nodes:d185a65f-f1f6-4acd-b015-3c8652bb3029:localhost] 2022-12-16 00:00:47 | [Mutex] waiting for: [received:nodes:d185a65f-f1f6-4acd-b015-3c8652bb3029:localhost] 2022-12-16 00:00:47 | [Mutex] waiting for: [received:nodes:d185a65f-f1f6-4acd-b015-3c8652bb3029:localhost] 2022-12-16 00:00:47 | [Mutex] received everything. 2022-12-16 00:00:47 | [Mutex] isItemNotified: received:node:d185a65f-f1f6-4acd-b015-3c8652bb3029:localhost:node-712f6e1a-c2b7-493e-a416-f0c32012cc6d:Node 712f6e1a-c2b7-493e-a416-f0c32012cc6d :: true  | 
    
| deleteNodes | 1,059s | 
            
            
                 
                            2022-12-16 00:00:51 |  
        2022-12-16 00:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:51 | ------------------------------------ 2022-12-16 00:00:51 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-712f6e1a-c2b7-493e-a416-f0c32012cc6d" } 2022-12-16 00:00:52 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 00:00:53 | [Mutex] waiting for: [received:nodes:1010f974-6913-474f-b314-96eff03bce21:localhost] 2022-12-16 00:00:53 | [Mutex] received everything. 2022-12-16 00:00:53 | [Mutex] isItemNotified: received:node:1010f974-6913-474f-b314-96eff03bce21:localhost:node-712f6e1a-c2b7-493e-a416-f0c32012cc6d:Node 712f6e1a-c2b7-493e-a416-f0c32012cc6d :: false  | 
    
| deleteSubnodes | 1,080s | 
            
            
                 
                            2022-12-16 00:00:50 |  
        2022-12-16 00:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:50 | ------------------------------------ 2022-12-16 00:00:50 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4" } 2022-12-16 00:00:50 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 00:00:51 | [Mutex] waiting for: [received:nodes:7327456c-1c45-4f09-8958-37377dd2e84a:localhost] 2022-12-16 00:00:51 | [Mutex] waiting for: [received:nodes:7327456c-1c45-4f09-8958-37377dd2e84a:localhost] 2022-12-16 00:00:51 | [Mutex] waiting for: [received:nodes:7327456c-1c45-4f09-8958-37377dd2e84a:localhost] 2022-12-16 00:00:51 | [Mutex] received everything. 2022-12-16 00:00:51 | [Mutex] isItemNotified: received:node:7327456c-1c45-4f09-8958-37377dd2e84a:localhost:node-cb69d784-260a-45c7-89f6-19c04895c1d4:Node cb69d784-260a-45c7-89f6-19c04895c1d4 :: false 2022-12-16 00:00:51 | [Mutex] waiting for: [received:nodes:708ebf78-c7b0-4737-9673-0414ead566d4:localhost] 2022-12-16 00:00:51 | [Mutex] received everything. 2022-12-16 00:00:51 | [Mutex] isItemNotified: received:node:708ebf78-c7b0-4737-9673-0414ead566d4:localhost:node-cb69d784-260a-45c7-89f6-19c04895c1d4:Node cb69d784-260a-45c7-89f6-19c04895c1d4 :: false  | 
    
| publishItemsToNodes | 0,075s | 
            
            
                 
                            2022-12-16 00:00:49 |  
        2022-12-16 00:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:49 | ------------------------------------ 2022-12-16 00:00:49 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "entry": "<test>item-53895413-7641-4b3c-9c36-26595364f4f0</test>", "item-id": "item-53895413-7641-4b3c-9c36-26595364f4f0" } 2022-12-16 00:00:49 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-53895413-7641-4b3c-9c36-26595364f4f0" } 2022-12-16 00:00:49 | [Mutex] waiting for: [published:item:notifieditem-53895413-7641-4b3c-9c36-26595364f4f0:admin@test-domain.com] 2022-12-16 00:00:49 | [Mutex] received everything. 2022-12-16 00:00:49 | [Mutex] isItemNotified: published:item:notifieditem-53895413-7641-4b3c-9c36-26595364f4f0:admin@test-domain.com :: true  | 
    
| retractItemsFromNodes | 0,045s | 
            
            
                 
                            2022-12-16 00:00:49 |  
        2022-12-16 00:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:49 | ------------------------------------ 2022-12-16 00:00:49 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "item-id": "item-53895413-7641-4b3c-9c36-26595364f4f0" } 2022-12-16 00:00:49 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-53895413-7641-4b3c-9c36-26595364f4f0" } 2022-12-16 00:00:49 | [Mutex] waiting for: [retracted:item:notifieditem-53895413-7641-4b3c-9c36-26595364f4f0:admin@test-domain.com] 2022-12-16 00:00:49 | [Mutex] received everything. 2022-12-16 00:00:49 | [Mutex] isItemNotified: retracted:item:notifieditem-53895413-7641-4b3c-9c36-26595364f4f0:admin@test-domain.com :: true  | 
    
| retrieveItemsFromNodes | 0,037s | 
            
            
                 
                            2022-12-16 00:00:49 |  
        2022-12-16 00:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:49 | ------------------------------------ 2022-12-16 00:00:49 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "item-id": "item-53895413-7641-4b3c-9c36-26595364f4f0" } 2022-12-16 00:00:49 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "item-id": "item-53895413-7641-4b3c-9c36-26595364f4f0", "item": [ "<item id=\"item-53895413-7641-4b3c-9c36-26595364f4f0\"><test>item-53895413-7641-4b3c-9c36-26595364f4f0</test></item>" ] } 2022-12-16 00:00:49 | [Mutex] notify: [retrieved:item:item-53895413-7641-4b3c-9c36-26595364f4f0:payload-matches:true:localhost] 2022-12-16 00:00:49 | [Mutex] received everything. 2022-12-16 00:00:49 | [Mutex] isItemNotified: retrieved:item:item-53895413-7641-4b3c-9c36-26595364f4f0:payload-matches:true:localhost :: true  | 
    
| retrieveUserSubscriptions | 0,006s | 
            
            
                 
                            2022-12-16 00:00:49 |  
        2022-12-16 00:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:49 | ------------------------------------ 2022-12-16 00:00:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-12-16 00:00:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "test", "node-712f6e1a-c2b7-493e-a416-f0c32012cc6d" ] }  | 
    
| retrieveUserSubscriptionsWithRegex | 0,004s | 
            
            
                 
                            2022-12-16 00:00:49 |  
        2022-12-16 00:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:49 | ------------------------------------ 2022-12-16 00:00:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-cb69d784-260a-45c7-89f6-19c04895c1d4)" } 2022-12-16 00:00:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] }  | 
    
| subscribeNodes | 1,023s | 
            
            
                 
                            2022-12-16 00:00:48 |  
        2022-12-16 00:00:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:48 | ------------------------------------ 2022-12-16 00:00:48 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "jids": [ "admin@test-domain.com" ] } 2022-12-16 00:00:48 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" }  | 
    
| unsubscribeNodes | 1,020s | 
            
            
                 
                            2022-12-16 00:00:49 |  
        2022-12-16 00:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 00:00:49 | ------------------------------------ 2022-12-16 00:00:49 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-cb69d784-260a-45c7-89f6-19c04895c1d4", "jids": [ "admin@test-domain.com" ] } 2022-12-16 00:00:49 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" }  |