Test duration : 8.808s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.095s |
2022-04-13 22:35:08 |
2022-04-13 22:35:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:08 | ------------------------------------ 2022-04-13 22:35:08 | [Mutex] waiting for: [configured:node:node-0aad38e1-2602-4ca9-b2e1-4c98908526b5:node-d711f2d7-bca5-4b10-b69e-dea74ed5bbab] 2022-04-13 22:35:08 | [Mutex] received everything. 2022-04-13 22:35:08 | [Mutex] isItemNotified: configured:node:node-0aad38e1-2602-4ca9-b2e1-4c98908526b5:node-d711f2d7-bca5-4b10-b69e-dea74ed5bbab :: true 2022-04-13 22:35:09 | [Mutex] waiting for: [received:nodes:63cec6e6-66e5-4fdb-8b95-bddc3b075274:localhost] 2022-04-13 22:35:09 | [Mutex] received everything. 2022-04-13 22:35:09 | [Mutex] isItemNotified: received:node:63cec6e6-66e5-4fdb-8b95-bddc3b075274:localhost:node-0aad38e1-2602-4ca9-b2e1-4c98908526b5:Node 0aad38e1-2602-4ca9-b2e1-4c98908526b5 :: true 2022-04-13 22:35:09 | [Mutex] waiting for: [received:nodes:d8668e3b-9209-4cbe-bd1e-f13db606265e:localhost] 2022-04-13 22:35:09 | [Mutex] waiting for: [received:nodes:d8668e3b-9209-4cbe-bd1e-f13db606265e:localhost] 2022-04-13 22:35:09 | [Mutex] received everything. 2022-04-13 22:35:09 | [Mutex] isItemNotified: received:node:d8668e3b-9209-4cbe-bd1e-f13db606265e:localhost:node-0aad38e1-2602-4ca9-b2e1-4c98908526b5:Node 0aad38e1-2602-4ca9-b2e1-4c98908526b5 :: false |
createNodes | 1.586s |
2022-04-13 22:35:06 |
2022-04-13 22:35:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:06 | ------------------------------------ 2022-04-13 22:35:06 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5", "pubsub#title": "Node 0aad38e1-2602-4ca9-b2e1-4c98908526b5" } 2022-04-13 22:35:06 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:35:07 | [Mutex] waiting for: [received:nodes:683a9fd4-6e02-46f1-a956-51ddcd3604ad:localhost] 2022-04-13 22:35:07 | [Mutex] received everything. 2022-04-13 22:35:07 | [Mutex] isItemNotified: received:node:683a9fd4-6e02-46f1-a956-51ddcd3604ad:localhost:node-0aad38e1-2602-4ca9-b2e1-4c98908526b5:Node 0aad38e1-2602-4ca9-b2e1-4c98908526b5 :: true |
createSubnodes | 1.032s |
2022-04-13 22:35:07 |
2022-04-13 22:35:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:07 | ------------------------------------ 2022-04-13 22:35:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-d711f2d7-bca5-4b10-b69e-dea74ed5bbab", "pubsub#title": "Node d711f2d7-bca5-4b10-b69e-dea74ed5bbab" } 2022-04-13 22:35:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:35:08 | [Mutex] waiting for: [received:nodes:f7e8719a-a362-4b8b-adbc-4de65526ee61:localhost] 2022-04-13 22:35:08 | [Mutex] received everything. 2022-04-13 22:35:08 | [Mutex] isItemNotified: received:node:f7e8719a-a362-4b8b-adbc-4de65526ee61:localhost:node-d711f2d7-bca5-4b10-b69e-dea74ed5bbab:Node d711f2d7-bca5-4b10-b69e-dea74ed5bbab :: true |
deleteNodes | 1.018s |
2022-04-13 22:35:13 |
2022-04-13 22:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:13 | ------------------------------------ 2022-04-13 22:35:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d711f2d7-bca5-4b10-b69e-dea74ed5bbab" } 2022-04-13 22:35:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:35:14 | [Mutex] waiting for: [received:nodes:e5447e24-ac6e-4f8c-9945-c45dd7364546:localhost] 2022-04-13 22:35:14 | [Mutex] waiting for: [received:nodes:e5447e24-ac6e-4f8c-9945-c45dd7364546:localhost] 2022-04-13 22:35:14 | [Mutex] received everything. 2022-04-13 22:35:14 | [Mutex] isItemNotified: received:node:e5447e24-ac6e-4f8c-9945-c45dd7364546:localhost:node-d711f2d7-bca5-4b10-b69e-dea74ed5bbab:Node d711f2d7-bca5-4b10-b69e-dea74ed5bbab :: false |
deleteSubnodes | 1.025s |
2022-04-13 22:35:12 |
2022-04-13 22:35:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:12 | ------------------------------------ 2022-04-13 22:35:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5" } 2022-04-13 22:35:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:35:13 | [Mutex] waiting for: [received:nodes:009be844-8ee4-49f2-a281-7804e251c88c:localhost] 2022-04-13 22:35:13 | [Mutex] received everything. 2022-04-13 22:35:13 | [Mutex] isItemNotified: received:node:009be844-8ee4-49f2-a281-7804e251c88c:localhost:node-0aad38e1-2602-4ca9-b2e1-4c98908526b5:Node 0aad38e1-2602-4ca9-b2e1-4c98908526b5 :: false 2022-04-13 22:35:13 | [Mutex] waiting for: [received:nodes:dfdc6ab7-3462-47a1-9ddb-a0e64428251b:localhost] 2022-04-13 22:35:13 | [Mutex] received everything. 2022-04-13 22:35:13 | [Mutex] isItemNotified: received:node:dfdc6ab7-3462-47a1-9ddb-a0e64428251b:localhost:node-0aad38e1-2602-4ca9-b2e1-4c98908526b5:Node 0aad38e1-2602-4ca9-b2e1-4c98908526b5 :: false |
publishItemsToNodes | 0.036s |
2022-04-13 22:35:10 |
2022-04-13 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:10 | ------------------------------------ 2022-04-13 22:35:10 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5", "entry": "<test>item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0</test>", "item-id": "item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0" } 2022-04-13 22:35:10 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0" } 2022-04-13 22:35:10 | [Mutex] received everything. 2022-04-13 22:35:10 | [Mutex] isItemNotified: published:item:notifieditem-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.054s |
2022-04-13 22:35:11 |
2022-04-13 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:11 | ------------------------------------ 2022-04-13 22:35:11 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5", "item-id": "item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0" } 2022-04-13 22:35:11 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0" } 2022-04-13 22:35:11 | [Mutex] received everything. 2022-04-13 22:35:11 | [Mutex] isItemNotified: retracted:item:notifieditem-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.093s |
2022-04-13 22:35:10 |
2022-04-13 22:35:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:10 | ------------------------------------ 2022-04-13 22:35:10 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5", "item-id": "item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0" } 2022-04-13 22:35:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5", "item-id": "item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0", "item": [ "<item id=\"item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0\"><test>item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0</test></item>" ] } 2022-04-13 22:35:11 | [Mutex] notify: [retrieved:item:item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0:payload-matches:true:localhost] 2022-04-13 22:35:11 | [Mutex] received everything. 2022-04-13 22:35:11 | [Mutex] isItemNotified: retrieved:item:item-c6f3d341-cdd1-4bf1-b7b6-577bbc9db0d0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-04-13 22:35:11 |
2022-04-13 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:11 | ------------------------------------ 2022-04-13 22:35:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-04-13 22:35:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-d711f2d7-bca5-4b10-b69e-dea74ed5bbab", "test", "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-04-13 22:35:11 |
2022-04-13 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:11 | ------------------------------------ 2022-04-13 22:35:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-0aad38e1-2602-4ca9-b2e1-4c98908526b5)" } 2022-04-13 22:35:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.017s |
2022-04-13 22:35:09 |
2022-04-13 22:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:09 | ------------------------------------ 2022-04-13 22:35:09 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5", "jids": [ "admin@test-domain.com" ] } 2022-04-13 22:35:09 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2022-04-13 22:35:11 |
2022-04-13 22:35:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:35:11 | ------------------------------------ 2022-04-13 22:35:11 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-0aad38e1-2602-4ca9-b2e1-4c98908526b5", "jids": [ "admin@test-domain.com" ] } 2022-04-13 22:35:11 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |