Test duration : 8.761s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.116s |
2022-08-29 22:33:40 |
2022-08-29 22:33:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:40 | ------------------------------------ 2022-08-29 22:33:40 | [Mutex] waiting for: [configured:node:node-b0cdb752-c0a2-4217-8340-7fe62b42fc57:node-73bfeb28-8e3d-49d6-841f-b4a6373524bf] 2022-08-29 22:33:40 | [Mutex] received everything. 2022-08-29 22:33:40 | [Mutex] isItemNotified: configured:node:node-b0cdb752-c0a2-4217-8340-7fe62b42fc57:node-73bfeb28-8e3d-49d6-841f-b4a6373524bf :: true 2022-08-29 22:33:41 | [Mutex] waiting for: [received:nodes:66dc64a9-1c4b-4cc4-8b25-e94389c82ab7:localhost] 2022-08-29 22:33:41 | [Mutex] received everything. 2022-08-29 22:33:41 | [Mutex] isItemNotified: received:node:66dc64a9-1c4b-4cc4-8b25-e94389c82ab7:localhost:node-b0cdb752-c0a2-4217-8340-7fe62b42fc57:Node b0cdb752-c0a2-4217-8340-7fe62b42fc57 :: true 2022-08-29 22:33:41 | [Mutex] waiting for: [received:nodes:ac300552-646d-4445-86e1-5ab5a356f241:localhost] 2022-08-29 22:33:41 | [Mutex] received everything. 2022-08-29 22:33:41 | [Mutex] isItemNotified: received:node:ac300552-646d-4445-86e1-5ab5a356f241:localhost:node-b0cdb752-c0a2-4217-8340-7fe62b42fc57:Node b0cdb752-c0a2-4217-8340-7fe62b42fc57 :: false |
createNodes | 1.568s |
2022-08-29 22:33:38 |
2022-08-29 22:33:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:38 | ------------------------------------ 2022-08-29 22:33:38 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "pubsub#title": "Node b0cdb752-c0a2-4217-8340-7fe62b42fc57" } 2022-08-29 22:33:38 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-29 22:33:39 | [Mutex] waiting for: [received:nodes:375cf6ce-e82d-4424-a690-4d5f81ee84b0:localhost] 2022-08-29 22:33:39 | [Mutex] received everything. 2022-08-29 22:33:39 | [Mutex] isItemNotified: received:node:375cf6ce-e82d-4424-a690-4d5f81ee84b0:localhost:node-b0cdb752-c0a2-4217-8340-7fe62b42fc57:Node b0cdb752-c0a2-4217-8340-7fe62b42fc57 :: true |
createSubnodes | 1.024s |
2022-08-29 22:33:39 |
2022-08-29 22:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:39 | ------------------------------------ 2022-08-29 22:33:39 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-73bfeb28-8e3d-49d6-841f-b4a6373524bf", "pubsub#title": "Node 73bfeb28-8e3d-49d6-841f-b4a6373524bf" } 2022-08-29 22:33:39 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-29 22:33:40 | [Mutex] waiting for: [received:nodes:4907ad72-496b-4b38-b750-14d856da6654:localhost] 2022-08-29 22:33:40 | [Mutex] received everything. 2022-08-29 22:33:40 | [Mutex] isItemNotified: received:node:4907ad72-496b-4b38-b750-14d856da6654:localhost:node-73bfeb28-8e3d-49d6-841f-b4a6373524bf:Node 73bfeb28-8e3d-49d6-841f-b4a6373524bf :: true |
deleteNodes | 1.023s |
2022-08-29 22:33:45 |
2022-08-29 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:45 | ------------------------------------ 2022-08-29 22:33:45 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-73bfeb28-8e3d-49d6-841f-b4a6373524bf" } 2022-08-29 22:33:45 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-29 22:33:46 | [Mutex] waiting for: [received:nodes:75aabeab-4cf3-4489-89df-9a29de65132e:localhost] 2022-08-29 22:33:46 | [Mutex] waiting for: [received:nodes:75aabeab-4cf3-4489-89df-9a29de65132e:localhost] 2022-08-29 22:33:46 | [Mutex] received everything. 2022-08-29 22:33:46 | [Mutex] isItemNotified: received:node:75aabeab-4cf3-4489-89df-9a29de65132e:localhost:node-73bfeb28-8e3d-49d6-841f-b4a6373524bf:Node 73bfeb28-8e3d-49d6-841f-b4a6373524bf :: false |
deleteSubnodes | 1.032s |
2022-08-29 22:33:44 |
2022-08-29 22:33:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:44 | ------------------------------------ 2022-08-29 22:33:44 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57" } 2022-08-29 22:33:44 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-29 22:33:45 | [Mutex] waiting for: [received:nodes:565868e8-effe-418b-bcc1-ca4599b79d6d:localhost] 2022-08-29 22:33:45 | [Mutex] received everything. 2022-08-29 22:33:45 | [Mutex] isItemNotified: received:node:565868e8-effe-418b-bcc1-ca4599b79d6d:localhost:node-b0cdb752-c0a2-4217-8340-7fe62b42fc57:Node b0cdb752-c0a2-4217-8340-7fe62b42fc57 :: false 2022-08-29 22:33:45 | [Mutex] waiting for: [received:nodes:0bf929c2-a1b9-4978-bca0-fcd35303127d:localhost] 2022-08-29 22:33:45 | [Mutex] received everything. 2022-08-29 22:33:45 | [Mutex] isItemNotified: received:node:0bf929c2-a1b9-4978-bca0-fcd35303127d:localhost:node-b0cdb752-c0a2-4217-8340-7fe62b42fc57:Node b0cdb752-c0a2-4217-8340-7fe62b42fc57 :: false |
publishItemsToNodes | 0.042s |
2022-08-29 22:33:42 |
2022-08-29 22:33:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:42 | ------------------------------------ 2022-08-29 22:33:42 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "entry": "<test>item-e1bcdf7c-10d5-4651-a882-0f0801362562</test>", "item-id": "item-e1bcdf7c-10d5-4651-a882-0f0801362562" } 2022-08-29 22:33:42 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e1bcdf7c-10d5-4651-a882-0f0801362562" } 2022-08-29 22:33:42 | [Mutex] waiting for: [published:item:notifieditem-e1bcdf7c-10d5-4651-a882-0f0801362562:admin@test-domain.com] 2022-08-29 22:33:42 | [Mutex] received everything. 2022-08-29 22:33:42 | [Mutex] isItemNotified: published:item:notifieditem-e1bcdf7c-10d5-4651-a882-0f0801362562:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2022-08-29 22:33:42 |
2022-08-29 22:33:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:42 | ------------------------------------ 2022-08-29 22:33:42 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "item-id": "item-e1bcdf7c-10d5-4651-a882-0f0801362562" } 2022-08-29 22:33:43 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e1bcdf7c-10d5-4651-a882-0f0801362562" } 2022-08-29 22:33:43 | [Mutex] received everything. 2022-08-29 22:33:43 | [Mutex] isItemNotified: retracted:item:notifieditem-e1bcdf7c-10d5-4651-a882-0f0801362562:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.064s |
2022-08-29 22:33:42 |
2022-08-29 22:33:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:42 | ------------------------------------ 2022-08-29 22:33:42 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "item-id": "item-e1bcdf7c-10d5-4651-a882-0f0801362562" } 2022-08-29 22:33:42 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "item-id": "item-e1bcdf7c-10d5-4651-a882-0f0801362562", "item": [ "<item id=\"item-e1bcdf7c-10d5-4651-a882-0f0801362562\"><test>item-e1bcdf7c-10d5-4651-a882-0f0801362562</test></item>" ] } 2022-08-29 22:33:42 | [Mutex] notify: [retrieved:item:item-e1bcdf7c-10d5-4651-a882-0f0801362562:payload-matches:true:localhost] 2022-08-29 22:33:42 | [Mutex] received everything. 2022-08-29 22:33:42 | [Mutex] isItemNotified: retrieved:item:item-e1bcdf7c-10d5-4651-a882-0f0801362562:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2022-08-29 22:33:42 |
2022-08-29 22:33:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:42 | ------------------------------------ 2022-08-29 22:33:42 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-29 22:33:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "node-73bfeb28-8e3d-49d6-841f-b4a6373524bf" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2022-08-29 22:33:42 |
2022-08-29 22:33:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:42 | ------------------------------------ 2022-08-29 22:33:42 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-b0cdb752-c0a2-4217-8340-7fe62b42fc57)" } 2022-08-29 22:33:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2022-08-29 22:33:41 |
2022-08-29 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:41 | ------------------------------------ 2022-08-29 22:33:41 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "jids": [ "admin@test-domain.com" ] } 2022-08-29 22:33:41 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2022-08-29 22:33:43 |
2022-08-29 22:33:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-29 22:33:43 | ------------------------------------ 2022-08-29 22:33:43 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-b0cdb752-c0a2-4217-8340-7fe62b42fc57", "jids": [ "admin@test-domain.com" ] } 2022-08-29 22:33:43 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |