Test duration : 8.565s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.026s |
2022-09-05 22:32:25 |
2022-09-05 22:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:25 | ------------------------------------ 2022-09-05 22:32:25 | [Mutex] waiting for: [configured:node:node-48b52670-d65a-491b-8cf5-412804c3b89e:node-abeb4865-c30e-4a7f-9966-f94544a99c5b] 2022-09-05 22:32:25 | [Mutex] received everything. 2022-09-05 22:32:25 | [Mutex] isItemNotified: configured:node:node-48b52670-d65a-491b-8cf5-412804c3b89e:node-abeb4865-c30e-4a7f-9966-f94544a99c5b :: true 2022-09-05 22:32:26 | [Mutex] waiting for: [received:nodes:0402dd30-72b4-4170-9346-57039c2254f1:localhost] 2022-09-05 22:32:26 | [Mutex] received everything. 2022-09-05 22:32:26 | [Mutex] isItemNotified: received:node:0402dd30-72b4-4170-9346-57039c2254f1:localhost:node-48b52670-d65a-491b-8cf5-412804c3b89e:Node 48b52670-d65a-491b-8cf5-412804c3b89e :: true 2022-09-05 22:32:26 | [Mutex] waiting for: [received:nodes:5726b9ee-9e77-4fbd-9e1c-998b7902e35e:localhost] 2022-09-05 22:32:26 | [Mutex] received everything. 2022-09-05 22:32:26 | [Mutex] isItemNotified: received:node:5726b9ee-9e77-4fbd-9e1c-998b7902e35e:localhost:node-48b52670-d65a-491b-8cf5-412804c3b89e:Node 48b52670-d65a-491b-8cf5-412804c3b89e :: false |
createNodes | 1.681s |
2022-09-05 22:32:22 |
2022-09-05 22:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:22 | ------------------------------------ 2022-09-05 22:32:23 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e", "pubsub#title": "Node 48b52670-d65a-491b-8cf5-412804c3b89e" } 2022-09-05 22:32:23 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-05 22:32:24 | [Mutex] waiting for: [received:nodes:cf49528d-ed8b-493d-9c67-e638027a783e:localhost] 2022-09-05 22:32:24 | [Mutex] received everything. 2022-09-05 22:32:24 | [Mutex] isItemNotified: received:node:cf49528d-ed8b-493d-9c67-e638027a783e:localhost:node-48b52670-d65a-491b-8cf5-412804c3b89e:Node 48b52670-d65a-491b-8cf5-412804c3b89e :: true |
createSubnodes | 1.020s |
2022-09-05 22:32:24 |
2022-09-05 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:24 | ------------------------------------ 2022-09-05 22:32:24 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-abeb4865-c30e-4a7f-9966-f94544a99c5b", "pubsub#title": "Node abeb4865-c30e-4a7f-9966-f94544a99c5b" } 2022-09-05 22:32:24 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-05 22:32:25 | [Mutex] waiting for: [received:nodes:62280afd-6461-4dfa-91ec-2478c9d8ae70:localhost] 2022-09-05 22:32:25 | [Mutex] received everything. 2022-09-05 22:32:25 | [Mutex] isItemNotified: received:node:62280afd-6461-4dfa-91ec-2478c9d8ae70:localhost:node-abeb4865-c30e-4a7f-9966-f94544a99c5b:Node abeb4865-c30e-4a7f-9966-f94544a99c5b :: true |
deleteNodes | 1.021s |
2022-09-05 22:32:29 |
2022-09-05 22:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:29 | ------------------------------------ 2022-09-05 22:32:29 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-abeb4865-c30e-4a7f-9966-f94544a99c5b" } 2022-09-05 22:32:29 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-05 22:32:30 | [Mutex] waiting for: [received:nodes:80b57b5d-54ad-4fd2-a67b-05f5422c1a16:localhost] 2022-09-05 22:32:30 | [Mutex] received everything. 2022-09-05 22:32:30 | [Mutex] isItemNotified: received:node:80b57b5d-54ad-4fd2-a67b-05f5422c1a16:localhost:node-abeb4865-c30e-4a7f-9966-f94544a99c5b:Node abeb4865-c30e-4a7f-9966-f94544a99c5b :: false |
deleteSubnodes | 1.022s |
2022-09-05 22:32:28 |
2022-09-05 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:28 | ------------------------------------ 2022-09-05 22:32:28 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e" } 2022-09-05 22:32:28 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-05 22:32:29 | [Mutex] waiting for: [received:nodes:a9083575-3e20-437c-9416-0e0fb6995269:localhost] 2022-09-05 22:32:29 | [Mutex] received everything. 2022-09-05 22:32:29 | [Mutex] isItemNotified: received:node:a9083575-3e20-437c-9416-0e0fb6995269:localhost:node-48b52670-d65a-491b-8cf5-412804c3b89e:Node 48b52670-d65a-491b-8cf5-412804c3b89e :: false 2022-09-05 22:32:29 | [Mutex] waiting for: [received:nodes:647c0c0c-f2d4-4300-b86f-aca95aaaa63c:localhost] 2022-09-05 22:32:29 | [Mutex] received everything. 2022-09-05 22:32:29 | [Mutex] isItemNotified: received:node:647c0c0c-f2d4-4300-b86f-aca95aaaa63c:localhost:node-48b52670-d65a-491b-8cf5-412804c3b89e:Node 48b52670-d65a-491b-8cf5-412804c3b89e :: false |
publishItemsToNodes | 0.044s |
2022-09-05 22:32:27 |
2022-09-05 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:27 | ------------------------------------ 2022-09-05 22:32:27 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e", "entry": "<test>item-bf88c374-618e-4700-8d64-c875d9992168</test>", "item-id": "item-bf88c374-618e-4700-8d64-c875d9992168" } 2022-09-05 22:32:27 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-bf88c374-618e-4700-8d64-c875d9992168" } 2022-09-05 22:32:27 | [Mutex] waiting for: [published:item:notifieditem-bf88c374-618e-4700-8d64-c875d9992168:admin@test-domain.com] 2022-09-05 22:32:27 | [Mutex] received everything. 2022-09-05 22:32:27 | [Mutex] isItemNotified: published:item:notifieditem-bf88c374-618e-4700-8d64-c875d9992168:admin@test-domain.com :: true |
retractItemsFromNodes | 0.053s |
2022-09-05 22:32:27 |
2022-09-05 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:27 | ------------------------------------ 2022-09-05 22:32:27 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e", "item-id": "item-bf88c374-618e-4700-8d64-c875d9992168" } 2022-09-05 22:32:27 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-bf88c374-618e-4700-8d64-c875d9992168" } 2022-09-05 22:32:27 | [Mutex] received everything. 2022-09-05 22:32:27 | [Mutex] isItemNotified: retracted:item:notifieditem-bf88c374-618e-4700-8d64-c875d9992168:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.027s |
2022-09-05 22:32:27 |
2022-09-05 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:27 | ------------------------------------ 2022-09-05 22:32:27 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e", "item-id": "item-bf88c374-618e-4700-8d64-c875d9992168" } 2022-09-05 22:32:27 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e", "item-id": "item-bf88c374-618e-4700-8d64-c875d9992168", "item": [ "<item id=\"item-bf88c374-618e-4700-8d64-c875d9992168\"><test>item-bf88c374-618e-4700-8d64-c875d9992168</test></item>" ] } 2022-09-05 22:32:27 | [Mutex] notify: [retrieved:item:item-bf88c374-618e-4700-8d64-c875d9992168:payload-matches:true:localhost] 2022-09-05 22:32:27 | [Mutex] received everything. 2022-09-05 22:32:27 | [Mutex] isItemNotified: retrieved:item:item-bf88c374-618e-4700-8d64-c875d9992168:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.063s |
2022-09-05 22:32:27 |
2022-09-05 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:27 | ------------------------------------ 2022-09-05 22:32:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-09-05 22:32:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-48b52670-d65a-491b-8cf5-412804c3b89e", "node-abeb4865-c30e-4a7f-9966-f94544a99c5b" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-09-05 22:32:27 |
2022-09-05 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:27 | ------------------------------------ 2022-09-05 22:32:27 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-48b52670-d65a-491b-8cf5-412804c3b89e)" } 2022-09-05 22:32:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.008s |
2022-09-05 22:32:26 |
2022-09-05 22:32:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:26 | ------------------------------------ 2022-09-05 22:32:26 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e", "jids": [ "admin@test-domain.com" ] } 2022-09-05 22:32:26 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.069s |
2022-09-05 22:32:27 |
2022-09-05 22:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-05 22:32:27 | ------------------------------------ 2022-09-05 22:32:27 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-48b52670-d65a-491b-8cf5-412804c3b89e", "jids": [ "admin@test-domain.com" ] } 2022-09-05 22:32:27 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |