Test duration : 8.555s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.097s |
2023-06-04 22:59:32 |
2023-06-04 22:59:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:32 | ------------------------------------ 2023-06-04 22:59:32 | [Mutex] waiting for: [configured:node:node-35195e9d-0634-4d3d-b42c-b69829c5d257:node-4e883134-fb43-4568-8161-d40e21a380d6] 2023-06-04 22:59:32 | [Mutex] received everything. 2023-06-04 22:59:32 | [Mutex] isItemNotified: configured:node:node-35195e9d-0634-4d3d-b42c-b69829c5d257:node-4e883134-fb43-4568-8161-d40e21a380d6 :: true 2023-06-04 22:59:33 | [Mutex] waiting for: [received:nodes:6ccacfa8-ac68-45b2-946d-3a9af7c25ffe:localhost] 2023-06-04 22:59:33 | [Mutex] received everything. 2023-06-04 22:59:33 | [Mutex] isItemNotified: received:node:6ccacfa8-ac68-45b2-946d-3a9af7c25ffe:localhost:node-35195e9d-0634-4d3d-b42c-b69829c5d257:Node 35195e9d-0634-4d3d-b42c-b69829c5d257 :: true 2023-06-04 22:59:33 | [Mutex] waiting for: [received:nodes:7d859d79-398a-41ec-9493-a6281d233833:localhost] 2023-06-04 22:59:33 | [Mutex] waiting for: [received:nodes:7d859d79-398a-41ec-9493-a6281d233833:localhost] 2023-06-04 22:59:33 | [Mutex] waiting for: [received:nodes:7d859d79-398a-41ec-9493-a6281d233833:localhost] 2023-06-04 22:59:33 | [Mutex] waiting for: [received:nodes:7d859d79-398a-41ec-9493-a6281d233833:localhost] 2023-06-04 22:59:33 | [Mutex] received everything. 2023-06-04 22:59:33 | [Mutex] isItemNotified: received:node:7d859d79-398a-41ec-9493-a6281d233833:localhost:node-35195e9d-0634-4d3d-b42c-b69829c5d257:Node 35195e9d-0634-4d3d-b42c-b69829c5d257 :: false |
createNodes | 1.595s |
2023-06-04 22:59:29 |
2023-06-04 22:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:29 | ------------------------------------ 2023-06-04 22:59:30 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257", "pubsub#title": "Node 35195e9d-0634-4d3d-b42c-b69829c5d257" } 2023-06-04 22:59:30 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-06-04 22:59:31 | [Mutex] waiting for: [received:nodes:0d02b092-0372-4216-93bd-a8dc746ad6d0:localhost] 2023-06-04 22:59:31 | [Mutex] waiting for: [received:nodes:0d02b092-0372-4216-93bd-a8dc746ad6d0:localhost] 2023-06-04 22:59:31 | [Mutex] waiting for: [received:nodes:0d02b092-0372-4216-93bd-a8dc746ad6d0:localhost] 2023-06-04 22:59:31 | [Mutex] waiting for: [received:nodes:0d02b092-0372-4216-93bd-a8dc746ad6d0:localhost] 2023-06-04 22:59:31 | [Mutex] received everything. 2023-06-04 22:59:31 | [Mutex] isItemNotified: received:node:0d02b092-0372-4216-93bd-a8dc746ad6d0:localhost:node-35195e9d-0634-4d3d-b42c-b69829c5d257:Node 35195e9d-0634-4d3d-b42c-b69829c5d257 :: true |
createSubnodes | 1.019s |
2023-06-04 22:59:31 |
2023-06-04 22:59:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:31 | ------------------------------------ 2023-06-04 22:59:31 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-4e883134-fb43-4568-8161-d40e21a380d6", "pubsub#title": "Node 4e883134-fb43-4568-8161-d40e21a380d6" } 2023-06-04 22:59:31 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-06-04 22:59:32 | [Mutex] waiting for: [received:nodes:dad40302-9ccb-4498-8b6f-025a72cb8198:localhost] 2023-06-04 22:59:32 | [Mutex] waiting for: [received:nodes:dad40302-9ccb-4498-8b6f-025a72cb8198:localhost] 2023-06-04 22:59:32 | [Mutex] waiting for: [received:nodes:dad40302-9ccb-4498-8b6f-025a72cb8198:localhost] 2023-06-04 22:59:32 | [Mutex] received everything. 2023-06-04 22:59:32 | [Mutex] isItemNotified: received:node:dad40302-9ccb-4498-8b6f-025a72cb8198:localhost:node-4e883134-fb43-4568-8161-d40e21a380d6:Node 4e883134-fb43-4568-8161-d40e21a380d6 :: true |
deleteNodes | 1.015s |
2023-06-04 22:59:36 |
2023-06-04 22:59:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:36 | ------------------------------------ 2023-06-04 22:59:36 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-4e883134-fb43-4568-8161-d40e21a380d6" } 2023-06-04 22:59:36 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-06-04 22:59:37 | [Mutex] waiting for: [received:nodes:7cb1516e-3f1b-435d-aa0f-7c47e1f51622:localhost] 2023-06-04 22:59:37 | [Mutex] waiting for: [received:nodes:7cb1516e-3f1b-435d-aa0f-7c47e1f51622:localhost] 2023-06-04 22:59:37 | [Mutex] waiting for: [received:nodes:7cb1516e-3f1b-435d-aa0f-7c47e1f51622:localhost] 2023-06-04 22:59:37 | [Mutex] received everything. 2023-06-04 22:59:37 | [Mutex] isItemNotified: received:node:7cb1516e-3f1b-435d-aa0f-7c47e1f51622:localhost:node-4e883134-fb43-4568-8161-d40e21a380d6:Node 4e883134-fb43-4568-8161-d40e21a380d6 :: false |
deleteSubnodes | 1.030s |
2023-06-04 22:59:35 |
2023-06-04 22:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:35 | ------------------------------------ 2023-06-04 22:59:35 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257" } 2023-06-04 22:59:35 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-06-04 22:59:36 | [Mutex] waiting for: [received:nodes:9ffde401-3f59-46ac-b9d3-7651350fe107:localhost] 2023-06-04 22:59:36 | [Mutex] waiting for: [received:nodes:9ffde401-3f59-46ac-b9d3-7651350fe107:localhost] 2023-06-04 22:59:36 | [Mutex] waiting for: [received:nodes:9ffde401-3f59-46ac-b9d3-7651350fe107:localhost] 2023-06-04 22:59:36 | [Mutex] waiting for: [received:nodes:9ffde401-3f59-46ac-b9d3-7651350fe107:localhost] 2023-06-04 22:59:36 | [Mutex] received everything. 2023-06-04 22:59:36 | [Mutex] isItemNotified: received:node:9ffde401-3f59-46ac-b9d3-7651350fe107:localhost:node-35195e9d-0634-4d3d-b42c-b69829c5d257:Node 35195e9d-0634-4d3d-b42c-b69829c5d257 :: false 2023-06-04 22:59:36 | [Mutex] waiting for: [received:nodes:0a900525-90cf-4889-87cf-022c85e177d0:localhost] 2023-06-04 22:59:36 | [Mutex] received everything. 2023-06-04 22:59:36 | [Mutex] isItemNotified: received:node:0a900525-90cf-4889-87cf-022c85e177d0:localhost:node-35195e9d-0634-4d3d-b42c-b69829c5d257:Node 35195e9d-0634-4d3d-b42c-b69829c5d257 :: false |
publishItemsToNodes | 0.031s |
2023-06-04 22:59:34 |
2023-06-04 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:34 | ------------------------------------ 2023-06-04 22:59:34 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257", "entry": "<test>item-99f053f0-34d5-492d-a2df-f2d337a2b8c6</test>", "item-id": "item-99f053f0-34d5-492d-a2df-f2d337a2b8c6" } 2023-06-04 22:59:34 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-99f053f0-34d5-492d-a2df-f2d337a2b8c6" } 2023-06-04 22:59:34 | [Mutex] waiting for: [published:item:notifieditem-99f053f0-34d5-492d-a2df-f2d337a2b8c6:admin@test-domain.com] 2023-06-04 22:59:34 | [Mutex] received everything. 2023-06-04 22:59:34 | [Mutex] isItemNotified: published:item:notifieditem-99f053f0-34d5-492d-a2df-f2d337a2b8c6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.118s |
2023-06-04 22:59:34 |
2023-06-04 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:34 | ------------------------------------ 2023-06-04 22:59:34 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257", "item-id": "item-99f053f0-34d5-492d-a2df-f2d337a2b8c6" } 2023-06-04 22:59:34 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-99f053f0-34d5-492d-a2df-f2d337a2b8c6" } 2023-06-04 22:59:34 | [Mutex] waiting for: [retracted:item:notifieditem-99f053f0-34d5-492d-a2df-f2d337a2b8c6:admin@test-domain.com] 2023-06-04 22:59:34 | [Mutex] received everything. 2023-06-04 22:59:34 | [Mutex] isItemNotified: retracted:item:notifieditem-99f053f0-34d5-492d-a2df-f2d337a2b8c6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.054s |
2023-06-04 22:59:34 |
2023-06-04 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:34 | ------------------------------------ 2023-06-04 22:59:34 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257", "item-id": "item-99f053f0-34d5-492d-a2df-f2d337a2b8c6" } 2023-06-04 22:59:34 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257", "item-id": "item-99f053f0-34d5-492d-a2df-f2d337a2b8c6", "item": [ "<item id=\"item-99f053f0-34d5-492d-a2df-f2d337a2b8c6\"><test>item-99f053f0-34d5-492d-a2df-f2d337a2b8c6</test></item>" ] } 2023-06-04 22:59:34 | [Mutex] notify: [retrieved:item:item-99f053f0-34d5-492d-a2df-f2d337a2b8c6:payload-matches:true:localhost] 2023-06-04 22:59:34 | [Mutex] received everything. 2023-06-04 22:59:34 | [Mutex] isItemNotified: retrieved:item:item-99f053f0-34d5-492d-a2df-f2d337a2b8c6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-06-04 22:59:34 |
2023-06-04 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:34 | ------------------------------------ 2023-06-04 22:59:34 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-06-04 22:59:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-4e883134-fb43-4568-8161-d40e21a380d6", "node-35195e9d-0634-4d3d-b42c-b69829c5d257" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-06-04 22:59:34 |
2023-06-04 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:34 | ------------------------------------ 2023-06-04 22:59:34 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-35195e9d-0634-4d3d-b42c-b69829c5d257)" } 2023-06-04 22:59:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2023-06-04 22:59:33 |
2023-06-04 22:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:33 | ------------------------------------ 2023-06-04 22:59:33 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257", "jids": [ "admin@test-domain.com" ] } 2023-06-04 22:59:33 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.026s |
2023-06-04 22:59:34 |
2023-06-04 22:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-06-04 22:59:34 | ------------------------------------ 2023-06-04 22:59:34 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-35195e9d-0634-4d3d-b42c-b69829c5d257", "jids": [ "admin@test-domain.com" ] } 2023-06-04 22:59:34 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |