Test duration : 9.159s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.108s |
2021-06-21 23:00:16 |
2021-06-21 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:16 | ------------------------------------ 2021-06-21 23:00:16 | [Mutex] waiting for: [configured:node:node-336a27c2-bf1c-4377-baa7-2f4012ff7b68:node-72cba7e0-dae6-4f59-b117-1447b29cd799] 2021-06-21 23:00:16 | [Mutex] received everything. 2021-06-21 23:00:16 | [Mutex] isItemNotified: configured:node:node-336a27c2-bf1c-4377-baa7-2f4012ff7b68:node-72cba7e0-dae6-4f59-b117-1447b29cd799 :: true 2021-06-21 23:00:17 | [Mutex] waiting for: [received:nodes:51f742c1-33df-4ed4-bfb0-68134d5115de:localhost] 2021-06-21 23:00:17 | [Mutex] received everything. 2021-06-21 23:00:17 | [Mutex] isItemNotified: received:node:51f742c1-33df-4ed4-bfb0-68134d5115de:localhost:node-336a27c2-bf1c-4377-baa7-2f4012ff7b68:Node 336a27c2-bf1c-4377-baa7-2f4012ff7b68 :: true 2021-06-21 23:00:17 | [Mutex] waiting for: [received:nodes:1603804f-7da0-41ba-a141-d9df6feab02a:localhost] 2021-06-21 23:00:17 | [Mutex] received everything. 2021-06-21 23:00:17 | [Mutex] isItemNotified: received:node:1603804f-7da0-41ba-a141-d9df6feab02a:localhost:node-336a27c2-bf1c-4377-baa7-2f4012ff7b68:Node 336a27c2-bf1c-4377-baa7-2f4012ff7b68 :: false |
createNodes | 1.724s |
2021-06-21 23:00:14 |
2021-06-21 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:14 | ------------------------------------ 2021-06-21 23:00:14 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "pubsub#title": "Node 336a27c2-bf1c-4377-baa7-2f4012ff7b68" } 2021-06-21 23:00:14 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-21 23:00:15 | [Mutex] waiting for: [received:nodes:e740653d-15cb-4b03-8d50-48b2febddebc:localhost] 2021-06-21 23:00:15 | [Mutex] received everything. 2021-06-21 23:00:15 | [Mutex] isItemNotified: received:node:e740653d-15cb-4b03-8d50-48b2febddebc:localhost:node-336a27c2-bf1c-4377-baa7-2f4012ff7b68:Node 336a27c2-bf1c-4377-baa7-2f4012ff7b68 :: true |
createSubnodes | 1.039s |
2021-06-21 23:00:15 |
2021-06-21 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:15 | ------------------------------------ 2021-06-21 23:00:15 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-72cba7e0-dae6-4f59-b117-1447b29cd799", "pubsub#title": "Node 72cba7e0-dae6-4f59-b117-1447b29cd799" } 2021-06-21 23:00:15 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-21 23:00:16 | [Mutex] waiting for: [received:nodes:9310249e-5412-44ae-8783-7e003b991a1c:localhost] 2021-06-21 23:00:16 | [Mutex] received everything. 2021-06-21 23:00:16 | [Mutex] isItemNotified: received:node:9310249e-5412-44ae-8783-7e003b991a1c:localhost:node-72cba7e0-dae6-4f59-b117-1447b29cd799:Node 72cba7e0-dae6-4f59-b117-1447b29cd799 :: true |
deleteNodes | 1.029s |
2021-06-21 23:00:21 |
2021-06-21 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:21 | ------------------------------------ 2021-06-21 23:00:21 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-72cba7e0-dae6-4f59-b117-1447b29cd799" } 2021-06-21 23:00:21 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-21 23:00:22 | [Mutex] waiting for: [received:nodes:c4d5b440-7afe-4aaf-a579-f899f1bee52b:localhost] 2021-06-21 23:00:22 | [Mutex] received everything. 2021-06-21 23:00:22 | [Mutex] isItemNotified: received:node:c4d5b440-7afe-4aaf-a579-f899f1bee52b:localhost:node-72cba7e0-dae6-4f59-b117-1447b29cd799:Node 72cba7e0-dae6-4f59-b117-1447b29cd799 :: false |
deleteSubnodes | 1.035s |
2021-06-21 23:00:20 |
2021-06-21 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:20 | ------------------------------------ 2021-06-21 23:00:20 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68" } 2021-06-21 23:00:20 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-21 23:00:21 | [Mutex] waiting for: [received:nodes:5602d3d0-d7fe-479f-819a-f3ab580d8452:localhost] 2021-06-21 23:00:21 | [Mutex] waiting for: [received:nodes:5602d3d0-d7fe-479f-819a-f3ab580d8452:localhost] 2021-06-21 23:00:21 | [Mutex] received everything. 2021-06-21 23:00:21 | [Mutex] isItemNotified: received:node:5602d3d0-d7fe-479f-819a-f3ab580d8452:localhost:node-336a27c2-bf1c-4377-baa7-2f4012ff7b68:Node 336a27c2-bf1c-4377-baa7-2f4012ff7b68 :: false 2021-06-21 23:00:21 | [Mutex] waiting for: [received:nodes:846bf70b-eaa4-438c-8538-a1fcd197a120:localhost] 2021-06-21 23:00:21 | [Mutex] received everything. 2021-06-21 23:00:21 | [Mutex] isItemNotified: received:node:846bf70b-eaa4-438c-8538-a1fcd197a120:localhost:node-336a27c2-bf1c-4377-baa7-2f4012ff7b68:Node 336a27c2-bf1c-4377-baa7-2f4012ff7b68 :: false |
publishItemsToNodes | 0.068s |
2021-06-21 23:00:18 |
2021-06-21 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:18 | ------------------------------------ 2021-06-21 23:00:18 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "entry": "<test>item-666854e9-865b-4e8f-93e4-a9627959c6bb</test>", "item-id": "item-666854e9-865b-4e8f-93e4-a9627959c6bb" } 2021-06-21 23:00:18 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-666854e9-865b-4e8f-93e4-a9627959c6bb" } 2021-06-21 23:00:18 | [Mutex] waiting for: [published:item:notifieditem-666854e9-865b-4e8f-93e4-a9627959c6bb:admin@test-domain.com] 2021-06-21 23:00:18 | [Mutex] received everything. 2021-06-21 23:00:18 | [Mutex] isItemNotified: published:item:notifieditem-666854e9-865b-4e8f-93e4-a9627959c6bb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.063s |
2021-06-21 23:00:19 |
2021-06-21 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:19 | ------------------------------------ 2021-06-21 23:00:19 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "item-id": "item-666854e9-865b-4e8f-93e4-a9627959c6bb" } 2021-06-21 23:00:19 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-666854e9-865b-4e8f-93e4-a9627959c6bb" } 2021-06-21 23:00:19 | [Mutex] waiting for: [retracted:item:notifieditem-666854e9-865b-4e8f-93e4-a9627959c6bb:admin@test-domain.com] 2021-06-21 23:00:19 | [Mutex] received everything. 2021-06-21 23:00:19 | [Mutex] isItemNotified: retracted:item:notifieditem-666854e9-865b-4e8f-93e4-a9627959c6bb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.131s |
2021-06-21 23:00:18 |
2021-06-21 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:18 | ------------------------------------ 2021-06-21 23:00:18 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "item-id": "item-666854e9-865b-4e8f-93e4-a9627959c6bb" } 2021-06-21 23:00:19 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "item-id": "item-666854e9-865b-4e8f-93e4-a9627959c6bb", "item": [ "<item id=\"item-666854e9-865b-4e8f-93e4-a9627959c6bb\"><test>item-666854e9-865b-4e8f-93e4-a9627959c6bb</test></item>" ] } 2021-06-21 23:00:19 | [Mutex] notify: [retrieved:item:item-666854e9-865b-4e8f-93e4-a9627959c6bb:payload-matches:true:localhost] 2021-06-21 23:00:19 | [Mutex] received everything. 2021-06-21 23:00:19 | [Mutex] isItemNotified: retrieved:item:item-666854e9-865b-4e8f-93e4-a9627959c6bb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-06-21 23:00:19 |
2021-06-21 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:19 | ------------------------------------ 2021-06-21 23:00:19 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-06-21 23:00:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "node-72cba7e0-dae6-4f59-b117-1447b29cd799" ] } |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-06-21 23:00:19 |
2021-06-21 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:19 | ------------------------------------ 2021-06-21 23:00:19 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-336a27c2-bf1c-4377-baa7-2f4012ff7b68)" } 2021-06-21 23:00:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2021-06-21 23:00:17 |
2021-06-21 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:17 | ------------------------------------ 2021-06-21 23:00:17 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "jids": [ "admin@test-domain.com" ] } 2021-06-21 23:00:17 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.091s |
2021-06-21 23:00:19 |
2021-06-21 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-21 23:00:19 | ------------------------------------ 2021-06-21 23:00:19 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-336a27c2-bf1c-4377-baa7-2f4012ff7b68", "jids": [ "admin@test-domain.com" ] } 2021-06-21 23:00:19 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |