Test duration : 9.529s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2023-03-14 23:01:11 |
2023-03-14 23:01:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:11 | ------------------------------------ 2023-03-14 23:01:11 | [Mutex] waiting for: [configured:node:node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae:node-7300e51c-ae8d-47dc-9876-5cb77596d598] 2023-03-14 23:01:11 | [Mutex] received everything. 2023-03-14 23:01:11 | [Mutex] isItemNotified: configured:node:node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae:node-7300e51c-ae8d-47dc-9876-5cb77596d598 :: true 2023-03-14 23:01:12 | [Mutex] waiting for: [received:nodes:bb14b03f-82d0-46b5-b124-163b60faff54:localhost] 2023-03-14 23:01:12 | [Mutex] received everything. 2023-03-14 23:01:12 | [Mutex] isItemNotified: received:node:bb14b03f-82d0-46b5-b124-163b60faff54:localhost:node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae:Node 44fdc28e-363e-4d7d-a4c9-d33827ad8fae :: true 2023-03-14 23:01:12 | [Mutex] waiting for: [received:nodes:20f1ce14-7987-4472-a448-10c25c55839e:localhost] 2023-03-14 23:01:12 | [Mutex] waiting for: [received:nodes:20f1ce14-7987-4472-a448-10c25c55839e:localhost] 2023-03-14 23:01:12 | [Mutex] waiting for: [received:nodes:20f1ce14-7987-4472-a448-10c25c55839e:localhost] 2023-03-14 23:01:12 | [Mutex] received everything. 2023-03-14 23:01:12 | [Mutex] isItemNotified: received:node:20f1ce14-7987-4472-a448-10c25c55839e:localhost:node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae:Node 44fdc28e-363e-4d7d-a4c9-d33827ad8fae :: false |
createNodes | 1.523s |
2023-03-14 23:01:09 |
2023-03-14 23:01:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:09 | ------------------------------------ 2023-03-14 23:01:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 44fdc28e-363e-4d7d-a4c9-d33827ad8fae</title></pubsub></data> 2023-03-14 23:01:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 23:01:10 | [Mutex] waiting for: [received:nodes:ea89eafc-38f8-4d87-922f-f87ce7ebca96:localhost] 2023-03-14 23:01:10 | [Mutex] waiting for: [received:nodes:ea89eafc-38f8-4d87-922f-f87ce7ebca96:localhost] 2023-03-14 23:01:10 | [Mutex] waiting for: [received:nodes:ea89eafc-38f8-4d87-922f-f87ce7ebca96:localhost] 2023-03-14 23:01:10 | [Mutex] waiting for: [received:nodes:ea89eafc-38f8-4d87-922f-f87ce7ebca96:localhost] 2023-03-14 23:01:10 | [Mutex] received everything. 2023-03-14 23:01:10 | [Mutex] isItemNotified: received:node:ea89eafc-38f8-4d87-922f-f87ce7ebca96:localhost:node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae:Node 44fdc28e-363e-4d7d-a4c9-d33827ad8fae :: true |
createSubnodes | 1.021s |
2023-03-14 23:01:10 |
2023-03-14 23:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:10 | ------------------------------------ 2023-03-14 23:01:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7300e51c-ae8d-47dc-9876-5cb77596d598</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7300e51c-ae8d-47dc-9876-5cb77596d598</title></pubsub></data> 2023-03-14 23:01:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 23:01:11 | [Mutex] waiting for: [received:nodes:ba9d7fb0-3be8-4880-8285-da5e78a5a4a6:localhost] 2023-03-14 23:01:11 | [Mutex] waiting for: [received:nodes:ba9d7fb0-3be8-4880-8285-da5e78a5a4a6:localhost] 2023-03-14 23:01:11 | [Mutex] waiting for: [received:nodes:ba9d7fb0-3be8-4880-8285-da5e78a5a4a6:localhost] 2023-03-14 23:01:11 | [Mutex] waiting for: [received:nodes:ba9d7fb0-3be8-4880-8285-da5e78a5a4a6:localhost] 2023-03-14 23:01:11 | [Mutex] received everything. 2023-03-14 23:01:11 | [Mutex] isItemNotified: received:node:ba9d7fb0-3be8-4880-8285-da5e78a5a4a6:localhost:node-7300e51c-ae8d-47dc-9876-5cb77596d598:Node 7300e51c-ae8d-47dc-9876-5cb77596d598 :: true |
deleteNodes | 1.018s |
2023-03-14 23:01:17 |
2023-03-14 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:17 | ------------------------------------ 2023-03-14 23:01:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7300e51c-ae8d-47dc-9876-5cb77596d598</node></data> 2023-03-14 23:01:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 23:01:18 | [Mutex] waiting for: [received:nodes:c3ee4291-bb83-4fb1-b259-d85a9375691d:localhost] 2023-03-14 23:01:18 | [Mutex] waiting for: [received:nodes:c3ee4291-bb83-4fb1-b259-d85a9375691d:localhost] 2023-03-14 23:01:18 | [Mutex] received everything. 2023-03-14 23:01:18 | [Mutex] isItemNotified: received:node:c3ee4291-bb83-4fb1-b259-d85a9375691d:localhost:node-7300e51c-ae8d-47dc-9876-5cb77596d598:Node 7300e51c-ae8d-47dc-9876-5cb77596d598 :: false |
deleteSubnodes | 1.137s |
2023-03-14 23:01:16 |
2023-03-14 23:01:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:16 | ------------------------------------ 2023-03-14 23:01:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</node></data> 2023-03-14 23:01:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-14 23:01:17 | [Mutex] waiting for: [received:nodes:e4c77a41-9b15-4297-b9d4-97a1bd8a01d1:localhost] 2023-03-14 23:01:17 | [Mutex] waiting for: [received:nodes:e4c77a41-9b15-4297-b9d4-97a1bd8a01d1:localhost] 2023-03-14 23:01:17 | [Mutex] waiting for: [received:nodes:e4c77a41-9b15-4297-b9d4-97a1bd8a01d1:localhost] 2023-03-14 23:01:17 | [Mutex] received everything. 2023-03-14 23:01:17 | [Mutex] isItemNotified: received:node:e4c77a41-9b15-4297-b9d4-97a1bd8a01d1:localhost:node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae:Node 44fdc28e-363e-4d7d-a4c9-d33827ad8fae :: false 2023-03-14 23:01:17 | [Mutex] waiting for: [received:nodes:b1f1ed6b-5f37-4cfc-8429-d3dee6a7d718:localhost] 2023-03-14 23:01:17 | [Mutex] received everything. 2023-03-14 23:01:17 | [Mutex] isItemNotified: received:node:b1f1ed6b-5f37-4cfc-8429-d3dee6a7d718:localhost:node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae:Node 44fdc28e-363e-4d7d-a4c9-d33827ad8fae :: false |
publishItemsToNodes | 0.250s |
2023-03-14 23:01:14 |
2023-03-14 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:14 | ------------------------------------ 2023-03-14 23:01:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</node><item-id>item-304c9d8d-7f08-4250-899a-313574fd927e</item-id><entry><test>item-304c9d8d-7f08-4250-899a-313574fd927e</test></entry></data> 2023-03-14 23:01:14 | 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-304c9d8d-7f08-4250-899a-313574fd927e</value></item-id></result> 2023-03-14 23:01:14 | [Mutex] received everything. 2023-03-14 23:01:14 | [Mutex] isItemNotified: published:item:notifieditem-304c9d8d-7f08-4250-899a-313574fd927e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.310s |
2023-03-14 23:01:14 |
2023-03-14 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:14 | ------------------------------------ 2023-03-14 23:01:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</node><item-id>item-304c9d8d-7f08-4250-899a-313574fd927e</item-id></data> 2023-03-14 23:01:14 | 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-304c9d8d-7f08-4250-899a-313574fd927e</value></item-id></result> 2023-03-14 23:01:14 | [Mutex] received everything. 2023-03-14 23:01:14 | [Mutex] isItemNotified: retracted:item:notifieditem-304c9d8d-7f08-4250-899a-313574fd927e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.226s |
2023-03-14 23:01:14 |
2023-03-14 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:14 | ------------------------------------ 2023-03-14 23:01:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</node><item-id>item-304c9d8d-7f08-4250-899a-313574fd927e</item-id></data> 2023-03-14 23:01:14 | 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-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</value></node><item-id type="text-single" label="Item ID"><value>item-304c9d8d-7f08-4250-899a-313574fd927e</value></item-id><item type="text-multi" label="Item"><value><item id="item-304c9d8d-7f08-4250-899a-313574fd927e"><test>item-304c9d8d-7f08-4250-899a-313574fd927e</test></item></value></item></result> 2023-03-14 23:01:14 | [Mutex] notify: [retrieved:item:item-304c9d8d-7f08-4250-899a-313574fd927e:payload-matches:true:localhost] 2023-03-14 23:01:14 | [Mutex] received everything. 2023-03-14 23:01:14 | [Mutex] isItemNotified: retrieved:item:item-304c9d8d-7f08-4250-899a-313574fd927e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-14 23:01:14 |
2023-03-14 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:14 | ------------------------------------ 2023-03-14 23:01:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-14 23:01:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</value><value>test</value><value>node-7300e51c-ae8d-47dc-9876-5cb77596d598</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-14 23:01:14 |
2023-03-14 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:14 | ------------------------------------ 2023-03-14 23:01:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae)</node-pattern></data> 2023-03-14 23:01:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.112s |
2023-03-14 23:01:12 |
2023-03-14 23:01:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:12 | ------------------------------------ 2023-03-14 23:01:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-14 23:01:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.082s |
2023-03-14 23:01:14 |
2023-03-14 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-14 23:01:14 | ------------------------------------ 2023-03-14 23:01:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-44fdc28e-363e-4d7d-a4c9-d33827ad8fae</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-14 23:01:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |