Test duration : 8.570s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.101s |
2023-03-26 22:30:36 |
2023-03-26 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:36 | ------------------------------------ 2023-03-26 22:30:36 | [Mutex] waiting for: [configured:node:node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d:node-a6d9dfa9-b543-447b-b208-eb2152d6b75a] 2023-03-26 22:30:36 | [Mutex] received everything. 2023-03-26 22:30:36 | [Mutex] isItemNotified: configured:node:node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d:node-a6d9dfa9-b543-447b-b208-eb2152d6b75a :: true 2023-03-26 22:30:37 | [Mutex] waiting for: [received:nodes:96ddc46d-e522-46c7-8cca-b525d04beee5:localhost] 2023-03-26 22:30:37 | [Mutex] received everything. 2023-03-26 22:30:37 | [Mutex] isItemNotified: received:node:96ddc46d-e522-46c7-8cca-b525d04beee5:localhost:node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d:Node c0acb931-21db-4b1f-a37f-9bcaa22fa52d :: true 2023-03-26 22:30:37 | [Mutex] waiting for: [received:nodes:9a7529cd-b85c-4fb5-9382-64769b46fe34:localhost] 2023-03-26 22:30:37 | [Mutex] waiting for: [received:nodes:9a7529cd-b85c-4fb5-9382-64769b46fe34:localhost] 2023-03-26 22:30:37 | [Mutex] waiting for: [received:nodes:9a7529cd-b85c-4fb5-9382-64769b46fe34:localhost] 2023-03-26 22:30:37 | [Mutex] waiting for: [received:nodes:9a7529cd-b85c-4fb5-9382-64769b46fe34:localhost] 2023-03-26 22:30:37 | [Mutex] received everything. 2023-03-26 22:30:37 | [Mutex] isItemNotified: received:node:9a7529cd-b85c-4fb5-9382-64769b46fe34:localhost:node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d:Node c0acb931-21db-4b1f-a37f-9bcaa22fa52d :: false |
createNodes | 1.612s |
2023-03-26 22:30:33 |
2023-03-26 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:33 | ------------------------------------ 2023-03-26 22:30: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-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "pubsub#title": "Node c0acb931-21db-4b1f-a37f-9bcaa22fa52d" } 2023-03-26 22:30:34 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 22:30:35 | [Mutex] waiting for: [received:nodes:d77a1b78-6d1a-4b8c-a862-b36e0e351602:localhost] 2023-03-26 22:30:35 | [Mutex] waiting for: [received:nodes:d77a1b78-6d1a-4b8c-a862-b36e0e351602:localhost] 2023-03-26 22:30:35 | [Mutex] waiting for: [received:nodes:d77a1b78-6d1a-4b8c-a862-b36e0e351602:localhost] 2023-03-26 22:30:35 | [Mutex] waiting for: [received:nodes:d77a1b78-6d1a-4b8c-a862-b36e0e351602:localhost] 2023-03-26 22:30:35 | [Mutex] received everything. 2023-03-26 22:30:35 | [Mutex] isItemNotified: received:node:d77a1b78-6d1a-4b8c-a862-b36e0e351602:localhost:node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d:Node c0acb931-21db-4b1f-a37f-9bcaa22fa52d :: true |
createSubnodes | 1.025s |
2023-03-26 22:30:35 |
2023-03-26 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:35 | ------------------------------------ 2023-03-26 22:30: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-a6d9dfa9-b543-447b-b208-eb2152d6b75a", "pubsub#title": "Node a6d9dfa9-b543-447b-b208-eb2152d6b75a" } 2023-03-26 22:30:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 22:30:36 | [Mutex] waiting for: [received:nodes:58a5cfcf-a51a-431e-b7db-3fa2df14e11d:localhost] 2023-03-26 22:30:36 | [Mutex] waiting for: [received:nodes:58a5cfcf-a51a-431e-b7db-3fa2df14e11d:localhost] 2023-03-26 22:30:36 | [Mutex] waiting for: [received:nodes:58a5cfcf-a51a-431e-b7db-3fa2df14e11d:localhost] 2023-03-26 22:30:36 | [Mutex] waiting for: [received:nodes:58a5cfcf-a51a-431e-b7db-3fa2df14e11d:localhost] 2023-03-26 22:30:36 | [Mutex] waiting for: [received:nodes:58a5cfcf-a51a-431e-b7db-3fa2df14e11d:localhost] 2023-03-26 22:30:36 | [Mutex] received everything. 2023-03-26 22:30:36 | [Mutex] isItemNotified: received:node:58a5cfcf-a51a-431e-b7db-3fa2df14e11d:localhost:node-a6d9dfa9-b543-447b-b208-eb2152d6b75a:Node a6d9dfa9-b543-447b-b208-eb2152d6b75a :: true |
deleteNodes | 1.021s |
2023-03-26 22:30:40 |
2023-03-26 22:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:40 | ------------------------------------ 2023-03-26 22:30:40 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-a6d9dfa9-b543-447b-b208-eb2152d6b75a" } 2023-03-26 22:30:40 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 22:30:41 | [Mutex] waiting for: [received:nodes:bd5cfd02-2801-4d44-b66c-f713d83b1db0:localhost] 2023-03-26 22:30:41 | [Mutex] waiting for: [received:nodes:bd5cfd02-2801-4d44-b66c-f713d83b1db0:localhost] 2023-03-26 22:30:41 | [Mutex] waiting for: [received:nodes:bd5cfd02-2801-4d44-b66c-f713d83b1db0:localhost] 2023-03-26 22:30:41 | [Mutex] received everything. 2023-03-26 22:30:41 | [Mutex] isItemNotified: received:node:bd5cfd02-2801-4d44-b66c-f713d83b1db0:localhost:node-a6d9dfa9-b543-447b-b208-eb2152d6b75a:Node a6d9dfa9-b543-447b-b208-eb2152d6b75a :: false |
deleteSubnodes | 1.022s |
2023-03-26 22:30:39 |
2023-03-26 22:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:39 | ------------------------------------ 2023-03-26 22:30:39 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d" } 2023-03-26 22:30:39 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 22:30:40 | [Mutex] waiting for: [received:nodes:fd06c7ad-4872-4dda-b0dd-bab25da1d33b:localhost] 2023-03-26 22:30:40 | [Mutex] waiting for: [received:nodes:fd06c7ad-4872-4dda-b0dd-bab25da1d33b:localhost] 2023-03-26 22:30:40 | [Mutex] waiting for: [received:nodes:fd06c7ad-4872-4dda-b0dd-bab25da1d33b:localhost] 2023-03-26 22:30:40 | [Mutex] received everything. 2023-03-26 22:30:40 | [Mutex] isItemNotified: received:node:fd06c7ad-4872-4dda-b0dd-bab25da1d33b:localhost:node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d:Node c0acb931-21db-4b1f-a37f-9bcaa22fa52d :: false 2023-03-26 22:30:40 | [Mutex] waiting for: [received:nodes:5e6f1e76-bf90-4850-817d-1ff4a51a79f0:localhost] 2023-03-26 22:30:40 | [Mutex] received everything. 2023-03-26 22:30:40 | [Mutex] isItemNotified: received:node:5e6f1e76-bf90-4850-817d-1ff4a51a79f0:localhost:node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d:Node c0acb931-21db-4b1f-a37f-9bcaa22fa52d :: false |
publishItemsToNodes | 0.040s |
2023-03-26 22:30:38 |
2023-03-26 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:38 | ------------------------------------ 2023-03-26 22:30:38 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "entry": "<test>item-d54109b6-57b8-4a98-af69-864ba6f5db49</test>", "item-id": "item-d54109b6-57b8-4a98-af69-864ba6f5db49" } 2023-03-26 22:30:38 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-d54109b6-57b8-4a98-af69-864ba6f5db49" } 2023-03-26 22:30:38 | [Mutex] waiting for: [published:item:notifieditem-d54109b6-57b8-4a98-af69-864ba6f5db49:admin@test-domain.com] 2023-03-26 22:30:38 | [Mutex] received everything. 2023-03-26 22:30:38 | [Mutex] isItemNotified: published:item:notifieditem-d54109b6-57b8-4a98-af69-864ba6f5db49:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2023-03-26 22:30:38 |
2023-03-26 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:38 | ------------------------------------ 2023-03-26 22:30:38 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "item-id": "item-d54109b6-57b8-4a98-af69-864ba6f5db49" } 2023-03-26 22:30:38 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-d54109b6-57b8-4a98-af69-864ba6f5db49" } 2023-03-26 22:30:38 | [Mutex] received everything. 2023-03-26 22:30:38 | [Mutex] isItemNotified: retracted:item:notifieditem-d54109b6-57b8-4a98-af69-864ba6f5db49:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.061s |
2023-03-26 22:30:38 |
2023-03-26 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:38 | ------------------------------------ 2023-03-26 22:30:38 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "item-id": "item-d54109b6-57b8-4a98-af69-864ba6f5db49" } 2023-03-26 22:30:38 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "item-id": "item-d54109b6-57b8-4a98-af69-864ba6f5db49", "item": [ "<item id=\"item-d54109b6-57b8-4a98-af69-864ba6f5db49\"><test>item-d54109b6-57b8-4a98-af69-864ba6f5db49</test></item>" ] } 2023-03-26 22:30:38 | [Mutex] notify: [retrieved:item:item-d54109b6-57b8-4a98-af69-864ba6f5db49:payload-matches:true:localhost] 2023-03-26 22:30:38 | [Mutex] received everything. 2023-03-26 22:30:38 | [Mutex] isItemNotified: retrieved:item:item-d54109b6-57b8-4a98-af69-864ba6f5db49:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.087s |
2023-03-26 22:30:38 |
2023-03-26 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:38 | ------------------------------------ 2023-03-26 22:30:38 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-26 22:30:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "node-a6d9dfa9-b543-447b-b208-eb2152d6b75a" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-03-26 22:30:38 |
2023-03-26 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:38 | ------------------------------------ 2023-03-26 22:30:38 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d)" } 2023-03-26 22:30:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2023-03-26 22:30:37 |
2023-03-26 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:37 | ------------------------------------ 2023-03-26 22:30:37 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "jids": [ "admin@test-domain.com" ] } 2023-03-26 22:30:37 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.059s |
2023-03-26 22:30:38 |
2023-03-26 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 22:30:38 | ------------------------------------ 2023-03-26 22:30:38 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-c0acb931-21db-4b1f-a37f-9bcaa22fa52d", "jids": [ "admin@test-domain.com" ] } 2023-03-26 22:30:38 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |