Test duration : 8.627s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.141s |
2023-03-14 22:29:41 |
2023-03-14 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:41 | ------------------------------------ 2023-03-14 22:29:41 | [Mutex] waiting for: [configured:node:node-39152d54-3e04-4f8c-b767-0caaed974449:node-f4c0bb46-d129-4c62-8151-7c2ffbbaa655] 2023-03-14 22:29:42 | [Mutex] received everything. 2023-03-14 22:29:42 | [Mutex] isItemNotified: configured:node:node-39152d54-3e04-4f8c-b767-0caaed974449:node-f4c0bb46-d129-4c62-8151-7c2ffbbaa655 :: true 2023-03-14 22:29:43 | [Mutex] waiting for: [received:nodes:b5c4f67d-ead2-404a-baf6-293deccb6973:localhost] 2023-03-14 22:29:43 | [Mutex] received everything. 2023-03-14 22:29:43 | [Mutex] isItemNotified: received:node:b5c4f67d-ead2-404a-baf6-293deccb6973:localhost:node-39152d54-3e04-4f8c-b767-0caaed974449:Node 39152d54-3e04-4f8c-b767-0caaed974449 :: true 2023-03-14 22:29:43 | [Mutex] waiting for: [received:nodes:c2cc6dc6-cda5-410d-b1e4-d24d4e0d59bd:localhost] 2023-03-14 22:29:43 | [Mutex] waiting for: [received:nodes:c2cc6dc6-cda5-410d-b1e4-d24d4e0d59bd:localhost] 2023-03-14 22:29:43 | [Mutex] waiting for: [received:nodes:c2cc6dc6-cda5-410d-b1e4-d24d4e0d59bd:localhost] 2023-03-14 22:29:43 | [Mutex] waiting for: [received:nodes:c2cc6dc6-cda5-410d-b1e4-d24d4e0d59bd:localhost] 2023-03-14 22:29:43 | [Mutex] received everything. 2023-03-14 22:29:43 | [Mutex] isItemNotified: received:node:c2cc6dc6-cda5-410d-b1e4-d24d4e0d59bd:localhost:node-39152d54-3e04-4f8c-b767-0caaed974449:Node 39152d54-3e04-4f8c-b767-0caaed974449 :: false |
createNodes | 1.609s |
2023-03-14 22:29:39 |
2023-03-14 22:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:39 | ------------------------------------ 2023-03-14 22:29:39 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-39152d54-3e04-4f8c-b767-0caaed974449", "pubsub#title": "Node 39152d54-3e04-4f8c-b767-0caaed974449" } 2023-03-14 22:29:39 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:29:40 | [Mutex] waiting for: [received:nodes:65f79f06-efb7-4437-b19b-99edd5e7bc58:localhost] 2023-03-14 22:29:40 | [Mutex] received everything. 2023-03-14 22:29:40 | [Mutex] isItemNotified: received:node:65f79f06-efb7-4437-b19b-99edd5e7bc58:localhost:node-39152d54-3e04-4f8c-b767-0caaed974449:Node 39152d54-3e04-4f8c-b767-0caaed974449 :: true |
createSubnodes | 1.027s |
2023-03-14 22:29:40 |
2023-03-14 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:40 | ------------------------------------ 2023-03-14 22:29:40 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-f4c0bb46-d129-4c62-8151-7c2ffbbaa655", "pubsub#title": "Node f4c0bb46-d129-4c62-8151-7c2ffbbaa655" } 2023-03-14 22:29:40 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:29:41 | [Mutex] waiting for: [received:nodes:eb210402-6f27-450e-986b-d381d91ff8ec:localhost] 2023-03-14 22:29:41 | [Mutex] waiting for: [received:nodes:eb210402-6f27-450e-986b-d381d91ff8ec:localhost] 2023-03-14 22:29:41 | [Mutex] received everything. 2023-03-14 22:29:41 | [Mutex] isItemNotified: received:node:eb210402-6f27-450e-986b-d381d91ff8ec:localhost:node-f4c0bb46-d129-4c62-8151-7c2ffbbaa655:Node f4c0bb46-d129-4c62-8151-7c2ffbbaa655 :: true |
deleteNodes | 1.022s |
2023-03-14 22:29:46 |
2023-03-14 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:46 | ------------------------------------ 2023-03-14 22:29:46 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f4c0bb46-d129-4c62-8151-7c2ffbbaa655" } 2023-03-14 22:29:46 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:567003bb-4c0d-4a20-b038-47ba8da134bc:localhost] 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:567003bb-4c0d-4a20-b038-47ba8da134bc:localhost] 2023-03-14 22:29:47 | [Mutex] waiting for: [received:nodes:567003bb-4c0d-4a20-b038-47ba8da134bc:localhost] 2023-03-14 22:29:47 | [Mutex] received everything. 2023-03-14 22:29:47 | [Mutex] isItemNotified: received:node:567003bb-4c0d-4a20-b038-47ba8da134bc:localhost:node-f4c0bb46-d129-4c62-8151-7c2ffbbaa655:Node f4c0bb46-d129-4c62-8151-7c2ffbbaa655 :: false |
deleteSubnodes | 1.024s |
2023-03-14 22:29:45 |
2023-03-14 22:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:45 | ------------------------------------ 2023-03-14 22:29:45 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-39152d54-3e04-4f8c-b767-0caaed974449" } 2023-03-14 22:29:45 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:29531e0b-ac4f-4206-bbec-725c9f302b2b:localhost] 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:29531e0b-ac4f-4206-bbec-725c9f302b2b:localhost] 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:29531e0b-ac4f-4206-bbec-725c9f302b2b:localhost] 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:29531e0b-ac4f-4206-bbec-725c9f302b2b:localhost] 2023-03-14 22:29:46 | [Mutex] received everything. 2023-03-14 22:29:46 | [Mutex] isItemNotified: received:node:29531e0b-ac4f-4206-bbec-725c9f302b2b:localhost:node-39152d54-3e04-4f8c-b767-0caaed974449:Node 39152d54-3e04-4f8c-b767-0caaed974449 :: false 2023-03-14 22:29:46 | [Mutex] waiting for: [received:nodes:49eae801-ac0a-4004-a8df-6dd33aa1bd6e:localhost] 2023-03-14 22:29:46 | [Mutex] received everything. 2023-03-14 22:29:46 | [Mutex] isItemNotified: received:node:49eae801-ac0a-4004-a8df-6dd33aa1bd6e:localhost:node-39152d54-3e04-4f8c-b767-0caaed974449:Node 39152d54-3e04-4f8c-b767-0caaed974449 :: false |
publishItemsToNodes | 0.044s |
2023-03-14 22:29:44 |
2023-03-14 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:44 | ------------------------------------ 2023-03-14 22:29:44 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-39152d54-3e04-4f8c-b767-0caaed974449", "entry": "<test>item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83</test>", "item-id": "item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83" } 2023-03-14 22:29:44 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83" } 2023-03-14 22:29:44 | [Mutex] waiting for: [published:item:notifieditem-e5f886c4-087d-4f06-ac29-8a83e7b4bd83:admin@test-domain.com] 2023-03-14 22:29:44 | [Mutex] received everything. 2023-03-14 22:29:44 | [Mutex] isItemNotified: published:item:notifieditem-e5f886c4-087d-4f06-ac29-8a83e7b4bd83:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2023-03-14 22:29:44 |
2023-03-14 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:44 | ------------------------------------ 2023-03-14 22:29:44 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-39152d54-3e04-4f8c-b767-0caaed974449", "item-id": "item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83" } 2023-03-14 22:29:44 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83" } 2023-03-14 22:29:44 | [Mutex] received everything. 2023-03-14 22:29:44 | [Mutex] isItemNotified: retracted:item:notifieditem-e5f886c4-087d-4f06-ac29-8a83e7b4bd83:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.068s |
2023-03-14 22:29:44 |
2023-03-14 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:44 | ------------------------------------ 2023-03-14 22:29:44 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-39152d54-3e04-4f8c-b767-0caaed974449", "item-id": "item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83" } 2023-03-14 22:29:44 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-39152d54-3e04-4f8c-b767-0caaed974449", "item-id": "item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83", "item": [ "<item id=\"item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83\"><test>item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83</test></item>" ] } 2023-03-14 22:29:44 | [Mutex] notify: [retrieved:item:item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83:payload-matches:true:localhost] 2023-03-14 22:29:44 | [Mutex] received everything. 2023-03-14 22:29:44 | [Mutex] isItemNotified: retrieved:item:item-e5f886c4-087d-4f06-ac29-8a83e7b4bd83:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-03-14 22:29:44 |
2023-03-14 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:44 | ------------------------------------ 2023-03-14 22:29:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-03-14 22:29:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-f4c0bb46-d129-4c62-8151-7c2ffbbaa655", "test", "node-39152d54-3e04-4f8c-b767-0caaed974449" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2023-03-14 22:29:44 |
2023-03-14 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:44 | ------------------------------------ 2023-03-14 22:29:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-39152d54-3e04-4f8c-b767-0caaed974449)" } 2023-03-14 22:29:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2023-03-14 22:29:43 |
2023-03-14 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:43 | ------------------------------------ 2023-03-14 22:29:43 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-39152d54-3e04-4f8c-b767-0caaed974449", "jids": [ "admin@test-domain.com" ] } 2023-03-14 22:29:43 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.052s |
2023-03-14 22:29:44 |
2023-03-14 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-03-14 22:29:44 | ------------------------------------ 2023-03-14 22:29:44 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-39152d54-3e04-4f8c-b767-0caaed974449", "jids": [ "admin@test-domain.com" ] } 2023-03-14 22:29:44 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |