Test duration : 8.582s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.102s |
2023-03-14 22:44:00 |
2023-03-14 22:44:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:00 | ------------------------------------ 2023-03-14 22:44:00 | [Mutex] waiting for: [configured:node:node-3ade0aff-1817-426e-9a5c-320428083a2c:node-9f87a458-1841-4b73-b9c7-5d8fe0c44e20] 2023-03-14 22:44:00 | [Mutex] received everything. 2023-03-14 22:44:00 | [Mutex] isItemNotified: configured:node:node-3ade0aff-1817-426e-9a5c-320428083a2c:node-9f87a458-1841-4b73-b9c7-5d8fe0c44e20 :: true 2023-03-14 22:44:01 | [Mutex] waiting for: [received:nodes:e7887ef5-5af6-414e-a11b-847aa419ea35:localhost] 2023-03-14 22:44:01 | [Mutex] received everything. 2023-03-14 22:44:01 | [Mutex] isItemNotified: received:node:e7887ef5-5af6-414e-a11b-847aa419ea35:localhost:node-3ade0aff-1817-426e-9a5c-320428083a2c:Node 3ade0aff-1817-426e-9a5c-320428083a2c :: true 2023-03-14 22:44:01 | [Mutex] waiting for: [received:nodes:548d689b-fa8f-4400-9ee3-5e80b1c8b2d9:localhost] 2023-03-14 22:44:01 | [Mutex] waiting for: [received:nodes:548d689b-fa8f-4400-9ee3-5e80b1c8b2d9:localhost] 2023-03-14 22:44:01 | [Mutex] waiting for: [received:nodes:548d689b-fa8f-4400-9ee3-5e80b1c8b2d9:localhost] 2023-03-14 22:44:01 | [Mutex] received everything. 2023-03-14 22:44:01 | [Mutex] isItemNotified: received:node:548d689b-fa8f-4400-9ee3-5e80b1c8b2d9:localhost:node-3ade0aff-1817-426e-9a5c-320428083a2c:Node 3ade0aff-1817-426e-9a5c-320428083a2c :: false |
createNodes | 1.550s |
2023-03-14 22:43:57 |
2023-03-14 22:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:43:57 | ------------------------------------ 2023-03-14 22:43:58 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c", "pubsub#title": "Node 3ade0aff-1817-426e-9a5c-320428083a2c" } 2023-03-14 22:43:58 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:43:59 | [Mutex] waiting for: [received:nodes:6c5e05f5-3eb2-4292-b408-7d618c1b3b5d:localhost] 2023-03-14 22:43:59 | [Mutex] waiting for: [received:nodes:6c5e05f5-3eb2-4292-b408-7d618c1b3b5d:localhost] 2023-03-14 22:43:59 | [Mutex] waiting for: [received:nodes:6c5e05f5-3eb2-4292-b408-7d618c1b3b5d:localhost] 2023-03-14 22:43:59 | [Mutex] received everything. 2023-03-14 22:43:59 | [Mutex] isItemNotified: received:node:6c5e05f5-3eb2-4292-b408-7d618c1b3b5d:localhost:node-3ade0aff-1817-426e-9a5c-320428083a2c:Node 3ade0aff-1817-426e-9a5c-320428083a2c :: true |
createSubnodes | 1.029s |
2023-03-14 22:43:59 |
2023-03-14 22:43:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:43:59 | ------------------------------------ 2023-03-14 22:43:59 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-9f87a458-1841-4b73-b9c7-5d8fe0c44e20", "pubsub#title": "Node 9f87a458-1841-4b73-b9c7-5d8fe0c44e20" } 2023-03-14 22:43:59 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:44:00 | [Mutex] waiting for: [received:nodes:cc6f1063-80fd-434c-93ce-1f5cff04c0ea:localhost] 2023-03-14 22:44:00 | [Mutex] waiting for: [received:nodes:cc6f1063-80fd-434c-93ce-1f5cff04c0ea:localhost] 2023-03-14 22:44:00 | [Mutex] waiting for: [received:nodes:cc6f1063-80fd-434c-93ce-1f5cff04c0ea:localhost] 2023-03-14 22:44:00 | [Mutex] waiting for: [received:nodes:cc6f1063-80fd-434c-93ce-1f5cff04c0ea:localhost] 2023-03-14 22:44:00 | [Mutex] waiting for: [received:nodes:cc6f1063-80fd-434c-93ce-1f5cff04c0ea:localhost] 2023-03-14 22:44:00 | [Mutex] received everything. 2023-03-14 22:44:00 | [Mutex] isItemNotified: received:node:cc6f1063-80fd-434c-93ce-1f5cff04c0ea:localhost:node-9f87a458-1841-4b73-b9c7-5d8fe0c44e20:Node 9f87a458-1841-4b73-b9c7-5d8fe0c44e20 :: true |
deleteNodes | 1.024s |
2023-03-14 22:44:04 |
2023-03-14 22:44:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:04 | ------------------------------------ 2023-03-14 22:44:04 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9f87a458-1841-4b73-b9c7-5d8fe0c44e20" } 2023-03-14 22:44:04 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:44:05 | [Mutex] waiting for: [received:nodes:a4262893-6cac-4211-af55-3bb02aa4a066:localhost] 2023-03-14 22:44:05 | [Mutex] waiting for: [received:nodes:a4262893-6cac-4211-af55-3bb02aa4a066:localhost] 2023-03-14 22:44:05 | [Mutex] waiting for: [received:nodes:a4262893-6cac-4211-af55-3bb02aa4a066:localhost] 2023-03-14 22:44:05 | [Mutex] received everything. 2023-03-14 22:44:05 | [Mutex] isItemNotified: received:node:a4262893-6cac-4211-af55-3bb02aa4a066:localhost:node-9f87a458-1841-4b73-b9c7-5d8fe0c44e20:Node 9f87a458-1841-4b73-b9c7-5d8fe0c44e20 :: false |
deleteSubnodes | 1.028s |
2023-03-14 22:44:03 |
2023-03-14 22:44:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:03 | ------------------------------------ 2023-03-14 22:44:03 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c" } 2023-03-14 22:44:03 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:44:04 | [Mutex] waiting for: [received:nodes:1782c397-ac93-4736-9016-89c07b1990be:localhost] 2023-03-14 22:44:04 | [Mutex] waiting for: [received:nodes:1782c397-ac93-4736-9016-89c07b1990be:localhost] 2023-03-14 22:44:04 | [Mutex] waiting for: [received:nodes:1782c397-ac93-4736-9016-89c07b1990be:localhost] 2023-03-14 22:44:04 | [Mutex] waiting for: [received:nodes:1782c397-ac93-4736-9016-89c07b1990be:localhost] 2023-03-14 22:44:04 | [Mutex] received everything. 2023-03-14 22:44:04 | [Mutex] isItemNotified: received:node:1782c397-ac93-4736-9016-89c07b1990be:localhost:node-3ade0aff-1817-426e-9a5c-320428083a2c:Node 3ade0aff-1817-426e-9a5c-320428083a2c :: false 2023-03-14 22:44:04 | [Mutex] waiting for: [received:nodes:84bd2c8c-391b-4dd6-9d8f-433aaf4d5c06:localhost] 2023-03-14 22:44:04 | [Mutex] received everything. 2023-03-14 22:44:04 | [Mutex] isItemNotified: received:node:84bd2c8c-391b-4dd6-9d8f-433aaf4d5c06:localhost:node-3ade0aff-1817-426e-9a5c-320428083a2c:Node 3ade0aff-1817-426e-9a5c-320428083a2c :: false |
publishItemsToNodes | 0.041s |
2023-03-14 22:44:02 |
2023-03-14 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:02 | ------------------------------------ 2023-03-14 22:44:02 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c", "entry": "<test>item-39e44ff0-fc7c-4559-81d5-72b1df678c3e</test>", "item-id": "item-39e44ff0-fc7c-4559-81d5-72b1df678c3e" } 2023-03-14 22:44:02 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-39e44ff0-fc7c-4559-81d5-72b1df678c3e" } 2023-03-14 22:44:02 | [Mutex] waiting for: [published:item:notifieditem-39e44ff0-fc7c-4559-81d5-72b1df678c3e:admin@test-domain.com] 2023-03-14 22:44:02 | [Mutex] received everything. 2023-03-14 22:44:02 | [Mutex] isItemNotified: published:item:notifieditem-39e44ff0-fc7c-4559-81d5-72b1df678c3e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.063s |
2023-03-14 22:44:02 |
2023-03-14 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:02 | ------------------------------------ 2023-03-14 22:44:02 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c", "item-id": "item-39e44ff0-fc7c-4559-81d5-72b1df678c3e" } 2023-03-14 22:44:02 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-39e44ff0-fc7c-4559-81d5-72b1df678c3e" } 2023-03-14 22:44:02 | [Mutex] received everything. 2023-03-14 22:44:02 | [Mutex] isItemNotified: retracted:item:notifieditem-39e44ff0-fc7c-4559-81d5-72b1df678c3e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.066s |
2023-03-14 22:44:02 |
2023-03-14 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:02 | ------------------------------------ 2023-03-14 22:44:02 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c", "item-id": "item-39e44ff0-fc7c-4559-81d5-72b1df678c3e" } 2023-03-14 22:44:02 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c", "item-id": "item-39e44ff0-fc7c-4559-81d5-72b1df678c3e", "item": [ "<item id=\"item-39e44ff0-fc7c-4559-81d5-72b1df678c3e\"><test>item-39e44ff0-fc7c-4559-81d5-72b1df678c3e</test></item>" ] } 2023-03-14 22:44:02 | [Mutex] notify: [retrieved:item:item-39e44ff0-fc7c-4559-81d5-72b1df678c3e:payload-matches:true:localhost] 2023-03-14 22:44:02 | [Mutex] received everything. 2023-03-14 22:44:02 | [Mutex] isItemNotified: retrieved:item:item-39e44ff0-fc7c-4559-81d5-72b1df678c3e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-03-14 22:44:02 |
2023-03-14 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:02 | ------------------------------------ 2023-03-14 22:44:02 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-14 22:44:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-3ade0aff-1817-426e-9a5c-320428083a2c", "test", "node-9f87a458-1841-4b73-b9c7-5d8fe0c44e20" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-03-14 22:44:02 |
2023-03-14 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:02 | ------------------------------------ 2023-03-14 22:44:02 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-3ade0aff-1817-426e-9a5c-320428083a2c)" } 2023-03-14 22:44:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2023-03-14 22:44:01 |
2023-03-14 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:01 | ------------------------------------ 2023-03-14 22:44:01 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c", "jids": [ "admin@test-domain.com" ] } 2023-03-14 22:44:01 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2023-03-14 22:44:02 |
2023-03-14 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:44:02 | ------------------------------------ 2023-03-14 22:44:02 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-3ade0aff-1817-426e-9a5c-320428083a2c", "jids": [ "admin@test-domain.com" ] } 2023-03-14 22:44:02 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |