Test duration : 10.363s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2021-09-13 23:14:21 |
2021-09-13 23:14:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:21 | ------------------------------------ 2021-09-13 23:14:21 | [Mutex] waiting for: [configured:node:node-74ed5944-8a15-47ce-a75c-357eb07d5e1e:node-389d2801-3c4c-4292-a647-f5df1391dc69] 2021-09-13 23:14:21 | [Mutex] received everything. 2021-09-13 23:14:21 | [Mutex] isItemNotified: configured:node:node-74ed5944-8a15-47ce-a75c-357eb07d5e1e:node-389d2801-3c4c-4292-a647-f5df1391dc69 :: true 2021-09-13 23:14:22 | [Mutex] waiting for: [received:nodes:59eb0169-c8f6-4437-b2d8-4a3e7276c097:localhost] 2021-09-13 23:14:22 | [Mutex] received everything. 2021-09-13 23:14:22 | [Mutex] isItemNotified: received:node:59eb0169-c8f6-4437-b2d8-4a3e7276c097:localhost:node-74ed5944-8a15-47ce-a75c-357eb07d5e1e:Node 74ed5944-8a15-47ce-a75c-357eb07d5e1e :: true 2021-09-13 23:14:22 | [Mutex] waiting for: [received:nodes:ade766f8-b0dc-45fd-a140-94a9613ade2d:localhost] 2021-09-13 23:14:22 | [Mutex] received everything. 2021-09-13 23:14:22 | [Mutex] isItemNotified: received:node:ade766f8-b0dc-45fd-a140-94a9613ade2d:localhost:node-74ed5944-8a15-47ce-a75c-357eb07d5e1e:Node 74ed5944-8a15-47ce-a75c-357eb07d5e1e :: false |
createNodes | 1.512s |
2021-09-13 23:14:19 |
2021-09-13 23:14:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:19 | ------------------------------------ 2021-09-13 23:14:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 74ed5944-8a15-47ce-a75c-357eb07d5e1e</title></pubsub></data> 2021-09-13 23:14:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 23:14:20 | [Mutex] waiting for: [received:nodes:825aaa56-844d-4036-947a-b0f4b23ed4f4:localhost] 2021-09-13 23:14:20 | [Mutex] received everything. 2021-09-13 23:14:20 | [Mutex] isItemNotified: received:node:825aaa56-844d-4036-947a-b0f4b23ed4f4:localhost:node-74ed5944-8a15-47ce-a75c-357eb07d5e1e:Node 74ed5944-8a15-47ce-a75c-357eb07d5e1e :: true |
createSubnodes | 1.026s |
2021-09-13 23:14:20 |
2021-09-13 23:14:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:20 | ------------------------------------ 2021-09-13 23:14:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-389d2801-3c4c-4292-a647-f5df1391dc69</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 389d2801-3c4c-4292-a647-f5df1391dc69</title></pubsub></data> 2021-09-13 23:14:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 23:14:21 | [Mutex] waiting for: [received:nodes:7d092e6a-541d-4216-9771-17be0d7715ea:localhost] 2021-09-13 23:14:21 | [Mutex] received everything. 2021-09-13 23:14:21 | [Mutex] isItemNotified: received:node:7d092e6a-541d-4216-9771-17be0d7715ea:localhost:node-389d2801-3c4c-4292-a647-f5df1391dc69:Node 389d2801-3c4c-4292-a647-f5df1391dc69 :: true |
deleteNodes | 1.025s |
2021-09-13 23:14:27 |
2021-09-13 23:14:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:27 | ------------------------------------ 2021-09-13 23:14:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-389d2801-3c4c-4292-a647-f5df1391dc69</node></data> 2021-09-13 23:14:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 23:14:28 | [Mutex] waiting for: [received:nodes:51aa5bc4-11b3-4bca-bedd-bfca25790b1e:localhost] 2021-09-13 23:14:28 | [Mutex] received everything. 2021-09-13 23:14:28 | [Mutex] isItemNotified: received:node:51aa5bc4-11b3-4bca-bedd-bfca25790b1e:localhost:node-389d2801-3c4c-4292-a647-f5df1391dc69:Node 389d2801-3c4c-4292-a647-f5df1391dc69 :: false |
deleteSubnodes | 1.188s |
2021-09-13 23:14:26 |
2021-09-13 23:14:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:26 | ------------------------------------ 2021-09-13 23:14:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</node></data> 2021-09-13 23:14:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-13 23:14:27 | [Mutex] waiting for: [received:nodes:5c69e8ab-1f28-4d92-9d23-ca16d9288877:localhost] 2021-09-13 23:14:27 | [Mutex] received everything. 2021-09-13 23:14:27 | [Mutex] isItemNotified: received:node:5c69e8ab-1f28-4d92-9d23-ca16d9288877:localhost:node-74ed5944-8a15-47ce-a75c-357eb07d5e1e:Node 74ed5944-8a15-47ce-a75c-357eb07d5e1e :: false 2021-09-13 23:14:27 | [Mutex] waiting for: [received:nodes:7d2c7ef5-ff1a-4b12-9c6f-1bfbfeef17e3:localhost] 2021-09-13 23:14:27 | [Mutex] received everything. 2021-09-13 23:14:27 | [Mutex] isItemNotified: received:node:7d2c7ef5-ff1a-4b12-9c6f-1bfbfeef17e3:localhost:node-74ed5944-8a15-47ce-a75c-357eb07d5e1e:Node 74ed5944-8a15-47ce-a75c-357eb07d5e1e :: false |
publishItemsToNodes | 0.294s |
2021-09-13 23:14:23 |
2021-09-13 23:14:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:23 | ------------------------------------ 2021-09-13 23:14:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</node><item-id>item-580ee952-bdb6-4e16-9327-d22ad7927595</item-id><entry><test>item-580ee952-bdb6-4e16-9327-d22ad7927595</test></entry></data> 2021-09-13 23:14:24 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-580ee952-bdb6-4e16-9327-d22ad7927595</value></item-id></result> 2021-09-13 23:14:24 | [Mutex] waiting for: [published:item:notifieditem-580ee952-bdb6-4e16-9327-d22ad7927595:admin@test-domain.com] 2021-09-13 23:14:24 | [Mutex] received everything. 2021-09-13 23:14:24 | [Mutex] isItemNotified: published:item:notifieditem-580ee952-bdb6-4e16-9327-d22ad7927595:admin@test-domain.com :: true |
retractItemsFromNodes | 0.343s |
2021-09-13 23:14:24 |
2021-09-13 23:14:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:24 | ------------------------------------ 2021-09-13 23:14:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</node><item-id>item-580ee952-bdb6-4e16-9327-d22ad7927595</item-id></data> 2021-09-13 23:14:24 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-580ee952-bdb6-4e16-9327-d22ad7927595</value></item-id></result> 2021-09-13 23:14:24 | [Mutex] waiting for: [retracted:item:notifieditem-580ee952-bdb6-4e16-9327-d22ad7927595:admin@test-domain.com] 2021-09-13 23:14:24 | [Mutex] received everything. 2021-09-13 23:14:24 | [Mutex] isItemNotified: retracted:item:notifieditem-580ee952-bdb6-4e16-9327-d22ad7927595:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.260s |
2021-09-13 23:14:24 |
2021-09-13 23:14:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:24 | ------------------------------------ 2021-09-13 23:14:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</node><item-id>item-580ee952-bdb6-4e16-9327-d22ad7927595</item-id></data> 2021-09-13 23:14:24 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</value></node><item-id type="text-single" label="Item ID"><value>item-580ee952-bdb6-4e16-9327-d22ad7927595</value></item-id><item type="text-multi" label="Item"><value><item id="item-580ee952-bdb6-4e16-9327-d22ad7927595"><test>item-580ee952-bdb6-4e16-9327-d22ad7927595</test></item></value></item></result> 2021-09-13 23:14:24 | [Mutex] notify: [retrieved:item:item-580ee952-bdb6-4e16-9327-d22ad7927595:payload-matches:true:localhost] 2021-09-13 23:14:24 | [Mutex] received everything. 2021-09-13 23:14:24 | [Mutex] isItemNotified: retrieved:item:item-580ee952-bdb6-4e16-9327-d22ad7927595:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2021-09-13 23:14:24 |
2021-09-13 23:14:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:24 | ------------------------------------ 2021-09-13 23:14:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-13 23:14:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</value><value>node-389d2801-3c4c-4292-a647-f5df1391dc69</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-09-13 23:14:24 |
2021-09-13 23:14:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:24 | ------------------------------------ 2021-09-13 23:14:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-74ed5944-8a15-47ce-a75c-357eb07d5e1e)</node-pattern></data> 2021-09-13 23:14:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.176s |
2021-09-13 23:14:22 |
2021-09-13 23:14:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:22 | ------------------------------------ 2021-09-13 23:14:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-13 23:14:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.387s |
2021-09-13 23:14:24 |
2021-09-13 23:14:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-13 23:14:24 | ------------------------------------ 2021-09-13 23:14:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-74ed5944-8a15-47ce-a75c-357eb07d5e1e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-13 23:14:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |