Test duration : 8.663s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.105s |
2023-01-10 21:58:44 |
2023-01-10 21:58:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:44 | ------------------------------------ 2023-01-10 21:58:44 | [Mutex] waiting for: [configured:node:node-011ef9c9-bf04-4981-b145-c82d2dc03d3e:node-26349cdf-059f-4658-b91c-508d72ba3652] 2023-01-10 21:58:44 | [Mutex] received everything. 2023-01-10 21:58:44 | [Mutex] isItemNotified: configured:node:node-011ef9c9-bf04-4981-b145-c82d2dc03d3e:node-26349cdf-059f-4658-b91c-508d72ba3652 :: true 2023-01-10 21:58:45 | [Mutex] waiting for: [received:nodes:6fb080dd-78be-4133-bf25-dca10565592e:localhost] 2023-01-10 21:58:45 | [Mutex] received everything. 2023-01-10 21:58:45 | [Mutex] isItemNotified: received:node:6fb080dd-78be-4133-bf25-dca10565592e:localhost:node-011ef9c9-bf04-4981-b145-c82d2dc03d3e:Node 011ef9c9-bf04-4981-b145-c82d2dc03d3e :: true 2023-01-10 21:58:45 | [Mutex] waiting for: [received:nodes:f47a244e-7d76-4faf-b0ec-00e0774b51be:localhost] 2023-01-10 21:58:45 | [Mutex] waiting for: [received:nodes:f47a244e-7d76-4faf-b0ec-00e0774b51be:localhost] 2023-01-10 21:58:45 | [Mutex] waiting for: [received:nodes:f47a244e-7d76-4faf-b0ec-00e0774b51be:localhost] 2023-01-10 21:58:45 | [Mutex] waiting for: [received:nodes:f47a244e-7d76-4faf-b0ec-00e0774b51be:localhost] 2023-01-10 21:58:45 | [Mutex] received everything. 2023-01-10 21:58:45 | [Mutex] isItemNotified: received:node:f47a244e-7d76-4faf-b0ec-00e0774b51be:localhost:node-011ef9c9-bf04-4981-b145-c82d2dc03d3e:Node 011ef9c9-bf04-4981-b145-c82d2dc03d3e :: false |
createNodes | 1.605s |
2023-01-10 21:58:41 |
2023-01-10 21:58:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:41 | ------------------------------------ 2023-01-10 21:58:42 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "pubsub#title": "Node 011ef9c9-bf04-4981-b145-c82d2dc03d3e" } 2023-01-10 21:58:42 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-10 21:58:43 | [Mutex] waiting for: [received:nodes:dec382bd-a5f0-4a09-ae39-adc0da06789f:localhost] 2023-01-10 21:58:43 | [Mutex] waiting for: [received:nodes:dec382bd-a5f0-4a09-ae39-adc0da06789f:localhost] 2023-01-10 21:58:43 | [Mutex] waiting for: [received:nodes:dec382bd-a5f0-4a09-ae39-adc0da06789f:localhost] 2023-01-10 21:58:43 | [Mutex] waiting for: [received:nodes:dec382bd-a5f0-4a09-ae39-adc0da06789f:localhost] 2023-01-10 21:58:43 | [Mutex] received everything. 2023-01-10 21:58:43 | [Mutex] isItemNotified: received:node:dec382bd-a5f0-4a09-ae39-adc0da06789f:localhost:node-011ef9c9-bf04-4981-b145-c82d2dc03d3e:Node 011ef9c9-bf04-4981-b145-c82d2dc03d3e :: true |
createSubnodes | 1.021s |
2023-01-10 21:58:43 |
2023-01-10 21:58:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:43 | ------------------------------------ 2023-01-10 21:58:43 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-26349cdf-059f-4658-b91c-508d72ba3652", "pubsub#title": "Node 26349cdf-059f-4658-b91c-508d72ba3652" } 2023-01-10 21:58:43 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-10 21:58:44 | [Mutex] waiting for: [received:nodes:9a001254-81ce-4f04-9919-75a9bf59dad7:localhost] 2023-01-10 21:58:44 | [Mutex] waiting for: [received:nodes:9a001254-81ce-4f04-9919-75a9bf59dad7:localhost] 2023-01-10 21:58:44 | [Mutex] waiting for: [received:nodes:9a001254-81ce-4f04-9919-75a9bf59dad7:localhost] 2023-01-10 21:58:44 | [Mutex] waiting for: [received:nodes:9a001254-81ce-4f04-9919-75a9bf59dad7:localhost] 2023-01-10 21:58:44 | [Mutex] waiting for: [received:nodes:9a001254-81ce-4f04-9919-75a9bf59dad7:localhost] 2023-01-10 21:58:44 | [Mutex] received everything. 2023-01-10 21:58:44 | [Mutex] isItemNotified: received:node:9a001254-81ce-4f04-9919-75a9bf59dad7:localhost:node-26349cdf-059f-4658-b91c-508d72ba3652:Node 26349cdf-059f-4658-b91c-508d72ba3652 :: true |
deleteNodes | 1.017s |
2023-01-10 21:58:48 |
2023-01-10 21:58:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:48 | ------------------------------------ 2023-01-10 21:58:48 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-26349cdf-059f-4658-b91c-508d72ba3652" } 2023-01-10 21:58:48 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-10 21:58:49 | [Mutex] waiting for: [received:nodes:efc10ff4-9792-4907-b839-31260f0f0cc8:localhost] 2023-01-10 21:58:49 | [Mutex] waiting for: [received:nodes:efc10ff4-9792-4907-b839-31260f0f0cc8:localhost] 2023-01-10 21:58:49 | [Mutex] waiting for: [received:nodes:efc10ff4-9792-4907-b839-31260f0f0cc8:localhost] 2023-01-10 21:58:49 | [Mutex] received everything. 2023-01-10 21:58:49 | [Mutex] isItemNotified: received:node:efc10ff4-9792-4907-b839-31260f0f0cc8:localhost:node-26349cdf-059f-4658-b91c-508d72ba3652:Node 26349cdf-059f-4658-b91c-508d72ba3652 :: false |
deleteSubnodes | 1.024s |
2023-01-10 21:58:47 |
2023-01-10 21:58:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:47 | ------------------------------------ 2023-01-10 21:58:47 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e" } 2023-01-10 21:58:47 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-01-10 21:58:48 | [Mutex] waiting for: [received:nodes:d1aacde5-2d59-497d-bafe-55e1c32f29cc:localhost] 2023-01-10 21:58:48 | [Mutex] waiting for: [received:nodes:d1aacde5-2d59-497d-bafe-55e1c32f29cc:localhost] 2023-01-10 21:58:48 | [Mutex] waiting for: [received:nodes:d1aacde5-2d59-497d-bafe-55e1c32f29cc:localhost] 2023-01-10 21:58:48 | [Mutex] waiting for: [received:nodes:d1aacde5-2d59-497d-bafe-55e1c32f29cc:localhost] 2023-01-10 21:58:48 | [Mutex] received everything. 2023-01-10 21:58:48 | [Mutex] isItemNotified: received:node:d1aacde5-2d59-497d-bafe-55e1c32f29cc:localhost:node-011ef9c9-bf04-4981-b145-c82d2dc03d3e:Node 011ef9c9-bf04-4981-b145-c82d2dc03d3e :: false 2023-01-10 21:58:48 | [Mutex] waiting for: [received:nodes:cedc0845-7fc9-4389-83da-39d6308c6b43:localhost] 2023-01-10 21:58:48 | [Mutex] received everything. 2023-01-10 21:58:48 | [Mutex] isItemNotified: received:node:cedc0845-7fc9-4389-83da-39d6308c6b43:localhost:node-011ef9c9-bf04-4981-b145-c82d2dc03d3e:Node 011ef9c9-bf04-4981-b145-c82d2dc03d3e :: false |
publishItemsToNodes | 0.066s |
2023-01-10 21:58:46 |
2023-01-10 21:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:46 | ------------------------------------ 2023-01-10 21:58:46 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "entry": "<test>item-0fd77782-1dea-426a-86c0-66bb081488fb</test>", "item-id": "item-0fd77782-1dea-426a-86c0-66bb081488fb" } 2023-01-10 21:58:46 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0fd77782-1dea-426a-86c0-66bb081488fb" } 2023-01-10 21:58:46 | [Mutex] waiting for: [published:item:notifieditem-0fd77782-1dea-426a-86c0-66bb081488fb:admin@test-domain.com] 2023-01-10 21:58:46 | [Mutex] received everything. 2023-01-10 21:58:46 | [Mutex] isItemNotified: published:item:notifieditem-0fd77782-1dea-426a-86c0-66bb081488fb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.057s |
2023-01-10 21:58:46 |
2023-01-10 21:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:46 | ------------------------------------ 2023-01-10 21:58:46 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "item-id": "item-0fd77782-1dea-426a-86c0-66bb081488fb" } 2023-01-10 21:58:46 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0fd77782-1dea-426a-86c0-66bb081488fb" } 2023-01-10 21:58:46 | [Mutex] received everything. 2023-01-10 21:58:46 | [Mutex] isItemNotified: retracted:item:notifieditem-0fd77782-1dea-426a-86c0-66bb081488fb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.041s |
2023-01-10 21:58:46 |
2023-01-10 21:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:46 | ------------------------------------ 2023-01-10 21:58:46 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "item-id": "item-0fd77782-1dea-426a-86c0-66bb081488fb" } 2023-01-10 21:58:46 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "item-id": "item-0fd77782-1dea-426a-86c0-66bb081488fb", "item": [ "<item id=\"item-0fd77782-1dea-426a-86c0-66bb081488fb\"><test>item-0fd77782-1dea-426a-86c0-66bb081488fb</test></item>" ] } 2023-01-10 21:58:46 | [Mutex] notify: [retrieved:item:item-0fd77782-1dea-426a-86c0-66bb081488fb:payload-matches:true:localhost] 2023-01-10 21:58:46 | [Mutex] received everything. 2023-01-10 21:58:46 | [Mutex] isItemNotified: retrieved:item:item-0fd77782-1dea-426a-86c0-66bb081488fb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-01-10 21:58:46 |
2023-01-10 21:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:46 | ------------------------------------ 2023-01-10 21:58:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-01-10 21:58:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "node-26349cdf-059f-4658-b91c-508d72ba3652" ] } |
retrieveUserSubscriptionsWithRegex | 0.059s |
2023-01-10 21:58:46 |
2023-01-10 21:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:46 | ------------------------------------ 2023-01-10 21:58:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-011ef9c9-bf04-4981-b145-c82d2dc03d3e)" } 2023-01-10 21:58:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2023-01-10 21:58:45 |
2023-01-10 21:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:45 | ------------------------------------ 2023-01-10 21:58:45 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "jids": [ "admin@test-domain.com" ] } 2023-01-10 21:58:45 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.052s |
2023-01-10 21:58:46 |
2023-01-10 21:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-01-10 21:58:46 | ------------------------------------ 2023-01-10 21:58:46 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-011ef9c9-bf04-4981-b145-c82d2dc03d3e", "jids": [ "admin@test-domain.com" ] } 2023-01-10 21:58:46 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |