Test duration : 8.786s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.110s |
2023-10-28 00:00:22 |
2023-10-28 00:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:22 | ------------------------------------ 2023-10-28 00:00:22 | [Mutex] waiting for: [configured:node:node-e2566328-fddf-43ec-80e6-06fc6f3c277a:node-90990db6-28ff-4c75-9d85-09dc68d16d92] 2023-10-28 00:00:22 | [Mutex] received everything. 2023-10-28 00:00:22 | [Mutex] isItemNotified: configured:node:node-e2566328-fddf-43ec-80e6-06fc6f3c277a:node-90990db6-28ff-4c75-9d85-09dc68d16d92 :: true 2023-10-28 00:00:23 | [Mutex] waiting for: [received:nodes:9d453194-9eb8-416e-b47a-180d1e6b6387:localhost] 2023-10-28 00:00:23 | [Mutex] received everything. 2023-10-28 00:00:23 | [Mutex] isItemNotified: received:node:9d453194-9eb8-416e-b47a-180d1e6b6387:localhost:node-e2566328-fddf-43ec-80e6-06fc6f3c277a:Node e2566328-fddf-43ec-80e6-06fc6f3c277a :: true 2023-10-28 00:00:23 | [Mutex] waiting for: [received:nodes:eb20fa16-1f80-4a08-8693-c74710242033:localhost] 2023-10-28 00:00:23 | [Mutex] waiting for: [received:nodes:eb20fa16-1f80-4a08-8693-c74710242033:localhost] 2023-10-28 00:00:23 | [Mutex] waiting for: [received:nodes:eb20fa16-1f80-4a08-8693-c74710242033:localhost] 2023-10-28 00:00:23 | [Mutex] waiting for: [received:nodes:eb20fa16-1f80-4a08-8693-c74710242033:localhost] 2023-10-28 00:00:23 | [Mutex] received everything. 2023-10-28 00:00:23 | [Mutex] isItemNotified: received:node:eb20fa16-1f80-4a08-8693-c74710242033:localhost:node-e2566328-fddf-43ec-80e6-06fc6f3c277a:Node e2566328-fddf-43ec-80e6-06fc6f3c277a :: false |
createNodes | 1.715s |
2023-10-28 00:00:19 |
2023-10-28 00:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:19 | ------------------------------------ 2023-10-28 00:00:19 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "pubsub#title": "Node e2566328-fddf-43ec-80e6-06fc6f3c277a" } 2023-10-28 00:00:19 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:00:20 | [Mutex] waiting for: [received:nodes:bde695a0-b826-4a74-8227-003fce4075d7:localhost] 2023-10-28 00:00:21 | [Mutex] waiting for: [received:nodes:bde695a0-b826-4a74-8227-003fce4075d7:localhost] 2023-10-28 00:00:21 | [Mutex] waiting for: [received:nodes:bde695a0-b826-4a74-8227-003fce4075d7:localhost] 2023-10-28 00:00:21 | [Mutex] received everything. 2023-10-28 00:00:21 | [Mutex] isItemNotified: received:node:bde695a0-b826-4a74-8227-003fce4075d7:localhost:node-e2566328-fddf-43ec-80e6-06fc6f3c277a:Node e2566328-fddf-43ec-80e6-06fc6f3c277a :: true |
createSubnodes | 1.035s |
2023-10-28 00:00:21 |
2023-10-28 00:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:21 | ------------------------------------ 2023-10-28 00:00:21 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-90990db6-28ff-4c75-9d85-09dc68d16d92", "pubsub#title": "Node 90990db6-28ff-4c75-9d85-09dc68d16d92" } 2023-10-28 00:00:21 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:00:22 | [Mutex] waiting for: [received:nodes:ddee8ccf-0944-47b5-9b63-e7873892be70:localhost] 2023-10-28 00:00:22 | [Mutex] waiting for: [received:nodes:ddee8ccf-0944-47b5-9b63-e7873892be70:localhost] 2023-10-28 00:00:22 | [Mutex] waiting for: [received:nodes:ddee8ccf-0944-47b5-9b63-e7873892be70:localhost] 2023-10-28 00:00:22 | [Mutex] waiting for: [received:nodes:ddee8ccf-0944-47b5-9b63-e7873892be70:localhost] 2023-10-28 00:00:22 | [Mutex] received everything. 2023-10-28 00:00:22 | [Mutex] isItemNotified: received:node:ddee8ccf-0944-47b5-9b63-e7873892be70:localhost:node-90990db6-28ff-4c75-9d85-09dc68d16d92:Node 90990db6-28ff-4c75-9d85-09dc68d16d92 :: true |
deleteNodes | 1.022s |
2023-10-28 00:00:26 |
2023-10-28 00:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:26 | ------------------------------------ 2023-10-28 00:00:26 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-90990db6-28ff-4c75-9d85-09dc68d16d92" } 2023-10-28 00:00:26 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:00:27 | [Mutex] waiting for: [received:nodes:d8f72ef5-0ab5-43cb-913e-bb3cb7964f80:localhost] 2023-10-28 00:00:27 | [Mutex] waiting for: [received:nodes:d8f72ef5-0ab5-43cb-913e-bb3cb7964f80:localhost] 2023-10-28 00:00:27 | [Mutex] waiting for: [received:nodes:d8f72ef5-0ab5-43cb-913e-bb3cb7964f80:localhost] 2023-10-28 00:00:27 | [Mutex] received everything. 2023-10-28 00:00:27 | [Mutex] isItemNotified: received:node:d8f72ef5-0ab5-43cb-913e-bb3cb7964f80:localhost:node-90990db6-28ff-4c75-9d85-09dc68d16d92:Node 90990db6-28ff-4c75-9d85-09dc68d16d92 :: false |
deleteSubnodes | 1.029s |
2023-10-28 00:00:25 |
2023-10-28 00:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:25 | ------------------------------------ 2023-10-28 00:00:25 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a" } 2023-10-28 00:00:25 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-10-28 00:00:26 | [Mutex] waiting for: [received:nodes:5c03d95d-a7c4-4ef8-b9c1-16ea6aa04a12:localhost] 2023-10-28 00:00:26 | [Mutex] waiting for: [received:nodes:5c03d95d-a7c4-4ef8-b9c1-16ea6aa04a12:localhost] 2023-10-28 00:00:26 | [Mutex] waiting for: [received:nodes:5c03d95d-a7c4-4ef8-b9c1-16ea6aa04a12:localhost] 2023-10-28 00:00:26 | [Mutex] waiting for: [received:nodes:5c03d95d-a7c4-4ef8-b9c1-16ea6aa04a12:localhost] 2023-10-28 00:00:26 | [Mutex] received everything. 2023-10-28 00:00:26 | [Mutex] isItemNotified: received:node:5c03d95d-a7c4-4ef8-b9c1-16ea6aa04a12:localhost:node-e2566328-fddf-43ec-80e6-06fc6f3c277a:Node e2566328-fddf-43ec-80e6-06fc6f3c277a :: false 2023-10-28 00:00:26 | [Mutex] waiting for: [received:nodes:f7d944d0-19d2-4def-94d3-378bcf63308a:localhost] 2023-10-28 00:00:26 | [Mutex] received everything. 2023-10-28 00:00:26 | [Mutex] isItemNotified: received:node:f7d944d0-19d2-4def-94d3-378bcf63308a:localhost:node-e2566328-fddf-43ec-80e6-06fc6f3c277a:Node e2566328-fddf-43ec-80e6-06fc6f3c277a :: false |
publishItemsToNodes | 0.055s |
2023-10-28 00:00:24 |
2023-10-28 00:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:24 | ------------------------------------ 2023-10-28 00:00:24 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "entry": "<test>item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460</test>", "item-id": "item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460" } 2023-10-28 00:00:24 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460" } 2023-10-28 00:00:24 | [Mutex] waiting for: [published:item:notifieditem-a8bf056d-107c-4ac2-a8fb-c4a6950b6460:admin@test-domain.com] 2023-10-28 00:00:24 | [Mutex] received everything. 2023-10-28 00:00:24 | [Mutex] isItemNotified: published:item:notifieditem-a8bf056d-107c-4ac2-a8fb-c4a6950b6460:admin@test-domain.com :: true |
retractItemsFromNodes | 0.064s |
2023-10-28 00:00:24 |
2023-10-28 00:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:24 | ------------------------------------ 2023-10-28 00:00:24 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "item-id": "item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460" } 2023-10-28 00:00:24 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460" } 2023-10-28 00:00:24 | [Mutex] received everything. 2023-10-28 00:00:24 | [Mutex] isItemNotified: retracted:item:notifieditem-a8bf056d-107c-4ac2-a8fb-c4a6950b6460:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.073s |
2023-10-28 00:00:24 |
2023-10-28 00:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:24 | ------------------------------------ 2023-10-28 00:00:24 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "item-id": "item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460" } 2023-10-28 00:00:24 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "item-id": "item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460", "item": [ "<item id=\"item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460\"><test>item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460</test></item>" ] } 2023-10-28 00:00:24 | [Mutex] notify: [retrieved:item:item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460:payload-matches:true:localhost] 2023-10-28 00:00:24 | [Mutex] received everything. 2023-10-28 00:00:24 | [Mutex] isItemNotified: retrieved:item:item-a8bf056d-107c-4ac2-a8fb-c4a6950b6460:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-10-28 00:00:24 |
2023-10-28 00:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:24 | ------------------------------------ 2023-10-28 00:00:24 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-10-28 00:00:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "test", "node-90990db6-28ff-4c75-9d85-09dc68d16d92" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2023-10-28 00:00:24 |
2023-10-28 00:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:24 | ------------------------------------ 2023-10-28 00:00:24 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-e2566328-fddf-43ec-80e6-06fc6f3c277a)" } 2023-10-28 00:00:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2023-10-28 00:00:23 |
2023-10-28 00:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:23 | ------------------------------------ 2023-10-28 00:00:23 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "jids": [ "admin@test-domain.com" ] } 2023-10-28 00:00:23 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.070s |
2023-10-28 00:00:24 |
2023-10-28 00:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-10-28 00:00:24 | ------------------------------------ 2023-10-28 00:00:24 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-e2566328-fddf-43ec-80e6-06fc6f3c277a", "jids": [ "admin@test-domain.com" ] } 2023-10-28 00:00:24 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |