Test duration : 8.562s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.097s |
2023-03-05 21:29:45 |
2023-03-05 21:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:45 | ------------------------------------ 2023-03-05 21:29:45 | [Mutex] waiting for: [configured:node:node-81438ade-367f-41ed-b736-cdaa7b65c9a8:node-8be111b6-2598-4305-8b3d-5cd5c2de06b0] 2023-03-05 21:29:45 | [Mutex] received everything. 2023-03-05 21:29:45 | [Mutex] isItemNotified: configured:node:node-81438ade-367f-41ed-b736-cdaa7b65c9a8:node-8be111b6-2598-4305-8b3d-5cd5c2de06b0 :: true 2023-03-05 21:29:46 | [Mutex] waiting for: [received:nodes:e89ca581-c157-4900-9971-e5763441640d:localhost] 2023-03-05 21:29:46 | [Mutex] waiting for: [received:nodes:e89ca581-c157-4900-9971-e5763441640d:localhost] 2023-03-05 21:29:46 | [Mutex] received everything. 2023-03-05 21:29:46 | [Mutex] isItemNotified: received:node:e89ca581-c157-4900-9971-e5763441640d:localhost:node-81438ade-367f-41ed-b736-cdaa7b65c9a8:Node 81438ade-367f-41ed-b736-cdaa7b65c9a8 :: true 2023-03-05 21:29:46 | [Mutex] waiting for: [received:nodes:b8ce4c41-0c60-4661-aa3a-fa6b4bb1471b:localhost] 2023-03-05 21:29:46 | [Mutex] received everything. 2023-03-05 21:29:46 | [Mutex] isItemNotified: received:node:b8ce4c41-0c60-4661-aa3a-fa6b4bb1471b:localhost:node-81438ade-367f-41ed-b736-cdaa7b65c9a8:Node 81438ade-367f-41ed-b736-cdaa7b65c9a8 :: false |
createNodes | 1.585s |
2023-03-05 21:29:42 |
2023-03-05 21:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:42 | ------------------------------------ 2023-03-05 21:29:43 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "pubsub#title": "Node 81438ade-367f-41ed-b736-cdaa7b65c9a8" } 2023-03-05 21:29:43 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 21:29:44 | [Mutex] waiting for: [received:nodes:f72ac120-0bfc-4d62-b717-d252211a25f7:localhost] 2023-03-05 21:29:44 | [Mutex] waiting for: [received:nodes:f72ac120-0bfc-4d62-b717-d252211a25f7:localhost] 2023-03-05 21:29:44 | [Mutex] waiting for: [received:nodes:f72ac120-0bfc-4d62-b717-d252211a25f7:localhost] 2023-03-05 21:29:44 | [Mutex] waiting for: [received:nodes:f72ac120-0bfc-4d62-b717-d252211a25f7:localhost] 2023-03-05 21:29:44 | [Mutex] received everything. 2023-03-05 21:29:44 | [Mutex] isItemNotified: received:node:f72ac120-0bfc-4d62-b717-d252211a25f7:localhost:node-81438ade-367f-41ed-b736-cdaa7b65c9a8:Node 81438ade-367f-41ed-b736-cdaa7b65c9a8 :: true |
createSubnodes | 1.025s |
2023-03-05 21:29:44 |
2023-03-05 21:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:44 | ------------------------------------ 2023-03-05 21:29:44 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-8be111b6-2598-4305-8b3d-5cd5c2de06b0", "pubsub#title": "Node 8be111b6-2598-4305-8b3d-5cd5c2de06b0" } 2023-03-05 21:29:44 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 21:29:45 | [Mutex] waiting for: [received:nodes:1e6a1bda-41c3-42c6-933f-c2f2abbb00d4:localhost] 2023-03-05 21:29:45 | [Mutex] waiting for: [received:nodes:1e6a1bda-41c3-42c6-933f-c2f2abbb00d4:localhost] 2023-03-05 21:29:45 | [Mutex] waiting for: [received:nodes:1e6a1bda-41c3-42c6-933f-c2f2abbb00d4:localhost] 2023-03-05 21:29:45 | [Mutex] waiting for: [received:nodes:1e6a1bda-41c3-42c6-933f-c2f2abbb00d4:localhost] 2023-03-05 21:29:45 | [Mutex] waiting for: [received:nodes:1e6a1bda-41c3-42c6-933f-c2f2abbb00d4:localhost] 2023-03-05 21:29:45 | [Mutex] received everything. 2023-03-05 21:29:45 | [Mutex] isItemNotified: received:node:1e6a1bda-41c3-42c6-933f-c2f2abbb00d4:localhost:node-8be111b6-2598-4305-8b3d-5cd5c2de06b0:Node 8be111b6-2598-4305-8b3d-5cd5c2de06b0 :: true |
deleteNodes | 1.021s |
2023-03-05 21:29:49 |
2023-03-05 21:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:49 | ------------------------------------ 2023-03-05 21:29:49 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8be111b6-2598-4305-8b3d-5cd5c2de06b0" } 2023-03-05 21:29:49 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 21:29:50 | [Mutex] waiting for: [received:nodes:d5726ebe-75c7-409b-ba46-711566017d22:localhost] 2023-03-05 21:29:50 | [Mutex] waiting for: [received:nodes:d5726ebe-75c7-409b-ba46-711566017d22:localhost] 2023-03-05 21:29:50 | [Mutex] waiting for: [received:nodes:d5726ebe-75c7-409b-ba46-711566017d22:localhost] 2023-03-05 21:29:50 | [Mutex] received everything. 2023-03-05 21:29:50 | [Mutex] isItemNotified: received:node:d5726ebe-75c7-409b-ba46-711566017d22:localhost:node-8be111b6-2598-4305-8b3d-5cd5c2de06b0:Node 8be111b6-2598-4305-8b3d-5cd5c2de06b0 :: false |
deleteSubnodes | 1.029s |
2023-03-05 21:29:48 |
2023-03-05 21:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:48 | ------------------------------------ 2023-03-05 21:29:48 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8" } 2023-03-05 21:29:48 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 21:29:49 | [Mutex] waiting for: [received:nodes:c3da2713-5082-460d-b903-adf56689823a:localhost] 2023-03-05 21:29:49 | [Mutex] waiting for: [received:nodes:c3da2713-5082-460d-b903-adf56689823a:localhost] 2023-03-05 21:29:49 | [Mutex] waiting for: [received:nodes:c3da2713-5082-460d-b903-adf56689823a:localhost] 2023-03-05 21:29:49 | [Mutex] waiting for: [received:nodes:c3da2713-5082-460d-b903-adf56689823a:localhost] 2023-03-05 21:29:49 | [Mutex] received everything. 2023-03-05 21:29:49 | [Mutex] isItemNotified: received:node:c3da2713-5082-460d-b903-adf56689823a:localhost:node-81438ade-367f-41ed-b736-cdaa7b65c9a8:Node 81438ade-367f-41ed-b736-cdaa7b65c9a8 :: false 2023-03-05 21:29:49 | [Mutex] waiting for: [received:nodes:8d9a8a6f-86fb-4c22-9a0f-bf4bebd66db6:localhost] 2023-03-05 21:29:49 | [Mutex] received everything. 2023-03-05 21:29:49 | [Mutex] isItemNotified: received:node:8d9a8a6f-86fb-4c22-9a0f-bf4bebd66db6:localhost:node-81438ade-367f-41ed-b736-cdaa7b65c9a8:Node 81438ade-367f-41ed-b736-cdaa7b65c9a8 :: false |
publishItemsToNodes | 0.025s |
2023-03-05 21:29:47 |
2023-03-05 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:47 | ------------------------------------ 2023-03-05 21:29:47 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "entry": "<test>item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c</test>", "item-id": "item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c" } 2023-03-05 21:29:47 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c" } 2023-03-05 21:29:47 | [Mutex] waiting for: [published:item:notifieditem-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c:admin@test-domain.com] 2023-03-05 21:29:47 | [Mutex] received everything. 2023-03-05 21:29:47 | [Mutex] isItemNotified: published:item:notifieditem-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2023-03-05 21:29:47 |
2023-03-05 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:47 | ------------------------------------ 2023-03-05 21:29:47 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "item-id": "item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c" } 2023-03-05 21:29:47 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c" } 2023-03-05 21:29:47 | [Mutex] received everything. 2023-03-05 21:29:47 | [Mutex] isItemNotified: retracted:item:notifieditem-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.069s |
2023-03-05 21:29:47 |
2023-03-05 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:47 | ------------------------------------ 2023-03-05 21:29:47 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "item-id": "item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c" } 2023-03-05 21:29:47 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "item-id": "item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c", "item": [ "<item id=\"item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c\"><test>item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c</test></item>" ] } 2023-03-05 21:29:47 | [Mutex] notify: [retrieved:item:item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c:payload-matches:true:localhost] 2023-03-05 21:29:47 | [Mutex] received everything. 2023-03-05 21:29:47 | [Mutex] isItemNotified: retrieved:item:item-4ce07064-e368-4f5c-a50e-9fe0ecdfce1c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-03-05 21:29:47 |
2023-03-05 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:47 | ------------------------------------ 2023-03-05 21:29:47 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-05 21:29:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "node-8be111b6-2598-4305-8b3d-5cd5c2de06b0" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-03-05 21:29:47 |
2023-03-05 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:47 | ------------------------------------ 2023-03-05 21:29:47 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-81438ade-367f-41ed-b736-cdaa7b65c9a8)" } 2023-03-05 21:29:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2023-03-05 21:29:46 |
2023-03-05 21:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:46 | ------------------------------------ 2023-03-05 21:29:46 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "jids": [ "admin@test-domain.com" ] } 2023-03-05 21:29:46 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.067s |
2023-03-05 21:29:47 |
2023-03-05 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 21:29:47 | ------------------------------------ 2023-03-05 21:29:47 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-81438ade-367f-41ed-b736-cdaa7b65c9a8", "jids": [ "admin@test-domain.com" ] } 2023-03-05 21:29:47 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |