Test duration : 8.655s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.102s |
2022-08-22 22:33:09 |
2022-08-22 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:09 | ------------------------------------ 2022-08-22 22:33:09 | [Mutex] waiting for: [configured:node:node-ac430ddd-cdba-4f33-bf69-b549dc553518:node-3ac1df22-4031-475c-99e7-e19e613c4aca] 2022-08-22 22:33:09 | [Mutex] received everything. 2022-08-22 22:33:09 | [Mutex] isItemNotified: configured:node:node-ac430ddd-cdba-4f33-bf69-b549dc553518:node-3ac1df22-4031-475c-99e7-e19e613c4aca :: true 2022-08-22 22:33:10 | [Mutex] waiting for: [received:nodes:fc21b53c-d0d0-4111-bf32-dc094702fe1a:localhost] 2022-08-22 22:33:10 | [Mutex] received everything. 2022-08-22 22:33:10 | [Mutex] isItemNotified: received:node:fc21b53c-d0d0-4111-bf32-dc094702fe1a:localhost:node-ac430ddd-cdba-4f33-bf69-b549dc553518:Node ac430ddd-cdba-4f33-bf69-b549dc553518 :: true 2022-08-22 22:33:10 | [Mutex] waiting for: [received:nodes:94a9c874-23f6-44e6-859c-8bb587e36adf:localhost] 2022-08-22 22:33:10 | [Mutex] received everything. 2022-08-22 22:33:10 | [Mutex] isItemNotified: received:node:94a9c874-23f6-44e6-859c-8bb587e36adf:localhost:node-ac430ddd-cdba-4f33-bf69-b549dc553518:Node ac430ddd-cdba-4f33-bf69-b549dc553518 :: false |
createNodes | 1.656s |
2022-08-22 22:33:06 |
2022-08-22 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:06 | ------------------------------------ 2022-08-22 22:33:06 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "pubsub#title": "Node ac430ddd-cdba-4f33-bf69-b549dc553518" } 2022-08-22 22:33:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-22 22:33:08 | [Mutex] waiting for: [received:nodes:2907d719-72e8-4d1d-986e-a030fb9e4d0a:localhost] 2022-08-22 22:33:08 | [Mutex] waiting for: [received:nodes:2907d719-72e8-4d1d-986e-a030fb9e4d0a:localhost] 2022-08-22 22:33:08 | [Mutex] received everything. 2022-08-22 22:33:08 | [Mutex] isItemNotified: received:node:2907d719-72e8-4d1d-986e-a030fb9e4d0a:localhost:node-ac430ddd-cdba-4f33-bf69-b549dc553518:Node ac430ddd-cdba-4f33-bf69-b549dc553518 :: true |
createSubnodes | 1.022s |
2022-08-22 22:33:08 |
2022-08-22 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:08 | ------------------------------------ 2022-08-22 22:33:08 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-3ac1df22-4031-475c-99e7-e19e613c4aca", "pubsub#title": "Node 3ac1df22-4031-475c-99e7-e19e613c4aca" } 2022-08-22 22:33:08 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-22 22:33:09 | [Mutex] waiting for: [received:nodes:f0d65de3-232d-49aa-855a-57d57cf5fadc:localhost] 2022-08-22 22:33:09 | [Mutex] received everything. 2022-08-22 22:33:09 | [Mutex] isItemNotified: received:node:f0d65de3-232d-49aa-855a-57d57cf5fadc:localhost:node-3ac1df22-4031-475c-99e7-e19e613c4aca:Node 3ac1df22-4031-475c-99e7-e19e613c4aca :: true |
deleteNodes | 1.023s |
2022-08-22 22:33:13 |
2022-08-22 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:13 | ------------------------------------ 2022-08-22 22:33:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-3ac1df22-4031-475c-99e7-e19e613c4aca" } 2022-08-22 22:33:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-22 22:33:14 | [Mutex] waiting for: [received:nodes:ec42a04f-fd6d-47b0-9752-acef208db07c:localhost] 2022-08-22 22:33:14 | [Mutex] received everything. 2022-08-22 22:33:14 | [Mutex] isItemNotified: received:node:ec42a04f-fd6d-47b0-9752-acef208db07c:localhost:node-3ac1df22-4031-475c-99e7-e19e613c4aca:Node 3ac1df22-4031-475c-99e7-e19e613c4aca :: false |
deleteSubnodes | 1.024s |
2022-08-22 22:33:12 |
2022-08-22 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:12 | ------------------------------------ 2022-08-22 22:33:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518" } 2022-08-22 22:33:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-22 22:33:13 | [Mutex] waiting for: [received:nodes:70625d3c-f918-4db4-84d1-ba723df9d004:localhost] 2022-08-22 22:33:13 | [Mutex] received everything. 2022-08-22 22:33:13 | [Mutex] isItemNotified: received:node:70625d3c-f918-4db4-84d1-ba723df9d004:localhost:node-ac430ddd-cdba-4f33-bf69-b549dc553518:Node ac430ddd-cdba-4f33-bf69-b549dc553518 :: false 2022-08-22 22:33:13 | [Mutex] waiting for: [received:nodes:1830dd3f-ea6b-45c0-a9f4-9a49e3e7a156:localhost] 2022-08-22 22:33:13 | [Mutex] received everything. 2022-08-22 22:33:13 | [Mutex] isItemNotified: received:node:1830dd3f-ea6b-45c0-a9f4-9a49e3e7a156:localhost:node-ac430ddd-cdba-4f33-bf69-b549dc553518:Node ac430ddd-cdba-4f33-bf69-b549dc553518 :: false |
publishItemsToNodes | 0.049s |
2022-08-22 22:33:11 |
2022-08-22 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:11 | ------------------------------------ 2022-08-22 22:33:11 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "entry": "<test>item-20d870f8-e701-43b6-a062-74bb09cd1eca</test>", "item-id": "item-20d870f8-e701-43b6-a062-74bb09cd1eca" } 2022-08-22 22:33:11 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-20d870f8-e701-43b6-a062-74bb09cd1eca" } 2022-08-22 22:33:11 | [Mutex] waiting for: [published:item:notifieditem-20d870f8-e701-43b6-a062-74bb09cd1eca:admin@test-domain.com] 2022-08-22 22:33:11 | [Mutex] received everything. 2022-08-22 22:33:11 | [Mutex] isItemNotified: published:item:notifieditem-20d870f8-e701-43b6-a062-74bb09cd1eca:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2022-08-22 22:33:11 |
2022-08-22 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:11 | ------------------------------------ 2022-08-22 22:33:11 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "item-id": "item-20d870f8-e701-43b6-a062-74bb09cd1eca" } 2022-08-22 22:33:11 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-20d870f8-e701-43b6-a062-74bb09cd1eca" } 2022-08-22 22:33:11 | [Mutex] received everything. 2022-08-22 22:33:11 | [Mutex] isItemNotified: retracted:item:notifieditem-20d870f8-e701-43b6-a062-74bb09cd1eca:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.013s |
2022-08-22 22:33:11 |
2022-08-22 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:11 | ------------------------------------ 2022-08-22 22:33:11 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "item-id": "item-20d870f8-e701-43b6-a062-74bb09cd1eca" } 2022-08-22 22:33:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "item-id": "item-20d870f8-e701-43b6-a062-74bb09cd1eca", "item": [ "<item id=\"item-20d870f8-e701-43b6-a062-74bb09cd1eca\"><test>item-20d870f8-e701-43b6-a062-74bb09cd1eca</test></item>" ] } 2022-08-22 22:33:11 | [Mutex] notify: [retrieved:item:item-20d870f8-e701-43b6-a062-74bb09cd1eca:payload-matches:true:localhost] 2022-08-22 22:33:11 | [Mutex] received everything. 2022-08-22 22:33:11 | [Mutex] isItemNotified: retrieved:item:item-20d870f8-e701-43b6-a062-74bb09cd1eca:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-08-22 22:33:11 |
2022-08-22 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:11 | ------------------------------------ 2022-08-22 22:33:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-22 22:33:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "node-3ac1df22-4031-475c-99e7-e19e613c4aca" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-08-22 22:33:11 |
2022-08-22 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:11 | ------------------------------------ 2022-08-22 22:33:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-ac430ddd-cdba-4f33-bf69-b549dc553518)" } 2022-08-22 22:33:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2022-08-22 22:33:10 |
2022-08-22 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:10 | ------------------------------------ 2022-08-22 22:33:10 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "jids": [ "admin@test-domain.com" ] } 2022-08-22 22:33:10 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.059s |
2022-08-22 22:33:11 |
2022-08-22 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-22 22:33:11 | ------------------------------------ 2022-08-22 22:33:11 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-ac430ddd-cdba-4f33-bf69-b549dc553518", "jids": [ "admin@test-domain.com" ] } 2022-08-22 22:33:11 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |