Test duration : 8.484s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.029s |
2023-03-05 22:01:51 |
2023-03-05 22:01:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:51 | ------------------------------------ 2023-03-05 22:01:51 | [Mutex] waiting for: [configured:node:node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54:node-8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25] 2023-03-05 22:01:51 | [Mutex] received everything. 2023-03-05 22:01:51 | [Mutex] isItemNotified: configured:node:node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54:node-8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25 :: true 2023-03-05 22:01:52 | [Mutex] waiting for: [received:nodes:f8192676-8786-4ad9-833a-5243ed52d28c:localhost] 2023-03-05 22:01:52 | [Mutex] received everything. 2023-03-05 22:01:52 | [Mutex] isItemNotified: received:node:f8192676-8786-4ad9-833a-5243ed52d28c:localhost:node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54:Node dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54 :: true 2023-03-05 22:01:52 | [Mutex] waiting for: [received:nodes:2ccecabd-4695-4e89-b264-c9e829827508:localhost] 2023-03-05 22:01:52 | [Mutex] waiting for: [received:nodes:2ccecabd-4695-4e89-b264-c9e829827508:localhost] 2023-03-05 22:01:52 | [Mutex] waiting for: [received:nodes:2ccecabd-4695-4e89-b264-c9e829827508:localhost] 2023-03-05 22:01:52 | [Mutex] received everything. 2023-03-05 22:01:52 | [Mutex] isItemNotified: received:node:2ccecabd-4695-4e89-b264-c9e829827508:localhost:node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54:Node dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54 :: false |
createNodes | 1.577s |
2023-03-05 22:01:48 |
2023-03-05 22:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:48 | ------------------------------------ 2023-03-05 22:01:49 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "pubsub#title": "Node dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54" } 2023-03-05 22:01:49 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 22:01:50 | [Mutex] waiting for: [received:nodes:4aa7b7dc-2ebb-4f44-b02a-29236bdaad99:localhost] 2023-03-05 22:01:50 | [Mutex] waiting for: [received:nodes:4aa7b7dc-2ebb-4f44-b02a-29236bdaad99:localhost] 2023-03-05 22:01:50 | [Mutex] waiting for: [received:nodes:4aa7b7dc-2ebb-4f44-b02a-29236bdaad99:localhost] 2023-03-05 22:01:50 | [Mutex] received everything. 2023-03-05 22:01:50 | [Mutex] isItemNotified: received:node:4aa7b7dc-2ebb-4f44-b02a-29236bdaad99:localhost:node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54:Node dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54 :: true |
createSubnodes | 1.024s |
2023-03-05 22:01:50 |
2023-03-05 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:50 | ------------------------------------ 2023-03-05 22:01:50 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25", "pubsub#title": "Node 8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25" } 2023-03-05 22:01:50 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 22:01:51 | [Mutex] waiting for: [received:nodes:82e31211-2467-4f1d-8ae0-7d0026b41000:localhost] 2023-03-05 22:01:51 | [Mutex] waiting for: [received:nodes:82e31211-2467-4f1d-8ae0-7d0026b41000:localhost] 2023-03-05 22:01:51 | [Mutex] waiting for: [received:nodes:82e31211-2467-4f1d-8ae0-7d0026b41000:localhost] 2023-03-05 22:01:51 | [Mutex] waiting for: [received:nodes:82e31211-2467-4f1d-8ae0-7d0026b41000:localhost] 2023-03-05 22:01:51 | [Mutex] received everything. 2023-03-05 22:01:51 | [Mutex] isItemNotified: received:node:82e31211-2467-4f1d-8ae0-7d0026b41000:localhost:node-8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25:Node 8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25 :: true |
deleteNodes | 1.023s |
2023-03-05 22:01:55 |
2023-03-05 22:01:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:55 | ------------------------------------ 2023-03-05 22:01:55 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25" } 2023-03-05 22:01:55 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 22:01:56 | [Mutex] waiting for: [received:nodes:461e0d68-0a59-486b-8a38-35dcbd31e5c5:localhost] 2023-03-05 22:01:56 | [Mutex] waiting for: [received:nodes:461e0d68-0a59-486b-8a38-35dcbd31e5c5:localhost] 2023-03-05 22:01:56 | [Mutex] waiting for: [received:nodes:461e0d68-0a59-486b-8a38-35dcbd31e5c5:localhost] 2023-03-05 22:01:56 | [Mutex] received everything. 2023-03-05 22:01:56 | [Mutex] isItemNotified: received:node:461e0d68-0a59-486b-8a38-35dcbd31e5c5:localhost:node-8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25:Node 8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25 :: false |
deleteSubnodes | 1.028s |
2023-03-05 22:01:54 |
2023-03-05 22:01:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:54 | ------------------------------------ 2023-03-05 22:01:54 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54" } 2023-03-05 22:01:54 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-05 22:01:55 | [Mutex] waiting for: [received:nodes:cb84b912-27bb-48a1-bf37-b3dbfa5e02ff:localhost] 2023-03-05 22:01:55 | [Mutex] waiting for: [received:nodes:cb84b912-27bb-48a1-bf37-b3dbfa5e02ff:localhost] 2023-03-05 22:01:55 | [Mutex] waiting for: [received:nodes:cb84b912-27bb-48a1-bf37-b3dbfa5e02ff:localhost] 2023-03-05 22:01:55 | [Mutex] waiting for: [received:nodes:cb84b912-27bb-48a1-bf37-b3dbfa5e02ff:localhost] 2023-03-05 22:01:55 | [Mutex] received everything. 2023-03-05 22:01:55 | [Mutex] isItemNotified: received:node:cb84b912-27bb-48a1-bf37-b3dbfa5e02ff:localhost:node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54:Node dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54 :: false 2023-03-05 22:01:55 | [Mutex] waiting for: [received:nodes:15a0d294-fd13-44fc-a246-8f21d1f059fb:localhost] 2023-03-05 22:01:55 | [Mutex] received everything. 2023-03-05 22:01:55 | [Mutex] isItemNotified: received:node:15a0d294-fd13-44fc-a246-8f21d1f059fb:localhost:node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54:Node dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54 :: false |
publishItemsToNodes | 0.061s |
2023-03-05 22:01:53 |
2023-03-05 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:53 | ------------------------------------ 2023-03-05 22:01:53 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "entry": "<test>item-14e56262-9e45-426e-9d02-bed2becc3757</test>", "item-id": "item-14e56262-9e45-426e-9d02-bed2becc3757" } 2023-03-05 22:01:53 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-14e56262-9e45-426e-9d02-bed2becc3757" } 2023-03-05 22:01:53 | [Mutex] waiting for: [published:item:notifieditem-14e56262-9e45-426e-9d02-bed2becc3757:admin@test-domain.com] 2023-03-05 22:01:53 | [Mutex] received everything. 2023-03-05 22:01:53 | [Mutex] isItemNotified: published:item:notifieditem-14e56262-9e45-426e-9d02-bed2becc3757:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2023-03-05 22:01:53 |
2023-03-05 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:53 | ------------------------------------ 2023-03-05 22:01:53 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "item-id": "item-14e56262-9e45-426e-9d02-bed2becc3757" } 2023-03-05 22:01:53 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-14e56262-9e45-426e-9d02-bed2becc3757" } 2023-03-05 22:01:53 | [Mutex] waiting for: [retracted:item:notifieditem-14e56262-9e45-426e-9d02-bed2becc3757:admin@test-domain.com] 2023-03-05 22:01:53 | [Mutex] received everything. 2023-03-05 22:01:53 | [Mutex] isItemNotified: retracted:item:notifieditem-14e56262-9e45-426e-9d02-bed2becc3757:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.040s |
2023-03-05 22:01:53 |
2023-03-05 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:53 | ------------------------------------ 2023-03-05 22:01:53 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "item-id": "item-14e56262-9e45-426e-9d02-bed2becc3757" } 2023-03-05 22:01:53 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "item-id": "item-14e56262-9e45-426e-9d02-bed2becc3757", "item": [ "<item id=\"item-14e56262-9e45-426e-9d02-bed2becc3757\"><test>item-14e56262-9e45-426e-9d02-bed2becc3757</test></item>" ] } 2023-03-05 22:01:53 | [Mutex] notify: [retrieved:item:item-14e56262-9e45-426e-9d02-bed2becc3757:payload-matches:true:localhost] 2023-03-05 22:01:53 | [Mutex] received everything. 2023-03-05 22:01:53 | [Mutex] isItemNotified: retrieved:item:item-14e56262-9e45-426e-9d02-bed2becc3757:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-03-05 22:01:53 |
2023-03-05 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:53 | ------------------------------------ 2023-03-05 22:01:53 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-05 22:01:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "node-8c2a85f0-df4b-48f3-8bf4-2cdf6a876b25" ] } |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-05 22:01:53 |
2023-03-05 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:53 | ------------------------------------ 2023-03-05 22:01:53 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54)" } 2023-03-05 22:01:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.008s |
2023-03-05 22:01:52 |
2023-03-05 22:01:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:52 | ------------------------------------ 2023-03-05 22:01:52 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "jids": [ "admin@test-domain.com" ] } 2023-03-05 22:01:52 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.054s |
2023-03-05 22:01:53 |
2023-03-05 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-05 22:01:53 | ------------------------------------ 2023-03-05 22:01:53 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-dc2c24d4-d2d9-4df9-b1c4-fed175fc5b54", "jids": [ "admin@test-domain.com" ] } 2023-03-05 22:01:53 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |