Test duration : 8.737s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.100s |
2022-08-31 22:33:36 |
2022-08-31 22:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:36 | ------------------------------------ 2022-08-31 22:33:36 | [Mutex] waiting for: [configured:node:node-fce30c93-9e46-4458-8141-68cf650805ce:node-8bdac372-1768-4231-af2e-0aae5ca6a3ce] 2022-08-31 22:33:36 | [Mutex] received everything. 2022-08-31 22:33:36 | [Mutex] isItemNotified: configured:node:node-fce30c93-9e46-4458-8141-68cf650805ce:node-8bdac372-1768-4231-af2e-0aae5ca6a3ce :: true 2022-08-31 22:33:37 | [Mutex] waiting for: [received:nodes:9900c0c0-74a8-4dd7-96ef-52627677fd73:localhost] 2022-08-31 22:33:37 | [Mutex] received everything. 2022-08-31 22:33:37 | [Mutex] isItemNotified: received:node:9900c0c0-74a8-4dd7-96ef-52627677fd73:localhost:node-fce30c93-9e46-4458-8141-68cf650805ce:Node fce30c93-9e46-4458-8141-68cf650805ce :: true 2022-08-31 22:33:37 | [Mutex] waiting for: [received:nodes:5a5f3665-31b4-4a4d-8296-04cd8722ed96:localhost] 2022-08-31 22:33:38 | [Mutex] waiting for: [received:nodes:5a5f3665-31b4-4a4d-8296-04cd8722ed96:localhost] 2022-08-31 22:33:38 | [Mutex] received everything. 2022-08-31 22:33:38 | [Mutex] isItemNotified: received:node:5a5f3665-31b4-4a4d-8296-04cd8722ed96:localhost:node-fce30c93-9e46-4458-8141-68cf650805ce:Node fce30c93-9e46-4458-8141-68cf650805ce :: false |
createNodes | 1.626s |
2022-08-31 22:33:34 |
2022-08-31 22:33:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:34 | ------------------------------------ 2022-08-31 22:33:34 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-fce30c93-9e46-4458-8141-68cf650805ce", "pubsub#title": "Node fce30c93-9e46-4458-8141-68cf650805ce" } 2022-08-31 22:33:34 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-31 22:33:35 | [Mutex] waiting for: [received:nodes:b2b087d5-8600-4f29-8fce-ac1318061fe3:localhost] 2022-08-31 22:33:35 | [Mutex] received everything. 2022-08-31 22:33:35 | [Mutex] isItemNotified: received:node:b2b087d5-8600-4f29-8fce-ac1318061fe3:localhost:node-fce30c93-9e46-4458-8141-68cf650805ce:Node fce30c93-9e46-4458-8141-68cf650805ce :: true |
createSubnodes | 1.022s |
2022-08-31 22:33:35 |
2022-08-31 22:33:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:35 | ------------------------------------ 2022-08-31 22:33:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-8bdac372-1768-4231-af2e-0aae5ca6a3ce", "pubsub#title": "Node 8bdac372-1768-4231-af2e-0aae5ca6a3ce" } 2022-08-31 22:33:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-31 22:33:36 | [Mutex] waiting for: [received:nodes:0895995a-fc63-451e-8843-63c70a8bcf5b:localhost] 2022-08-31 22:33:36 | [Mutex] received everything. 2022-08-31 22:33:36 | [Mutex] isItemNotified: received:node:0895995a-fc63-451e-8843-63c70a8bcf5b:localhost:node-8bdac372-1768-4231-af2e-0aae5ca6a3ce:Node 8bdac372-1768-4231-af2e-0aae5ca6a3ce :: true |
deleteNodes | 1.024s |
2022-08-31 22:33:41 |
2022-08-31 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:41 | ------------------------------------ 2022-08-31 22:33:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8bdac372-1768-4231-af2e-0aae5ca6a3ce" } 2022-08-31 22:33:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-31 22:33:42 | [Mutex] waiting for: [received:nodes:7daa8442-047f-455b-b823-b67491e54cde:localhost] 2022-08-31 22:33:42 | [Mutex] received everything. 2022-08-31 22:33:42 | [Mutex] isItemNotified: received:node:7daa8442-047f-455b-b823-b67491e54cde:localhost:node-8bdac372-1768-4231-af2e-0aae5ca6a3ce:Node 8bdac372-1768-4231-af2e-0aae5ca6a3ce :: false |
deleteSubnodes | 1.025s |
2022-08-31 22:33:40 |
2022-08-31 22:33:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:40 | ------------------------------------ 2022-08-31 22:33:40 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-fce30c93-9e46-4458-8141-68cf650805ce" } 2022-08-31 22:33:40 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-31 22:33:41 | [Mutex] waiting for: [received:nodes:cfb603ff-fd18-4813-805f-e97b78f78edf:localhost] 2022-08-31 22:33:41 | [Mutex] waiting for: [received:nodes:cfb603ff-fd18-4813-805f-e97b78f78edf:localhost] 2022-08-31 22:33:41 | [Mutex] waiting for: [received:nodes:cfb603ff-fd18-4813-805f-e97b78f78edf:localhost] 2022-08-31 22:33:41 | [Mutex] received everything. 2022-08-31 22:33:41 | [Mutex] isItemNotified: received:node:cfb603ff-fd18-4813-805f-e97b78f78edf:localhost:node-fce30c93-9e46-4458-8141-68cf650805ce:Node fce30c93-9e46-4458-8141-68cf650805ce :: false 2022-08-31 22:33:41 | [Mutex] waiting for: [received:nodes:465ed07b-9788-485f-9a27-aa2434599080:localhost] 2022-08-31 22:33:41 | [Mutex] received everything. 2022-08-31 22:33:41 | [Mutex] isItemNotified: received:node:465ed07b-9788-485f-9a27-aa2434599080:localhost:node-fce30c93-9e46-4458-8141-68cf650805ce:Node fce30c93-9e46-4458-8141-68cf650805ce :: false |
publishItemsToNodes | 0.064s |
2022-08-31 22:33:39 |
2022-08-31 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:39 | ------------------------------------ 2022-08-31 22:33:39 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-fce30c93-9e46-4458-8141-68cf650805ce", "entry": "<test>item-4f64797d-5f05-4f91-91f7-c45f44420400</test>", "item-id": "item-4f64797d-5f05-4f91-91f7-c45f44420400" } 2022-08-31 22:33:39 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-4f64797d-5f05-4f91-91f7-c45f44420400" } 2022-08-31 22:33:39 | [Mutex] waiting for: [published:item:notifieditem-4f64797d-5f05-4f91-91f7-c45f44420400:admin@test-domain.com] 2022-08-31 22:33:39 | [Mutex] received everything. 2022-08-31 22:33:39 | [Mutex] isItemNotified: published:item:notifieditem-4f64797d-5f05-4f91-91f7-c45f44420400:admin@test-domain.com :: true |
retractItemsFromNodes | 0.054s |
2022-08-31 22:33:39 |
2022-08-31 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:39 | ------------------------------------ 2022-08-31 22:33:39 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-fce30c93-9e46-4458-8141-68cf650805ce", "item-id": "item-4f64797d-5f05-4f91-91f7-c45f44420400" } 2022-08-31 22:33:39 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-4f64797d-5f05-4f91-91f7-c45f44420400" } 2022-08-31 22:33:39 | [Mutex] waiting for: [retracted:item:notifieditem-4f64797d-5f05-4f91-91f7-c45f44420400:admin@test-domain.com] 2022-08-31 22:33:39 | [Mutex] received everything. 2022-08-31 22:33:39 | [Mutex] isItemNotified: retracted:item:notifieditem-4f64797d-5f05-4f91-91f7-c45f44420400:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.138s |
2022-08-31 22:33:39 |
2022-08-31 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:39 | ------------------------------------ 2022-08-31 22:33:39 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-fce30c93-9e46-4458-8141-68cf650805ce", "item-id": "item-4f64797d-5f05-4f91-91f7-c45f44420400" } 2022-08-31 22:33:39 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-fce30c93-9e46-4458-8141-68cf650805ce", "item-id": "item-4f64797d-5f05-4f91-91f7-c45f44420400", "item": [ "<item id=\"item-4f64797d-5f05-4f91-91f7-c45f44420400\"><test>item-4f64797d-5f05-4f91-91f7-c45f44420400</test></item>" ] } 2022-08-31 22:33:39 | [Mutex] notify: [retrieved:item:item-4f64797d-5f05-4f91-91f7-c45f44420400:payload-matches:true:localhost] 2022-08-31 22:33:39 | [Mutex] received everything. 2022-08-31 22:33:39 | [Mutex] isItemNotified: retrieved:item:item-4f64797d-5f05-4f91-91f7-c45f44420400:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-08-31 22:33:39 |
2022-08-31 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:39 | ------------------------------------ 2022-08-31 22:33:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-31 22:33:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-fce30c93-9e46-4458-8141-68cf650805ce", "node-8bdac372-1768-4231-af2e-0aae5ca6a3ce" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-08-31 22:33:39 |
2022-08-31 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:39 | ------------------------------------ 2022-08-31 22:33:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-fce30c93-9e46-4458-8141-68cf650805ce)" } 2022-08-31 22:33:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2022-08-31 22:33:38 |
2022-08-31 22:33:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:38 | ------------------------------------ 2022-08-31 22:33:38 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-fce30c93-9e46-4458-8141-68cf650805ce", "jids": [ "admin@test-domain.com" ] } 2022-08-31 22:33:38 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.052s |
2022-08-31 22:33:39 |
2022-08-31 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-31 22:33:39 | ------------------------------------ 2022-08-31 22:33:39 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-fce30c93-9e46-4458-8141-68cf650805ce", "jids": [ "admin@test-domain.com" ] } 2022-08-31 22:33:39 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |