Test duration : 8.880s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.127s |
2021-05-13 22:33:11 |
2021-05-13 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:11 | ------------------------------------ 2021-05-13 22:33:11 | [Mutex] waiting for: [configured:node:node-ed6bda80-df9b-48bc-911b-512126280683:node-cc9c1075-e999-4c7f-89c4-7f93351a72c1] 2021-05-13 22:33:11 | [Mutex] received everything. 2021-05-13 22:33:11 | [Mutex] isItemNotified: configured:node:node-ed6bda80-df9b-48bc-911b-512126280683:node-cc9c1075-e999-4c7f-89c4-7f93351a72c1 :: true 2021-05-13 22:33:12 | [Mutex] waiting for: [received:nodes:c0ca1db8-bff5-4012-b6b1-78d43fb0e6e2:localhost] 2021-05-13 22:33:13 | [Mutex] received everything. 2021-05-13 22:33:13 | [Mutex] isItemNotified: received:node:c0ca1db8-bff5-4012-b6b1-78d43fb0e6e2:localhost:node-ed6bda80-df9b-48bc-911b-512126280683:Node ed6bda80-df9b-48bc-911b-512126280683 :: true 2021-05-13 22:33:13 | [Mutex] waiting for: [received:nodes:ebcfef4b-bc59-440e-ac72-30543b9675a1:localhost] 2021-05-13 22:33:13 | [Mutex] received everything. 2021-05-13 22:33:13 | [Mutex] isItemNotified: received:node:ebcfef4b-bc59-440e-ac72-30543b9675a1:localhost:node-ed6bda80-df9b-48bc-911b-512126280683:Node ed6bda80-df9b-48bc-911b-512126280683 :: false |
createNodes | 1.626s |
2021-05-13 22:33:09 |
2021-05-13 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:09 | ------------------------------------ 2021-05-13 22:33:09 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-ed6bda80-df9b-48bc-911b-512126280683", "pubsub#title": "Node ed6bda80-df9b-48bc-911b-512126280683" } 2021-05-13 22:33:09 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-13 22:33:10 | [Mutex] waiting for: [received:nodes:03669cd4-7e5a-41e4-af14-b8339e4f181b:localhost] 2021-05-13 22:33:10 | [Mutex] waiting for: [received:nodes:03669cd4-7e5a-41e4-af14-b8339e4f181b:localhost] 2021-05-13 22:33:10 | [Mutex] received everything. 2021-05-13 22:33:10 | [Mutex] isItemNotified: received:node:03669cd4-7e5a-41e4-af14-b8339e4f181b:localhost:node-ed6bda80-df9b-48bc-911b-512126280683:Node ed6bda80-df9b-48bc-911b-512126280683 :: true |
createSubnodes | 1.029s |
2021-05-13 22:33:10 |
2021-05-13 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:10 | ------------------------------------ 2021-05-13 22:33:10 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-cc9c1075-e999-4c7f-89c4-7f93351a72c1", "pubsub#title": "Node cc9c1075-e999-4c7f-89c4-7f93351a72c1" } 2021-05-13 22:33:10 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-13 22:33:11 | [Mutex] waiting for: [received:nodes:dadbf93f-f6ae-4abf-b32a-b0afecbf8934:localhost] 2021-05-13 22:33:11 | [Mutex] received everything. 2021-05-13 22:33:11 | [Mutex] isItemNotified: received:node:dadbf93f-f6ae-4abf-b32a-b0afecbf8934:localhost:node-cc9c1075-e999-4c7f-89c4-7f93351a72c1:Node cc9c1075-e999-4c7f-89c4-7f93351a72c1 :: true |
deleteNodes | 1.020s |
2021-05-13 22:33:16 |
2021-05-13 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:16 | ------------------------------------ 2021-05-13 22:33:16 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-cc9c1075-e999-4c7f-89c4-7f93351a72c1" } 2021-05-13 22:33:16 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-13 22:33:17 | [Mutex] waiting for: [received:nodes:1da08c37-68fc-4e8a-8253-f929ab15bca6:localhost] 2021-05-13 22:33:17 | [Mutex] received everything. 2021-05-13 22:33:17 | [Mutex] isItemNotified: received:node:1da08c37-68fc-4e8a-8253-f929ab15bca6:localhost:node-cc9c1075-e999-4c7f-89c4-7f93351a72c1:Node cc9c1075-e999-4c7f-89c4-7f93351a72c1 :: false |
deleteSubnodes | 1.025s |
2021-05-13 22:33:15 |
2021-05-13 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:15 | ------------------------------------ 2021-05-13 22:33:15 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ed6bda80-df9b-48bc-911b-512126280683" } 2021-05-13 22:33:15 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-13 22:33:16 | [Mutex] waiting for: [received:nodes:04120c35-fc59-4f06-a36c-2dba67fb2178:localhost] 2021-05-13 22:33:16 | [Mutex] waiting for: [received:nodes:04120c35-fc59-4f06-a36c-2dba67fb2178:localhost] 2021-05-13 22:33:16 | [Mutex] received everything. 2021-05-13 22:33:16 | [Mutex] isItemNotified: received:node:04120c35-fc59-4f06-a36c-2dba67fb2178:localhost:node-ed6bda80-df9b-48bc-911b-512126280683:Node ed6bda80-df9b-48bc-911b-512126280683 :: false 2021-05-13 22:33:16 | [Mutex] waiting for: [received:nodes:b8f4591a-775d-4ceb-a84d-56bb2be7ad66:localhost] 2021-05-13 22:33:16 | [Mutex] received everything. 2021-05-13 22:33:16 | [Mutex] isItemNotified: received:node:b8f4591a-775d-4ceb-a84d-56bb2be7ad66:localhost:node-ed6bda80-df9b-48bc-911b-512126280683:Node ed6bda80-df9b-48bc-911b-512126280683 :: false |
publishItemsToNodes | 0.091s |
2021-05-13 22:33:14 |
2021-05-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:14 | ------------------------------------ 2021-05-13 22:33:14 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-ed6bda80-df9b-48bc-911b-512126280683", "entry": "<test>item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2</test>", "item-id": "item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2" } 2021-05-13 22:33:14 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2" } 2021-05-13 22:33:14 | [Mutex] waiting for: [published:item:notifieditem-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2:admin@test-domain.com] 2021-05-13 22:33:14 | [Mutex] received everything. 2021-05-13 22:33:14 | [Mutex] isItemNotified: published:item:notifieditem-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.056s |
2021-05-13 22:33:14 |
2021-05-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:14 | ------------------------------------ 2021-05-13 22:33:14 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-ed6bda80-df9b-48bc-911b-512126280683", "item-id": "item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2" } 2021-05-13 22:33:14 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2" } 2021-05-13 22:33:14 | [Mutex] received everything. 2021-05-13 22:33:14 | [Mutex] isItemNotified: retracted:item:notifieditem-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.033s |
2021-05-13 22:33:14 |
2021-05-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:14 | ------------------------------------ 2021-05-13 22:33:14 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-ed6bda80-df9b-48bc-911b-512126280683", "item-id": "item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2" } 2021-05-13 22:33:14 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-ed6bda80-df9b-48bc-911b-512126280683", "item-id": "item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2", "item": [ "<item id=\"item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2\"><test>item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2</test></item>" ] } 2021-05-13 22:33:14 | [Mutex] notify: [retrieved:item:item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2:payload-matches:true:localhost] 2021-05-13 22:33:14 | [Mutex] received everything. 2021-05-13 22:33:14 | [Mutex] isItemNotified: retrieved:item:item-6a694102-9ad0-448c-84c3-0d5e6fd9eaa2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.075s |
2021-05-13 22:33:14 |
2021-05-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:14 | ------------------------------------ 2021-05-13 22:33:14 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-05-13 22:33:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-cc9c1075-e999-4c7f-89c4-7f93351a72c1", "node-ed6bda80-df9b-48bc-911b-512126280683" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2021-05-13 22:33:14 |
2021-05-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:14 | ------------------------------------ 2021-05-13 22:33:14 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-ed6bda80-df9b-48bc-911b-512126280683)" } 2021-05-13 22:33:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2021-05-13 22:33:13 |
2021-05-13 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:13 | ------------------------------------ 2021-05-13 22:33:13 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-ed6bda80-df9b-48bc-911b-512126280683", "jids": [ "admin@test-domain.com" ] } 2021-05-13 22:33:13 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.083s |
2021-05-13 22:33:14 |
2021-05-13 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-13 22:33:14 | ------------------------------------ 2021-05-13 22:33:14 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-ed6bda80-df9b-48bc-911b-512126280683", "jids": [ "admin@test-domain.com" ] } 2021-05-13 22:33:14 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |