Test duration : 8.591s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.104s |
2023-03-26 23:02:32 |
2023-03-26 23:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:32 | ------------------------------------ 2023-03-26 23:02:32 | [Mutex] waiting for: [configured:node:node-8f01bdac-357d-4396-a8da-21f8aa875711:node-e342e9db-f835-4072-b89e-97a55ddaabd1] 2023-03-26 23:02:32 | [Mutex] received everything. 2023-03-26 23:02:32 | [Mutex] isItemNotified: configured:node:node-8f01bdac-357d-4396-a8da-21f8aa875711:node-e342e9db-f835-4072-b89e-97a55ddaabd1 :: true 2023-03-26 23:02:33 | [Mutex] waiting for: [received:nodes:642629e0-ce57-46c8-b618-4ee52b04717e:localhost] 2023-03-26 23:02:33 | [Mutex] received everything. 2023-03-26 23:02:33 | [Mutex] isItemNotified: received:node:642629e0-ce57-46c8-b618-4ee52b04717e:localhost:node-8f01bdac-357d-4396-a8da-21f8aa875711:Node 8f01bdac-357d-4396-a8da-21f8aa875711 :: true 2023-03-26 23:02:33 | [Mutex] waiting for: [received:nodes:e49c96b8-6f12-49b2-a14f-9882e64125e7:localhost] 2023-03-26 23:02:33 | [Mutex] waiting for: [received:nodes:e49c96b8-6f12-49b2-a14f-9882e64125e7:localhost] 2023-03-26 23:02:33 | [Mutex] waiting for: [received:nodes:e49c96b8-6f12-49b2-a14f-9882e64125e7:localhost] 2023-03-26 23:02:33 | [Mutex] waiting for: [received:nodes:e49c96b8-6f12-49b2-a14f-9882e64125e7:localhost] 2023-03-26 23:02:33 | [Mutex] received everything. 2023-03-26 23:02:33 | [Mutex] isItemNotified: received:node:e49c96b8-6f12-49b2-a14f-9882e64125e7:localhost:node-8f01bdac-357d-4396-a8da-21f8aa875711:Node 8f01bdac-357d-4396-a8da-21f8aa875711 :: false |
createNodes | 1.515s |
2023-03-26 23:02:29 |
2023-03-26 23:02:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:29 | ------------------------------------ 2023-03-26 23:02:29 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711", "pubsub#title": "Node 8f01bdac-357d-4396-a8da-21f8aa875711" } 2023-03-26 23:02:30 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 23:02:31 | [Mutex] waiting for: [received:nodes:d351c316-3e57-4ea8-845b-8b827086920b:localhost] 2023-03-26 23:02:31 | [Mutex] waiting for: [received:nodes:d351c316-3e57-4ea8-845b-8b827086920b:localhost] 2023-03-26 23:02:31 | [Mutex] waiting for: [received:nodes:d351c316-3e57-4ea8-845b-8b827086920b:localhost] 2023-03-26 23:02:31 | [Mutex] waiting for: [received:nodes:d351c316-3e57-4ea8-845b-8b827086920b:localhost] 2023-03-26 23:02:31 | [Mutex] received everything. 2023-03-26 23:02:31 | [Mutex] isItemNotified: received:node:d351c316-3e57-4ea8-845b-8b827086920b:localhost:node-8f01bdac-357d-4396-a8da-21f8aa875711:Node 8f01bdac-357d-4396-a8da-21f8aa875711 :: true |
createSubnodes | 1.020s |
2023-03-26 23:02:31 |
2023-03-26 23:02:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:31 | ------------------------------------ 2023-03-26 23:02: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-e342e9db-f835-4072-b89e-97a55ddaabd1", "pubsub#title": "Node e342e9db-f835-4072-b89e-97a55ddaabd1" } 2023-03-26 23:02:31 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 23:02:32 | [Mutex] waiting for: [received:nodes:b278993b-c557-4c20-bc1d-8ae3faad85c4:localhost] 2023-03-26 23:02:32 | [Mutex] waiting for: [received:nodes:b278993b-c557-4c20-bc1d-8ae3faad85c4:localhost] 2023-03-26 23:02:32 | [Mutex] waiting for: [received:nodes:b278993b-c557-4c20-bc1d-8ae3faad85c4:localhost] 2023-03-26 23:02:32 | [Mutex] waiting for: [received:nodes:b278993b-c557-4c20-bc1d-8ae3faad85c4:localhost] 2023-03-26 23:02:32 | [Mutex] received everything. 2023-03-26 23:02:32 | [Mutex] isItemNotified: received:node:b278993b-c557-4c20-bc1d-8ae3faad85c4:localhost:node-e342e9db-f835-4072-b89e-97a55ddaabd1:Node e342e9db-f835-4072-b89e-97a55ddaabd1 :: true |
deleteNodes | 1.020s |
2023-03-26 23:02:36 |
2023-03-26 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:36 | ------------------------------------ 2023-03-26 23:02:36 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e342e9db-f835-4072-b89e-97a55ddaabd1" } 2023-03-26 23:02:36 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 23:02:37 | [Mutex] waiting for: [received:nodes:061f840c-6575-4d1f-8a8d-41225de4bbe5:localhost] 2023-03-26 23:02:37 | [Mutex] waiting for: [received:nodes:061f840c-6575-4d1f-8a8d-41225de4bbe5:localhost] 2023-03-26 23:02:37 | [Mutex] waiting for: [received:nodes:061f840c-6575-4d1f-8a8d-41225de4bbe5:localhost] 2023-03-26 23:02:37 | [Mutex] received everything. 2023-03-26 23:02:37 | [Mutex] isItemNotified: received:node:061f840c-6575-4d1f-8a8d-41225de4bbe5:localhost:node-e342e9db-f835-4072-b89e-97a55ddaabd1:Node e342e9db-f835-4072-b89e-97a55ddaabd1 :: false |
deleteSubnodes | 1.023s |
2023-03-26 23:02:35 |
2023-03-26 23:02:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:35 | ------------------------------------ 2023-03-26 23:02:35 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711" } 2023-03-26 23:02:35 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-26 23:02:36 | [Mutex] waiting for: [received:nodes:10c4c93d-b5f3-4d4a-8762-9ee9692b9c26:localhost] 2023-03-26 23:02:36 | [Mutex] waiting for: [received:nodes:10c4c93d-b5f3-4d4a-8762-9ee9692b9c26:localhost] 2023-03-26 23:02:36 | [Mutex] waiting for: [received:nodes:10c4c93d-b5f3-4d4a-8762-9ee9692b9c26:localhost] 2023-03-26 23:02:36 | [Mutex] received everything. 2023-03-26 23:02:36 | [Mutex] isItemNotified: received:node:10c4c93d-b5f3-4d4a-8762-9ee9692b9c26:localhost:node-8f01bdac-357d-4396-a8da-21f8aa875711:Node 8f01bdac-357d-4396-a8da-21f8aa875711 :: false 2023-03-26 23:02:36 | [Mutex] waiting for: [received:nodes:d28edac6-8f24-4985-9c8f-d6fe5c4c636a:localhost] 2023-03-26 23:02:36 | [Mutex] received everything. 2023-03-26 23:02:36 | [Mutex] isItemNotified: received:node:d28edac6-8f24-4985-9c8f-d6fe5c4c636a:localhost:node-8f01bdac-357d-4396-a8da-21f8aa875711:Node 8f01bdac-357d-4396-a8da-21f8aa875711 :: false |
publishItemsToNodes | 0.062s |
2023-03-26 23:02:34 |
2023-03-26 23:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:34 | ------------------------------------ 2023-03-26 23:02:34 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711", "entry": "<test>item-00ab6333-f160-4d09-8b43-822887218032</test>", "item-id": "item-00ab6333-f160-4d09-8b43-822887218032" } 2023-03-26 23:02:34 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-00ab6333-f160-4d09-8b43-822887218032" } 2023-03-26 23:02:34 | [Mutex] waiting for: [published:item:notifieditem-00ab6333-f160-4d09-8b43-822887218032:admin@test-domain.com] 2023-03-26 23:02:34 | [Mutex] received everything. 2023-03-26 23:02:34 | [Mutex] isItemNotified: published:item:notifieditem-00ab6333-f160-4d09-8b43-822887218032:admin@test-domain.com :: true |
retractItemsFromNodes | 0.063s |
2023-03-26 23:02:34 |
2023-03-26 23:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:34 | ------------------------------------ 2023-03-26 23:02:34 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711", "item-id": "item-00ab6333-f160-4d09-8b43-822887218032" } 2023-03-26 23:02:34 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-00ab6333-f160-4d09-8b43-822887218032" } 2023-03-26 23:02:34 | [Mutex] received everything. 2023-03-26 23:02:34 | [Mutex] isItemNotified: retracted:item:notifieditem-00ab6333-f160-4d09-8b43-822887218032:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.032s |
2023-03-26 23:02:34 |
2023-03-26 23:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:34 | ------------------------------------ 2023-03-26 23:02:34 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711", "item-id": "item-00ab6333-f160-4d09-8b43-822887218032" } 2023-03-26 23:02:34 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711", "item-id": "item-00ab6333-f160-4d09-8b43-822887218032", "item": [ "<item id=\"item-00ab6333-f160-4d09-8b43-822887218032\"><test>item-00ab6333-f160-4d09-8b43-822887218032</test></item>" ] } 2023-03-26 23:02:34 | [Mutex] notify: [retrieved:item:item-00ab6333-f160-4d09-8b43-822887218032:payload-matches:true:localhost] 2023-03-26 23:02:34 | [Mutex] received everything. 2023-03-26 23:02:34 | [Mutex] isItemNotified: retrieved:item:item-00ab6333-f160-4d09-8b43-822887218032:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2023-03-26 23:02:34 |
2023-03-26 23:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:34 | ------------------------------------ 2023-03-26 23:02:34 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-26 23:02:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-e342e9db-f835-4072-b89e-97a55ddaabd1", "node-8f01bdac-357d-4396-a8da-21f8aa875711" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-03-26 23:02:34 |
2023-03-26 23:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:34 | ------------------------------------ 2023-03-26 23:02:34 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-8f01bdac-357d-4396-a8da-21f8aa875711)" } 2023-03-26 23:02:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.024s |
2023-03-26 23:02:33 |
2023-03-26 23:02:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:33 | ------------------------------------ 2023-03-26 23:02:33 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711", "jids": [ "admin@test-domain.com" ] } 2023-03-26 23:02:33 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.107s |
2023-03-26 23:02:34 |
2023-03-26 23:02:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-26 23:02:34 | ------------------------------------ 2023-03-26 23:02:34 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-8f01bdac-357d-4396-a8da-21f8aa875711", "jids": [ "admin@test-domain.com" ] } 2023-03-26 23:02:34 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |