Test duration : 8.531s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.100s |
2023-05-04 22:30:16 |
2023-05-04 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:16 | ------------------------------------ 2023-05-04 22:30:16 | [Mutex] waiting for: [configured:node:node-79f61c55-fc49-4231-a5bb-1773699cc629:node-7ed7c96b-97ec-4ce0-ba8a-641859511aa6] 2023-05-04 22:30:16 | [Mutex] received everything. 2023-05-04 22:30:16 | [Mutex] isItemNotified: configured:node:node-79f61c55-fc49-4231-a5bb-1773699cc629:node-7ed7c96b-97ec-4ce0-ba8a-641859511aa6 :: true 2023-05-04 22:30:17 | [Mutex] waiting for: [received:nodes:dd320a43-b07a-4dc2-9568-13fb7b1f6f74:localhost] 2023-05-04 22:30:17 | [Mutex] received everything. 2023-05-04 22:30:17 | [Mutex] isItemNotified: received:node:dd320a43-b07a-4dc2-9568-13fb7b1f6f74:localhost:node-79f61c55-fc49-4231-a5bb-1773699cc629:Node 79f61c55-fc49-4231-a5bb-1773699cc629 :: true 2023-05-04 22:30:17 | [Mutex] waiting for: [received:nodes:1f0aa328-7bf2-4f7f-aacc-bbb1ace5c510:localhost] 2023-05-04 22:30:17 | [Mutex] waiting for: [received:nodes:1f0aa328-7bf2-4f7f-aacc-bbb1ace5c510:localhost] 2023-05-04 22:30:17 | [Mutex] waiting for: [received:nodes:1f0aa328-7bf2-4f7f-aacc-bbb1ace5c510:localhost] 2023-05-04 22:30:17 | [Mutex] received everything. 2023-05-04 22:30:17 | [Mutex] isItemNotified: received:node:1f0aa328-7bf2-4f7f-aacc-bbb1ace5c510:localhost:node-79f61c55-fc49-4231-a5bb-1773699cc629:Node 79f61c55-fc49-4231-a5bb-1773699cc629 :: false |
createNodes | 1.593s |
2023-05-04 22:30:14 |
2023-05-04 22:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:14 | ------------------------------------ 2023-05-04 22:30:14 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629", "pubsub#title": "Node 79f61c55-fc49-4231-a5bb-1773699cc629" } 2023-05-04 22:30:14 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-05-04 22:30:15 | [Mutex] waiting for: [received:nodes:3194f23c-0d56-49d6-9685-77ea6fb60f5d:localhost] 2023-05-04 22:30:15 | [Mutex] waiting for: [received:nodes:3194f23c-0d56-49d6-9685-77ea6fb60f5d:localhost] 2023-05-04 22:30:15 | [Mutex] waiting for: [received:nodes:3194f23c-0d56-49d6-9685-77ea6fb60f5d:localhost] 2023-05-04 22:30:15 | [Mutex] received everything. 2023-05-04 22:30:15 | [Mutex] isItemNotified: received:node:3194f23c-0d56-49d6-9685-77ea6fb60f5d:localhost:node-79f61c55-fc49-4231-a5bb-1773699cc629:Node 79f61c55-fc49-4231-a5bb-1773699cc629 :: true |
createSubnodes | 1.023s |
2023-05-04 22:30:15 |
2023-05-04 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:15 | ------------------------------------ 2023-05-04 22:30:15 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-7ed7c96b-97ec-4ce0-ba8a-641859511aa6", "pubsub#title": "Node 7ed7c96b-97ec-4ce0-ba8a-641859511aa6" } 2023-05-04 22:30:15 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-05-04 22:30:16 | [Mutex] waiting for: [received:nodes:7ab74453-920d-4ffb-bdf0-4884608badd1:localhost] 2023-05-04 22:30:16 | [Mutex] waiting for: [received:nodes:7ab74453-920d-4ffb-bdf0-4884608badd1:localhost] 2023-05-04 22:30:16 | [Mutex] waiting for: [received:nodes:7ab74453-920d-4ffb-bdf0-4884608badd1:localhost] 2023-05-04 22:30:16 | [Mutex] received everything. 2023-05-04 22:30:16 | [Mutex] isItemNotified: received:node:7ab74453-920d-4ffb-bdf0-4884608badd1:localhost:node-7ed7c96b-97ec-4ce0-ba8a-641859511aa6:Node 7ed7c96b-97ec-4ce0-ba8a-641859511aa6 :: true |
deleteNodes | 1.028s |
2023-05-04 22:30:21 |
2023-05-04 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:21 | ------------------------------------ 2023-05-04 22:30:21 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7ed7c96b-97ec-4ce0-ba8a-641859511aa6" } 2023-05-04 22:30:21 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-05-04 22:30:22 | [Mutex] waiting for: [received:nodes:503f1133-64e5-4b3c-9086-d55fbf698131:localhost] 2023-05-04 22:30:22 | [Mutex] waiting for: [received:nodes:503f1133-64e5-4b3c-9086-d55fbf698131:localhost] 2023-05-04 22:30:22 | [Mutex] waiting for: [received:nodes:503f1133-64e5-4b3c-9086-d55fbf698131:localhost] 2023-05-04 22:30:22 | [Mutex] received everything. 2023-05-04 22:30:22 | [Mutex] isItemNotified: received:node:503f1133-64e5-4b3c-9086-d55fbf698131:localhost:node-7ed7c96b-97ec-4ce0-ba8a-641859511aa6:Node 7ed7c96b-97ec-4ce0-ba8a-641859511aa6 :: false |
deleteSubnodes | 1.028s |
2023-05-04 22:30:20 |
2023-05-04 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:20 | ------------------------------------ 2023-05-04 22:30:20 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629" } 2023-05-04 22:30:20 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-05-04 22:30:21 | [Mutex] waiting for: [received:nodes:080d4253-511a-44b6-93b9-a751f8672858:localhost] 2023-05-04 22:30:21 | [Mutex] waiting for: [received:nodes:080d4253-511a-44b6-93b9-a751f8672858:localhost] 2023-05-04 22:30:21 | [Mutex] waiting for: [received:nodes:080d4253-511a-44b6-93b9-a751f8672858:localhost] 2023-05-04 22:30:21 | [Mutex] waiting for: [received:nodes:080d4253-511a-44b6-93b9-a751f8672858:localhost] 2023-05-04 22:30:21 | [Mutex] received everything. 2023-05-04 22:30:21 | [Mutex] isItemNotified: received:node:080d4253-511a-44b6-93b9-a751f8672858:localhost:node-79f61c55-fc49-4231-a5bb-1773699cc629:Node 79f61c55-fc49-4231-a5bb-1773699cc629 :: false 2023-05-04 22:30:21 | [Mutex] waiting for: [received:nodes:176de4da-ffae-4cc5-9759-659d7233b7d0:localhost] 2023-05-04 22:30:21 | [Mutex] received everything. 2023-05-04 22:30:21 | [Mutex] isItemNotified: received:node:176de4da-ffae-4cc5-9759-659d7233b7d0:localhost:node-79f61c55-fc49-4231-a5bb-1773699cc629:Node 79f61c55-fc49-4231-a5bb-1773699cc629 :: false |
publishItemsToNodes | 0.052s |
2023-05-04 22:30:18 |
2023-05-04 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:18 | ------------------------------------ 2023-05-04 22:30:18 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629", "entry": "<test>item-39418b1e-170c-4e70-ad78-96231cd8f0af</test>", "item-id": "item-39418b1e-170c-4e70-ad78-96231cd8f0af" } 2023-05-04 22:30:18 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-39418b1e-170c-4e70-ad78-96231cd8f0af" } 2023-05-04 22:30:18 | [Mutex] waiting for: [published:item:notifieditem-39418b1e-170c-4e70-ad78-96231cd8f0af:admin@test-domain.com] 2023-05-04 22:30:18 | [Mutex] received everything. 2023-05-04 22:30:18 | [Mutex] isItemNotified: published:item:notifieditem-39418b1e-170c-4e70-ad78-96231cd8f0af:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2023-05-04 22:30:19 |
2023-05-04 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:19 | ------------------------------------ 2023-05-04 22:30:19 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629", "item-id": "item-39418b1e-170c-4e70-ad78-96231cd8f0af" } 2023-05-04 22:30:19 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-39418b1e-170c-4e70-ad78-96231cd8f0af" } 2023-05-04 22:30:19 | [Mutex] received everything. 2023-05-04 22:30:19 | [Mutex] isItemNotified: retracted:item:notifieditem-39418b1e-170c-4e70-ad78-96231cd8f0af:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.013s |
2023-05-04 22:30:18 |
2023-05-04 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:18 | ------------------------------------ 2023-05-04 22:30:18 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629", "item-id": "item-39418b1e-170c-4e70-ad78-96231cd8f0af" } 2023-05-04 22:30:18 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629", "item-id": "item-39418b1e-170c-4e70-ad78-96231cd8f0af", "item": [ "<item id=\"item-39418b1e-170c-4e70-ad78-96231cd8f0af\"><test>item-39418b1e-170c-4e70-ad78-96231cd8f0af</test></item>" ] } 2023-05-04 22:30:18 | [Mutex] notify: [retrieved:item:item-39418b1e-170c-4e70-ad78-96231cd8f0af:payload-matches:true:localhost] 2023-05-04 22:30:18 | [Mutex] received everything. 2023-05-04 22:30:18 | [Mutex] isItemNotified: retrieved:item:item-39418b1e-170c-4e70-ad78-96231cd8f0af:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2023-05-04 22:30:18 |
2023-05-04 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:18 | ------------------------------------ 2023-05-04 22:30:18 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-05-04 22:30:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-7ed7c96b-97ec-4ce0-ba8a-641859511aa6", "node-79f61c55-fc49-4231-a5bb-1773699cc629" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2023-05-04 22:30:19 |
2023-05-04 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:19 | ------------------------------------ 2023-05-04 22:30:19 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-79f61c55-fc49-4231-a5bb-1773699cc629)" } 2023-05-04 22:30:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.022s |
2023-05-04 22:30:17 |
2023-05-04 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:17 | ------------------------------------ 2023-05-04 22:30:17 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629", "jids": [ "admin@test-domain.com" ] } 2023-05-04 22:30:17 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.080s |
2023-05-04 22:30:19 |
2023-05-04 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-05-04 22:30:19 | ------------------------------------ 2023-05-04 22:30:19 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-79f61c55-fc49-4231-a5bb-1773699cc629", "jids": [ "admin@test-domain.com" ] } 2023-05-04 22:30:19 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |