Test duration : 8.545s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.094s |
2022-06-17 22:32:09 |
2022-06-17 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:09 | ------------------------------------ 2022-06-17 22:32:09 | [Mutex] waiting for: [configured:node:node-d2f7c548-ab68-4d83-9817-d7ca2575bd33:node-f91d2767-1076-4c12-88c8-d9d650c56a21] 2022-06-17 22:32:09 | [Mutex] received everything. 2022-06-17 22:32:09 | [Mutex] isItemNotified: configured:node:node-d2f7c548-ab68-4d83-9817-d7ca2575bd33:node-f91d2767-1076-4c12-88c8-d9d650c56a21 :: true 2022-06-17 22:32:10 | [Mutex] waiting for: [received:nodes:b7305b55-3cc4-49ee-9b49-bf268ffc69f3:localhost] 2022-06-17 22:32:10 | [Mutex] received everything. 2022-06-17 22:32:10 | [Mutex] isItemNotified: received:node:b7305b55-3cc4-49ee-9b49-bf268ffc69f3:localhost:node-d2f7c548-ab68-4d83-9817-d7ca2575bd33:Node d2f7c548-ab68-4d83-9817-d7ca2575bd33 :: true 2022-06-17 22:32:10 | [Mutex] waiting for: [received:nodes:cd71d311-1d4c-4e78-9030-de004d5b3628:localhost] 2022-06-17 22:32:10 | [Mutex] received everything. 2022-06-17 22:32:10 | [Mutex] isItemNotified: received:node:cd71d311-1d4c-4e78-9030-de004d5b3628:localhost:node-d2f7c548-ab68-4d83-9817-d7ca2575bd33:Node d2f7c548-ab68-4d83-9817-d7ca2575bd33 :: false |
createNodes | 1.562s |
2022-06-17 22:32:07 |
2022-06-17 22:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:07 | ------------------------------------ 2022-06-17 22:32:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "pubsub#title": "Node d2f7c548-ab68-4d83-9817-d7ca2575bd33" } 2022-06-17 22:32:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-17 22:32:08 | [Mutex] waiting for: [received:nodes:5109e004-38b4-4670-bbda-093b87c2679d:localhost] 2022-06-17 22:32:08 | [Mutex] received everything. 2022-06-17 22:32:08 | [Mutex] isItemNotified: received:node:5109e004-38b4-4670-bbda-093b87c2679d:localhost:node-d2f7c548-ab68-4d83-9817-d7ca2575bd33:Node d2f7c548-ab68-4d83-9817-d7ca2575bd33 :: true |
createSubnodes | 1.024s |
2022-06-17 22:32:08 |
2022-06-17 22:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:08 | ------------------------------------ 2022-06-17 22:32:08 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-f91d2767-1076-4c12-88c8-d9d650c56a21", "pubsub#title": "Node f91d2767-1076-4c12-88c8-d9d650c56a21" } 2022-06-17 22:32:08 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-17 22:32:09 | [Mutex] waiting for: [received:nodes:613fa5a2-e685-45e3-9339-cdb62014e2f9:localhost] 2022-06-17 22:32:09 | [Mutex] received everything. 2022-06-17 22:32:09 | [Mutex] isItemNotified: received:node:613fa5a2-e685-45e3-9339-cdb62014e2f9:localhost:node-f91d2767-1076-4c12-88c8-d9d650c56a21:Node f91d2767-1076-4c12-88c8-d9d650c56a21 :: true |
deleteNodes | 1.019s |
2022-06-17 22:32:14 |
2022-06-17 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:14 | ------------------------------------ 2022-06-17 22:32:14 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f91d2767-1076-4c12-88c8-d9d650c56a21" } 2022-06-17 22:32:14 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-17 22:32:15 | [Mutex] waiting for: [received:nodes:a9ffbd30-032e-4114-9162-f1621ca16147:localhost] 2022-06-17 22:32:15 | [Mutex] waiting for: [received:nodes:a9ffbd30-032e-4114-9162-f1621ca16147:localhost] 2022-06-17 22:32:15 | [Mutex] waiting for: [received:nodes:a9ffbd30-032e-4114-9162-f1621ca16147:localhost] 2022-06-17 22:32:15 | [Mutex] waiting for: [received:nodes:a9ffbd30-032e-4114-9162-f1621ca16147:localhost] 2022-06-17 22:32:15 | [Mutex] received everything. 2022-06-17 22:32:15 | [Mutex] isItemNotified: received:node:a9ffbd30-032e-4114-9162-f1621ca16147:localhost:node-f91d2767-1076-4c12-88c8-d9d650c56a21:Node f91d2767-1076-4c12-88c8-d9d650c56a21 :: false |
deleteSubnodes | 1.063s |
2022-06-17 22:32:13 |
2022-06-17 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:13 | ------------------------------------ 2022-06-17 22:32:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33" } 2022-06-17 22:32:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:c7331ef5-400f-4820-826e-3b34d1b553e1:localhost] 2022-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:c7331ef5-400f-4820-826e-3b34d1b553e1:localhost] 2022-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:c7331ef5-400f-4820-826e-3b34d1b553e1:localhost] 2022-06-17 22:32:14 | [Mutex] received everything. 2022-06-17 22:32:14 | [Mutex] isItemNotified: received:node:c7331ef5-400f-4820-826e-3b34d1b553e1:localhost:node-d2f7c548-ab68-4d83-9817-d7ca2575bd33:Node d2f7c548-ab68-4d83-9817-d7ca2575bd33 :: false 2022-06-17 22:32:14 | [Mutex] waiting for: [received:nodes:8a4d96c5-f599-4257-b4de-96986310a724:localhost] 2022-06-17 22:32:14 | [Mutex] received everything. 2022-06-17 22:32:14 | [Mutex] isItemNotified: received:node:8a4d96c5-f599-4257-b4de-96986310a724:localhost:node-d2f7c548-ab68-4d83-9817-d7ca2575bd33:Node d2f7c548-ab68-4d83-9817-d7ca2575bd33 :: false |
publishItemsToNodes | 0.029s |
2022-06-17 22:32:11 |
2022-06-17 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:11 | ------------------------------------ 2022-06-17 22:32:11 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "entry": "<test>item-fb533888-7d15-48b1-8546-69292aa82068</test>", "item-id": "item-fb533888-7d15-48b1-8546-69292aa82068" } 2022-06-17 22:32:11 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-fb533888-7d15-48b1-8546-69292aa82068" } 2022-06-17 22:32:11 | [Mutex] waiting for: [published:item:notifieditem-fb533888-7d15-48b1-8546-69292aa82068:admin@test-domain.com] 2022-06-17 22:32:11 | [Mutex] received everything. 2022-06-17 22:32:11 | [Mutex] isItemNotified: published:item:notifieditem-fb533888-7d15-48b1-8546-69292aa82068:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2022-06-17 22:32:12 |
2022-06-17 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:12 | ------------------------------------ 2022-06-17 22:32:12 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "item-id": "item-fb533888-7d15-48b1-8546-69292aa82068" } 2022-06-17 22:32:12 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-fb533888-7d15-48b1-8546-69292aa82068" } 2022-06-17 22:32:12 | [Mutex] received everything. 2022-06-17 22:32:12 | [Mutex] isItemNotified: retracted:item:notifieditem-fb533888-7d15-48b1-8546-69292aa82068:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.070s |
2022-06-17 22:32:11 |
2022-06-17 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:11 | ------------------------------------ 2022-06-17 22:32:11 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "item-id": "item-fb533888-7d15-48b1-8546-69292aa82068" } 2022-06-17 22:32:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "item-id": "item-fb533888-7d15-48b1-8546-69292aa82068", "item": [ "<item id=\"item-fb533888-7d15-48b1-8546-69292aa82068\"><test>item-fb533888-7d15-48b1-8546-69292aa82068</test></item>" ] } 2022-06-17 22:32:11 | [Mutex] notify: [retrieved:item:item-fb533888-7d15-48b1-8546-69292aa82068:payload-matches:true:localhost] 2022-06-17 22:32:11 | [Mutex] received everything. 2022-06-17 22:32:11 | [Mutex] isItemNotified: retrieved:item:item-fb533888-7d15-48b1-8546-69292aa82068:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-06-17 22:32:11 |
2022-06-17 22:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:11 | ------------------------------------ 2022-06-17 22:32:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-06-17 22:32:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "node-f91d2767-1076-4c12-88c8-d9d650c56a21" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2022-06-17 22:32:12 |
2022-06-17 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:12 | ------------------------------------ 2022-06-17 22:32:12 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d2f7c548-ab68-4d83-9817-d7ca2575bd33)" } 2022-06-17 22:32:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.017s |
2022-06-17 22:32:10 |
2022-06-17 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:10 | ------------------------------------ 2022-06-17 22:32:10 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "jids": [ "admin@test-domain.com" ] } 2022-06-17 22:32:10 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.055s |
2022-06-17 22:32:12 |
2022-06-17 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-06-17 22:32:12 | ------------------------------------ 2022-06-17 22:32:12 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d2f7c548-ab68-4d83-9817-d7ca2575bd33", "jids": [ "admin@test-domain.com" ] } 2022-06-17 22:32:12 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |