Test duration : 9.317s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.107s |
2022-02-10 21:32:34 |
2022-02-10 21:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:34 | ------------------------------------ 2022-02-10 21:32:34 | [Mutex] waiting for: [configured:node:node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4:node-c85fb225-f788-4639-b1a1-c8aaca601719] 2022-02-10 21:32:34 | [Mutex] received everything. 2022-02-10 21:32:34 | [Mutex] isItemNotified: configured:node:node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4:node-c85fb225-f788-4639-b1a1-c8aaca601719 :: true 2022-02-10 21:32:35 | [Mutex] waiting for: [received:nodes:60b8a7eb-b9d9-4921-88c9-6636b7a94fda:localhost] 2022-02-10 21:32:35 | [Mutex] received everything. 2022-02-10 21:32:35 | [Mutex] isItemNotified: received:node:60b8a7eb-b9d9-4921-88c9-6636b7a94fda:localhost:node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4:Node 7bdcdf73-1ddc-4315-8aa9-694cb1e357f4 :: true 2022-02-10 21:32:35 | [Mutex] waiting for: [received:nodes:38506df9-9641-4f8d-9db3-5d86bb5a0be5:localhost] 2022-02-10 21:32:35 | [Mutex] waiting for: [received:nodes:38506df9-9641-4f8d-9db3-5d86bb5a0be5:localhost] 2022-02-10 21:32:35 | [Mutex] received everything. 2022-02-10 21:32:35 | [Mutex] isItemNotified: received:node:38506df9-9641-4f8d-9db3-5d86bb5a0be5:localhost:node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4:Node 7bdcdf73-1ddc-4315-8aa9-694cb1e357f4 :: false |
createNodes | 1.998s |
2022-02-10 21:32:31 |
2022-02-10 21:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:31 | ------------------------------------ 2022-02-10 21:32:32 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4", "pubsub#title": "Node 7bdcdf73-1ddc-4315-8aa9-694cb1e357f4" } 2022-02-10 21:32:32 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-10 21:32:33 | [Mutex] waiting for: [received:nodes:50a01a16-041b-4f36-b329-8fb2bd032859:localhost] 2022-02-10 21:32:33 | [Mutex] received everything. 2022-02-10 21:32:33 | [Mutex] isItemNotified: received:node:50a01a16-041b-4f36-b329-8fb2bd032859:localhost:node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4:Node 7bdcdf73-1ddc-4315-8aa9-694cb1e357f4 :: true |
createSubnodes | 1.023s |
2022-02-10 21:32:33 |
2022-02-10 21:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:33 | ------------------------------------ 2022-02-10 21:32:33 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-c85fb225-f788-4639-b1a1-c8aaca601719", "pubsub#title": "Node c85fb225-f788-4639-b1a1-c8aaca601719" } 2022-02-10 21:32:33 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-10 21:32:34 | [Mutex] waiting for: [received:nodes:c8689b1c-7fd4-4af8-92b8-8b92bd467b47:localhost] 2022-02-10 21:32:34 | [Mutex] received everything. 2022-02-10 21:32:34 | [Mutex] isItemNotified: received:node:c8689b1c-7fd4-4af8-92b8-8b92bd467b47:localhost:node-c85fb225-f788-4639-b1a1-c8aaca601719:Node c85fb225-f788-4639-b1a1-c8aaca601719 :: true |
deleteNodes | 1.022s |
2022-02-10 21:32:39 |
2022-02-10 21:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:39 | ------------------------------------ 2022-02-10 21:32:39 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c85fb225-f788-4639-b1a1-c8aaca601719" } 2022-02-10 21:32:39 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-10 21:32:40 | [Mutex] waiting for: [received:nodes:4aaf8173-9bc8-4f96-bd8f-6fbf3fedd459:localhost] 2022-02-10 21:32:40 | [Mutex] waiting for: [received:nodes:4aaf8173-9bc8-4f96-bd8f-6fbf3fedd459:localhost] 2022-02-10 21:32:40 | [Mutex] received everything. 2022-02-10 21:32:40 | [Mutex] isItemNotified: received:node:4aaf8173-9bc8-4f96-bd8f-6fbf3fedd459:localhost:node-c85fb225-f788-4639-b1a1-c8aaca601719:Node c85fb225-f788-4639-b1a1-c8aaca601719 :: false |
deleteSubnodes | 1.031s |
2022-02-10 21:32:38 |
2022-02-10 21:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:38 | ------------------------------------ 2022-02-10 21:32:38 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4" } 2022-02-10 21:32:38 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-02-10 21:32:39 | [Mutex] waiting for: [received:nodes:8ae216e0-2485-44fe-9f69-10d480aa58c1:localhost] 2022-02-10 21:32:39 | [Mutex] received everything. 2022-02-10 21:32:39 | [Mutex] isItemNotified: received:node:8ae216e0-2485-44fe-9f69-10d480aa58c1:localhost:node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4:Node 7bdcdf73-1ddc-4315-8aa9-694cb1e357f4 :: false 2022-02-10 21:32:39 | [Mutex] waiting for: [received:nodes:eff35cc8-c9bd-47ef-90c5-3d5a2ccf0a9e:localhost] 2022-02-10 21:32:39 | [Mutex] received everything. 2022-02-10 21:32:39 | [Mutex] isItemNotified: received:node:eff35cc8-c9bd-47ef-90c5-3d5a2ccf0a9e:localhost:node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4:Node 7bdcdf73-1ddc-4315-8aa9-694cb1e357f4 :: false |
publishItemsToNodes | 0.077s |
2022-02-10 21:32:36 |
2022-02-10 21:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:36 | ------------------------------------ 2022-02-10 21:32:36 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4", "entry": "<test>item-5c64e607-b646-43f4-8558-777d3609e3a1</test>", "item-id": "item-5c64e607-b646-43f4-8558-777d3609e3a1" } 2022-02-10 21:32:36 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-5c64e607-b646-43f4-8558-777d3609e3a1" } 2022-02-10 21:32:36 | [Mutex] waiting for: [published:item:notifieditem-5c64e607-b646-43f4-8558-777d3609e3a1:admin@test-domain.com] 2022-02-10 21:32:36 | [Mutex] received everything. 2022-02-10 21:32:36 | [Mutex] isItemNotified: published:item:notifieditem-5c64e607-b646-43f4-8558-777d3609e3a1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.109s |
2022-02-10 21:32:37 |
2022-02-10 21:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:37 | ------------------------------------ 2022-02-10 21:32:37 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4", "item-id": "item-5c64e607-b646-43f4-8558-777d3609e3a1" } 2022-02-10 21:32:37 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-5c64e607-b646-43f4-8558-777d3609e3a1" } 2022-02-10 21:32:37 | [Mutex] waiting for: [retracted:item:notifieditem-5c64e607-b646-43f4-8558-777d3609e3a1:admin@test-domain.com] 2022-02-10 21:32:37 | [Mutex] received everything. 2022-02-10 21:32:37 | [Mutex] isItemNotified: retracted:item:notifieditem-5c64e607-b646-43f4-8558-777d3609e3a1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.097s |
2022-02-10 21:32:36 |
2022-02-10 21:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:36 | ------------------------------------ 2022-02-10 21:32:36 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4", "item-id": "item-5c64e607-b646-43f4-8558-777d3609e3a1" } 2022-02-10 21:32:37 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4", "item-id": "item-5c64e607-b646-43f4-8558-777d3609e3a1", "item": [ "<item id=\"item-5c64e607-b646-43f4-8558-777d3609e3a1\"><test>item-5c64e607-b646-43f4-8558-777d3609e3a1</test></item>" ] } 2022-02-10 21:32:37 | [Mutex] notify: [retrieved:item:item-5c64e607-b646-43f4-8558-777d3609e3a1:payload-matches:true:localhost] 2022-02-10 21:32:37 | [Mutex] received everything. 2022-02-10 21:32:37 | [Mutex] isItemNotified: retrieved:item:item-5c64e607-b646-43f4-8558-777d3609e3a1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-02-10 21:32:37 |
2022-02-10 21:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:37 | ------------------------------------ 2022-02-10 21:32:37 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-02-10 21:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-c85fb225-f788-4639-b1a1-c8aaca601719", "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-02-10 21:32:37 |
2022-02-10 21:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:37 | ------------------------------------ 2022-02-10 21:32:37 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4)" } 2022-02-10 21:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2022-02-10 21:32:35 |
2022-02-10 21:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:35 | ------------------------------------ 2022-02-10 21:32:35 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4", "jids": [ "admin@test-domain.com" ] } 2022-02-10 21:32:35 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.021s |
2022-02-10 21:32:37 |
2022-02-10 21:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-02-10 21:32:37 | ------------------------------------ 2022-02-10 21:32:37 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-7bdcdf73-1ddc-4315-8aa9-694cb1e357f4", "jids": [ "admin@test-domain.com" ] } 2022-02-10 21:32:37 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |