Test duration : 9.468s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2022-08-22 22:34:10 |
2022-08-22 22:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:10 | ------------------------------------ 2022-08-22 22:34:10 | [Mutex] waiting for: [configured:node:node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540:node-2b486626-f492-4c9a-af1f-9c1f7480f393] 2022-08-22 22:34:10 | [Mutex] received everything. 2022-08-22 22:34:10 | [Mutex] isItemNotified: configured:node:node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540:node-2b486626-f492-4c9a-af1f-9c1f7480f393 :: true 2022-08-22 22:34:11 | [Mutex] waiting for: [received:nodes:5b08b6ac-5802-43db-a8fd-c0f1f1e2ef1a:localhost] 2022-08-22 22:34:11 | [Mutex] received everything. 2022-08-22 22:34:11 | [Mutex] isItemNotified: received:node:5b08b6ac-5802-43db-a8fd-c0f1f1e2ef1a:localhost:node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540:Node c8fd0cf7-0cbe-423b-ad2d-88369ca51540 :: true 2022-08-22 22:34:11 | [Mutex] waiting for: [received:nodes:77a79004-025d-4717-bf38-7eb9ab63b43b:localhost] 2022-08-22 22:34:11 | [Mutex] received everything. 2022-08-22 22:34:11 | [Mutex] isItemNotified: received:node:77a79004-025d-4717-bf38-7eb9ab63b43b:localhost:node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540:Node c8fd0cf7-0cbe-423b-ad2d-88369ca51540 :: false |
createNodes | 1.422s |
2022-08-22 22:34:07 |
2022-08-22 22:34:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:07 | ------------------------------------ 2022-08-22 22:34:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c8fd0cf7-0cbe-423b-ad2d-88369ca51540</title></pubsub></data> 2022-08-22 22:34:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:34:09 | [Mutex] waiting for: [received:nodes:2439d2e6-464f-4a44-9fb9-d8e7993e8a1a:localhost] 2022-08-22 22:34:09 | [Mutex] received everything. 2022-08-22 22:34:09 | [Mutex] isItemNotified: received:node:2439d2e6-464f-4a44-9fb9-d8e7993e8a1a:localhost:node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540:Node c8fd0cf7-0cbe-423b-ad2d-88369ca51540 :: true |
createSubnodes | 1.031s |
2022-08-22 22:34:09 |
2022-08-22 22:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:09 | ------------------------------------ 2022-08-22 22:34:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2b486626-f492-4c9a-af1f-9c1f7480f393</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2b486626-f492-4c9a-af1f-9c1f7480f393</title></pubsub></data> 2022-08-22 22:34:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:34:10 | [Mutex] waiting for: [received:nodes:f3438bd2-0ade-4e33-a393-16e20e3a79de:localhost] 2022-08-22 22:34:10 | [Mutex] received everything. 2022-08-22 22:34:10 | [Mutex] isItemNotified: received:node:f3438bd2-0ade-4e33-a393-16e20e3a79de:localhost:node-2b486626-f492-4c9a-af1f-9c1f7480f393:Node 2b486626-f492-4c9a-af1f-9c1f7480f393 :: true |
deleteNodes | 1.018s |
2022-08-22 22:34:15 |
2022-08-22 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:15 | ------------------------------------ 2022-08-22 22:34:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2b486626-f492-4c9a-af1f-9c1f7480f393</node></data> 2022-08-22 22:34:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:34:16 | [Mutex] waiting for: [received:nodes:5de6fda1-8ef3-43ec-b317-a1c0e5af4b01:localhost] 2022-08-22 22:34:16 | [Mutex] received everything. 2022-08-22 22:34:16 | [Mutex] isItemNotified: received:node:5de6fda1-8ef3-43ec-b317-a1c0e5af4b01:localhost:node-2b486626-f492-4c9a-af1f-9c1f7480f393:Node 2b486626-f492-4c9a-af1f-9c1f7480f393 :: false |
deleteSubnodes | 1.129s |
2022-08-22 22:34:14 |
2022-08-22 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:14 | ------------------------------------ 2022-08-22 22:34:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</node></data> 2022-08-22 22:34:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 22:34:15 | [Mutex] waiting for: [received:nodes:576eb1c6-44fa-4d6e-a71c-495c7bf06a5c:localhost] 2022-08-22 22:34:15 | [Mutex] waiting for: [received:nodes:576eb1c6-44fa-4d6e-a71c-495c7bf06a5c:localhost] 2022-08-22 22:34:15 | [Mutex] received everything. 2022-08-22 22:34:15 | [Mutex] isItemNotified: received:node:576eb1c6-44fa-4d6e-a71c-495c7bf06a5c:localhost:node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540:Node c8fd0cf7-0cbe-423b-ad2d-88369ca51540 :: false 2022-08-22 22:34:15 | [Mutex] waiting for: [received:nodes:528a80ff-8b71-4c1f-a67a-6ae66cf9c389:localhost] 2022-08-22 22:34:15 | [Mutex] received everything. 2022-08-22 22:34:15 | [Mutex] isItemNotified: received:node:528a80ff-8b71-4c1f-a67a-6ae66cf9c389:localhost:node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540:Node c8fd0cf7-0cbe-423b-ad2d-88369ca51540 :: false |
publishItemsToNodes | 0.225s |
2022-08-22 22:34:12 |
2022-08-22 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:12 | ------------------------------------ 2022-08-22 22:34:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</node><item-id>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</item-id><entry><test>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</test></entry></data> 2022-08-22 22:34:12 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</value></item-id></result> 2022-08-22 22:34:12 | [Mutex] received everything. 2022-08-22 22:34:12 | [Mutex] isItemNotified: published:item:notifieditem-d80db568-00c9-46ed-8c65-5d2ef43225f6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.199s |
2022-08-22 22:34:13 |
2022-08-22 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:13 | ------------------------------------ 2022-08-22 22:34:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</node><item-id>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</item-id></data> 2022-08-22 22:34:13 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</value></item-id></result> 2022-08-22 22:34:13 | [Mutex] received everything. 2022-08-22 22:34:13 | [Mutex] isItemNotified: retracted:item:notifieditem-d80db568-00c9-46ed-8c65-5d2ef43225f6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.220s |
2022-08-22 22:34:12 |
2022-08-22 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:12 | ------------------------------------ 2022-08-22 22:34:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</node><item-id>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</item-id></data> 2022-08-22 22:34:13 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</value></node><item-id label="Item ID" type="text-single"><value>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</value></item-id><item label="Item" type="text-multi"><value><item id="item-d80db568-00c9-46ed-8c65-5d2ef43225f6"><test>item-d80db568-00c9-46ed-8c65-5d2ef43225f6</test></item></value></item></result> 2022-08-22 22:34:13 | [Mutex] notify: [retrieved:item:item-d80db568-00c9-46ed-8c65-5d2ef43225f6:payload-matches:true:localhost] 2022-08-22 22:34:13 | [Mutex] received everything. 2022-08-22 22:34:13 | [Mutex] isItemNotified: retrieved:item:item-d80db568-00c9-46ed-8c65-5d2ef43225f6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-22 22:34:13 |
2022-08-22 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:13 | ------------------------------------ 2022-08-22 22:34:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-22 22:34:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</value><value>node-2b486626-f492-4c9a-af1f-9c1f7480f393</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.050s |
2022-08-22 22:34:13 |
2022-08-22 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:13 | ------------------------------------ 2022-08-22 22:34:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540)</node-pattern></data> 2022-08-22 22:34:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.120s |
2022-08-22 22:34:11 |
2022-08-22 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:11 | ------------------------------------ 2022-08-22 22:34:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 22:34:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2022-08-22 22:34:13 |
2022-08-22 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 22:34:13 | ------------------------------------ 2022-08-22 22:34:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c8fd0cf7-0cbe-423b-ad2d-88369ca51540</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 22:34:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |