Test duration : 9.029s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.089s |
2021-04-23 10:31:24 |
2021-04-23 10:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:24 | ------------------------------------ 2021-04-23 10:31:24 | [Mutex] waiting for: [configured:node:node-4efb49bc-b085-4184-8ac6-1bb239b47141:node-fedaaa21-8c34-4266-8675-0d3eca02090e] 2021-04-23 10:31:24 | [Mutex] received everything. 2021-04-23 10:31:24 | [Mutex] isItemNotified: configured:node:node-4efb49bc-b085-4184-8ac6-1bb239b47141:node-fedaaa21-8c34-4266-8675-0d3eca02090e :: true 2021-04-23 10:31:25 | [Mutex] waiting for: [received:nodes:853c6226-caec-4da4-afbd-b924c0e3f39c:localhost] 2021-04-23 10:31:25 | [Mutex] received everything. 2021-04-23 10:31:25 | [Mutex] isItemNotified: received:node:853c6226-caec-4da4-afbd-b924c0e3f39c:localhost:node-4efb49bc-b085-4184-8ac6-1bb239b47141:Node 4efb49bc-b085-4184-8ac6-1bb239b47141 :: true 2021-04-23 10:31:25 | [Mutex] waiting for: [received:nodes:6a6cdf99-ee0c-4867-af18-143516b69b86:localhost] 2021-04-23 10:31:25 | [Mutex] received everything. 2021-04-23 10:31:25 | [Mutex] isItemNotified: received:node:6a6cdf99-ee0c-4867-af18-143516b69b86:localhost:node-4efb49bc-b085-4184-8ac6-1bb239b47141:Node 4efb49bc-b085-4184-8ac6-1bb239b47141 :: false |
createNodes | 1.700s |
2021-04-23 10:31:21 |
2021-04-23 10:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:21 | ------------------------------------ 2021-04-23 10:31:22 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "pubsub#title": "Node 4efb49bc-b085-4184-8ac6-1bb239b47141" } 2021-04-23 10:31:22 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:31:23 | [Mutex] waiting for: [received:nodes:8478f137-b88b-4343-be02-73f36dfa51c2:localhost] 2021-04-23 10:31:23 | [Mutex] received everything. 2021-04-23 10:31:23 | [Mutex] isItemNotified: received:node:8478f137-b88b-4343-be02-73f36dfa51c2:localhost:node-4efb49bc-b085-4184-8ac6-1bb239b47141:Node 4efb49bc-b085-4184-8ac6-1bb239b47141 :: true |
createSubnodes | 1.031s |
2021-04-23 10:31:23 |
2021-04-23 10:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:23 | ------------------------------------ 2021-04-23 10:31:23 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-fedaaa21-8c34-4266-8675-0d3eca02090e", "pubsub#title": "Node fedaaa21-8c34-4266-8675-0d3eca02090e" } 2021-04-23 10:31:23 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:31:24 | [Mutex] waiting for: [received:nodes:9e7e793e-3480-40fa-b4c6-84c66ca70250:localhost] 2021-04-23 10:31:24 | [Mutex] received everything. 2021-04-23 10:31:24 | [Mutex] isItemNotified: received:node:9e7e793e-3480-40fa-b4c6-84c66ca70250:localhost:node-fedaaa21-8c34-4266-8675-0d3eca02090e:Node fedaaa21-8c34-4266-8675-0d3eca02090e :: true |
deleteNodes | 1.025s |
2021-04-23 10:31:28 |
2021-04-23 10:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:28 | ------------------------------------ 2021-04-23 10:31:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-fedaaa21-8c34-4266-8675-0d3eca02090e" } 2021-04-23 10:31:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:31:29 | [Mutex] waiting for: [received:nodes:dace4518-58fe-484d-bab5-f202ada48fa4:localhost] 2021-04-23 10:31:29 | [Mutex] received everything. 2021-04-23 10:31:29 | [Mutex] isItemNotified: received:node:dace4518-58fe-484d-bab5-f202ada48fa4:localhost:node-fedaaa21-8c34-4266-8675-0d3eca02090e:Node fedaaa21-8c34-4266-8675-0d3eca02090e :: false |
deleteSubnodes | 1.038s |
2021-04-23 10:31:27 |
2021-04-23 10:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:27 | ------------------------------------ 2021-04-23 10:31:27 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141" } 2021-04-23 10:31:27 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-23 10:31:28 | [Mutex] waiting for: [received:nodes:48ec448e-44c7-4ad8-977f-19e2958020e9:localhost] 2021-04-23 10:31:28 | [Mutex] waiting for: [received:nodes:48ec448e-44c7-4ad8-977f-19e2958020e9:localhost] 2021-04-23 10:31:28 | [Mutex] waiting for: [received:nodes:48ec448e-44c7-4ad8-977f-19e2958020e9:localhost] 2021-04-23 10:31:28 | [Mutex] received everything. 2021-04-23 10:31:28 | [Mutex] isItemNotified: received:node:48ec448e-44c7-4ad8-977f-19e2958020e9:localhost:node-4efb49bc-b085-4184-8ac6-1bb239b47141:Node 4efb49bc-b085-4184-8ac6-1bb239b47141 :: false 2021-04-23 10:31:28 | [Mutex] waiting for: [received:nodes:de33bd5e-64e1-4296-8c53-beb2e48559b4:localhost] 2021-04-23 10:31:28 | [Mutex] received everything. 2021-04-23 10:31:28 | [Mutex] isItemNotified: received:node:de33bd5e-64e1-4296-8c53-beb2e48559b4:localhost:node-4efb49bc-b085-4184-8ac6-1bb239b47141:Node 4efb49bc-b085-4184-8ac6-1bb239b47141 :: false |
publishItemsToNodes | 0.056s |
2021-04-23 10:31:26 |
2021-04-23 10:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:26 | ------------------------------------ 2021-04-23 10:31:26 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "entry": "<test>item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e</test>", "item-id": "item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e" } 2021-04-23 10:31:26 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e" } 2021-04-23 10:31:26 | [Mutex] received everything. 2021-04-23 10:31:26 | [Mutex] isItemNotified: published:item:notifieditem-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.056s |
2021-04-23 10:31:26 |
2021-04-23 10:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:26 | ------------------------------------ 2021-04-23 10:31:26 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "item-id": "item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e" } 2021-04-23 10:31:26 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e" } 2021-04-23 10:31:26 | [Mutex] waiting for: [retracted:item:notifieditem-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e:admin@test-domain.com] 2021-04-23 10:31:26 | [Mutex] received everything. 2021-04-23 10:31:26 | [Mutex] isItemNotified: retracted:item:notifieditem-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.061s |
2021-04-23 10:31:26 |
2021-04-23 10:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:26 | ------------------------------------ 2021-04-23 10:31:26 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "item-id": "item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e" } 2021-04-23 10:31:26 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "item-id": "item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e", "item": [ "<item id=\"item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e\"><test>item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e</test></item>" ] } 2021-04-23 10:31:26 | [Mutex] notify: [retrieved:item:item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e:payload-matches:true:localhost] 2021-04-23 10:31:26 | [Mutex] received everything. 2021-04-23 10:31:26 | [Mutex] isItemNotified: retrieved:item:item-01e77a5c-6ffa-433e-8ac8-4b01d3a4ac9e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.099s |
2021-04-23 10:31:26 |
2021-04-23 10:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:26 | ------------------------------------ 2021-04-23 10:31:26 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-23 10:31:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "node-fedaaa21-8c34-4266-8675-0d3eca02090e" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-04-23 10:31:26 |
2021-04-23 10:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:26 | ------------------------------------ 2021-04-23 10:31:26 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-4efb49bc-b085-4184-8ac6-1bb239b47141)" } 2021-04-23 10:31:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2021-04-23 10:31:25 |
2021-04-23 10:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:25 | ------------------------------------ 2021-04-23 10:31:25 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "jids": [ "admin@test-domain.com" ] } 2021-04-23 10:31:25 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.070s |
2021-04-23 10:31:26 |
2021-04-23 10:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-23 10:31:26 | ------------------------------------ 2021-04-23 10:31:26 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-4efb49bc-b085-4184-8ac6-1bb239b47141", "jids": [ "admin@test-domain.com" ] } 2021-04-23 10:31:26 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |