Test duration : 8.606s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.083s |
2022-06-25 23:00:37 |
2022-06-25 23:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:37 | ------------------------------------ 2022-06-25 23:00:37 | [Mutex] waiting for: [configured:node:node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce:node-01524f1f-0a81-4787-a380-6f1adce4e404] 2022-06-25 23:00:37 | [Mutex] received everything. 2022-06-25 23:00:37 | [Mutex] isItemNotified: configured:node:node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce:node-01524f1f-0a81-4787-a380-6f1adce4e404 :: true 2022-06-25 23:00:38 | [Mutex] waiting for: [received:nodes:da214556-af9b-448e-bff4-5579741de7e0:localhost] 2022-06-25 23:00:38 | [Mutex] received everything. 2022-06-25 23:00:38 | [Mutex] isItemNotified: received:node:da214556-af9b-448e-bff4-5579741de7e0:localhost:node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce:Node e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce :: true 2022-06-25 23:00:38 | [Mutex] waiting for: [received:nodes:91116758-647c-447e-b3d8-008800521d40:localhost] 2022-06-25 23:00:38 | [Mutex] received everything. 2022-06-25 23:00:38 | [Mutex] isItemNotified: received:node:91116758-647c-447e-b3d8-008800521d40:localhost:node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce:Node e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce :: false |
createNodes | 1.615s |
2022-06-25 23:00:34 |
2022-06-25 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:34 | ------------------------------------ 2022-06-25 23:00:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "pubsub#title": "Node e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce" } 2022-06-25 23:00:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-25 23:00:36 | [Mutex] waiting for: [received:nodes:35184c43-f454-45ea-ac8b-ea485d488a13:localhost] 2022-06-25 23:00:36 | [Mutex] received everything. 2022-06-25 23:00:36 | [Mutex] isItemNotified: received:node:35184c43-f454-45ea-ac8b-ea485d488a13:localhost:node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce:Node e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce :: true |
createSubnodes | 1.024s |
2022-06-25 23:00:36 |
2022-06-25 23:00:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:36 | ------------------------------------ 2022-06-25 23:00:36 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-01524f1f-0a81-4787-a380-6f1adce4e404", "pubsub#title": "Node 01524f1f-0a81-4787-a380-6f1adce4e404" } 2022-06-25 23:00:36 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-25 23:00:37 | [Mutex] waiting for: [received:nodes:af870e3f-e980-4a91-8d6d-e1e74a1adb82:localhost] 2022-06-25 23:00:37 | [Mutex] waiting for: [received:nodes:af870e3f-e980-4a91-8d6d-e1e74a1adb82:localhost] 2022-06-25 23:00:37 | [Mutex] received everything. 2022-06-25 23:00:37 | [Mutex] isItemNotified: received:node:af870e3f-e980-4a91-8d6d-e1e74a1adb82:localhost:node-01524f1f-0a81-4787-a380-6f1adce4e404:Node 01524f1f-0a81-4787-a380-6f1adce4e404 :: true |
deleteNodes | 1.022s |
2022-06-25 23:00:42 |
2022-06-25 23:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:42 | ------------------------------------ 2022-06-25 23:00:42 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-01524f1f-0a81-4787-a380-6f1adce4e404" } 2022-06-25 23:00:42 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-25 23:00:43 | [Mutex] waiting for: [received:nodes:ac6ab4f9-4deb-490a-90d3-184177589460:localhost] 2022-06-25 23:00:43 | [Mutex] received everything. 2022-06-25 23:00:43 | [Mutex] isItemNotified: received:node:ac6ab4f9-4deb-490a-90d3-184177589460:localhost:node-01524f1f-0a81-4787-a380-6f1adce4e404:Node 01524f1f-0a81-4787-a380-6f1adce4e404 :: false |
deleteSubnodes | 1.033s |
2022-06-25 23:00:41 |
2022-06-25 23:00:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:41 | ------------------------------------ 2022-06-25 23:00:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce" } 2022-06-25 23:00:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-25 23:00:42 | [Mutex] waiting for: [received:nodes:03c788b8-3f22-4cbd-97dc-5b696223a026:localhost] 2022-06-25 23:00:42 | [Mutex] waiting for: [received:nodes:03c788b8-3f22-4cbd-97dc-5b696223a026:localhost] 2022-06-25 23:00:42 | [Mutex] waiting for: [received:nodes:03c788b8-3f22-4cbd-97dc-5b696223a026:localhost] 2022-06-25 23:00:42 | [Mutex] waiting for: [received:nodes:03c788b8-3f22-4cbd-97dc-5b696223a026:localhost] 2022-06-25 23:00:42 | [Mutex] received everything. 2022-06-25 23:00:42 | [Mutex] isItemNotified: received:node:03c788b8-3f22-4cbd-97dc-5b696223a026:localhost:node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce:Node e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce :: false 2022-06-25 23:00:42 | [Mutex] waiting for: [received:nodes:1a14e50e-40d8-491b-a67f-4f13067d15b8:localhost] 2022-06-25 23:00:42 | [Mutex] received everything. 2022-06-25 23:00:42 | [Mutex] isItemNotified: received:node:1a14e50e-40d8-491b-a67f-4f13067d15b8:localhost:node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce:Node e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce :: false |
publishItemsToNodes | 0.036s |
2022-06-25 23:00:39 |
2022-06-25 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:39 | ------------------------------------ 2022-06-25 23:00:39 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "entry": "<test>item-594a6381-e7a8-414b-a7f1-62a127cb05ae</test>", "item-id": "item-594a6381-e7a8-414b-a7f1-62a127cb05ae" } 2022-06-25 23:00:39 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-594a6381-e7a8-414b-a7f1-62a127cb05ae" } 2022-06-25 23:00:39 | [Mutex] waiting for: [published:item:notifieditem-594a6381-e7a8-414b-a7f1-62a127cb05ae:admin@test-domain.com] 2022-06-25 23:00:39 | [Mutex] received everything. 2022-06-25 23:00:39 | [Mutex] isItemNotified: published:item:notifieditem-594a6381-e7a8-414b-a7f1-62a127cb05ae:admin@test-domain.com :: true |
retractItemsFromNodes | 0.054s |
2022-06-25 23:00:39 |
2022-06-25 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:39 | ------------------------------------ 2022-06-25 23:00:39 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "item-id": "item-594a6381-e7a8-414b-a7f1-62a127cb05ae" } 2022-06-25 23:00:39 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-594a6381-e7a8-414b-a7f1-62a127cb05ae" } 2022-06-25 23:00:39 | [Mutex] waiting for: [retracted:item:notifieditem-594a6381-e7a8-414b-a7f1-62a127cb05ae:admin@test-domain.com] 2022-06-25 23:00:39 | [Mutex] received everything. 2022-06-25 23:00:39 | [Mutex] isItemNotified: retracted:item:notifieditem-594a6381-e7a8-414b-a7f1-62a127cb05ae:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.070s |
2022-06-25 23:00:39 |
2022-06-25 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:39 | ------------------------------------ 2022-06-25 23:00:39 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "item-id": "item-594a6381-e7a8-414b-a7f1-62a127cb05ae" } 2022-06-25 23:00:39 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "item-id": "item-594a6381-e7a8-414b-a7f1-62a127cb05ae", "item": [ "<item id=\"item-594a6381-e7a8-414b-a7f1-62a127cb05ae\"><test>item-594a6381-e7a8-414b-a7f1-62a127cb05ae</test></item>" ] } 2022-06-25 23:00:39 | [Mutex] notify: [retrieved:item:item-594a6381-e7a8-414b-a7f1-62a127cb05ae:payload-matches:true:localhost] 2022-06-25 23:00:39 | [Mutex] received everything. 2022-06-25 23:00:39 | [Mutex] isItemNotified: retrieved:item:item-594a6381-e7a8-414b-a7f1-62a127cb05ae:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2022-06-25 23:00:39 |
2022-06-25 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:39 | ------------------------------------ 2022-06-25 23:00:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-06-25 23:00:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "node-01524f1f-0a81-4787-a380-6f1adce4e404" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-06-25 23:00:39 |
2022-06-25 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:39 | ------------------------------------ 2022-06-25 23:00:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce)" } 2022-06-25 23:00:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2022-06-25 23:00:38 |
2022-06-25 23:00:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:38 | ------------------------------------ 2022-06-25 23:00:38 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "jids": [ "admin@test-domain.com" ] } 2022-06-25 23:00:38 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.085s |
2022-06-25 23:00:39 |
2022-06-25 23:00:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-25 23:00:39 | ------------------------------------ 2022-06-25 23:00:39 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-e1e69a2f-cbec-4a0b-b24a-5b6bc105c1ce", "jids": [ "admin@test-domain.com" ] } 2022-06-25 23:00:40 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |