Test duration : 9.627s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.078s |
2022-07-26 22:32:35 |
2022-07-26 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:35 | ------------------------------------ 2022-07-26 22:32:35 | [Mutex] waiting for: [configured:node:node-cb2132d7-0dda-4d62-bb71-54c74cffda12:node-ab641976-accf-46d6-a06d-192247ff0ef6] 2022-07-26 22:32:35 | [Mutex] received everything. 2022-07-26 22:32:35 | [Mutex] isItemNotified: configured:node:node-cb2132d7-0dda-4d62-bb71-54c74cffda12:node-ab641976-accf-46d6-a06d-192247ff0ef6 :: true 2022-07-26 22:32:36 | [Mutex] waiting for: [received:nodes:b8d19157-1960-4726-99ab-a4bcbb4c117a:localhost] 2022-07-26 22:32:36 | [Mutex] received everything. 2022-07-26 22:32:36 | [Mutex] isItemNotified: received:node:b8d19157-1960-4726-99ab-a4bcbb4c117a:localhost:node-cb2132d7-0dda-4d62-bb71-54c74cffda12:Node cb2132d7-0dda-4d62-bb71-54c74cffda12 :: true 2022-07-26 22:32:36 | [Mutex] waiting for: [received:nodes:44a5c797-5713-4c2f-8c5b-fa67fc580a7d:localhost] 2022-07-26 22:32:36 | [Mutex] received everything. 2022-07-26 22:32:36 | [Mutex] isItemNotified: received:node:44a5c797-5713-4c2f-8c5b-fa67fc580a7d:localhost:node-cb2132d7-0dda-4d62-bb71-54c74cffda12:Node cb2132d7-0dda-4d62-bb71-54c74cffda12 :: false |
createNodes | 1.533s |
2022-07-26 22:32:32 |
2022-07-26 22:32:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:32 | ------------------------------------ 2022-07-26 22:32:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cb2132d7-0dda-4d62-bb71-54c74cffda12</title></pubsub></data> 2022-07-26 22:32:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:33 | [Mutex] waiting for: [received:nodes:dffe4d31-a17e-4f7e-b01b-52a10da04220:localhost] 2022-07-26 22:32:33 | [Mutex] received everything. 2022-07-26 22:32:33 | [Mutex] isItemNotified: received:node:dffe4d31-a17e-4f7e-b01b-52a10da04220:localhost:node-cb2132d7-0dda-4d62-bb71-54c74cffda12:Node cb2132d7-0dda-4d62-bb71-54c74cffda12 :: true |
createSubnodes | 1.026s |
2022-07-26 22:32:33 |
2022-07-26 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:33 | ------------------------------------ 2022-07-26 22:32:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ab641976-accf-46d6-a06d-192247ff0ef6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ab641976-accf-46d6-a06d-192247ff0ef6</title></pubsub></data> 2022-07-26 22:32:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:35 | [Mutex] waiting for: [received:nodes:0387bb32-b853-48b5-9177-3c129e7bb1aa:localhost] 2022-07-26 22:32:35 | [Mutex] waiting for: [received:nodes:0387bb32-b853-48b5-9177-3c129e7bb1aa:localhost] 2022-07-26 22:32:35 | [Mutex] received everything. 2022-07-26 22:32:35 | [Mutex] isItemNotified: received:node:0387bb32-b853-48b5-9177-3c129e7bb1aa:localhost:node-ab641976-accf-46d6-a06d-192247ff0ef6:Node ab641976-accf-46d6-a06d-192247ff0ef6 :: true |
deleteNodes | 1.016s |
2022-07-26 22:32:40 |
2022-07-26 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:40 | ------------------------------------ 2022-07-26 22:32:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ab641976-accf-46d6-a06d-192247ff0ef6</node></data> 2022-07-26 22:32:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:41 | [Mutex] waiting for: [received:nodes:3fc44bd8-a29b-4f39-a65a-9884b8d9c38f:localhost] 2022-07-26 22:32:41 | [Mutex] waiting for: [received:nodes:3fc44bd8-a29b-4f39-a65a-9884b8d9c38f:localhost] 2022-07-26 22:32:41 | [Mutex] received everything. 2022-07-26 22:32:41 | [Mutex] isItemNotified: received:node:3fc44bd8-a29b-4f39-a65a-9884b8d9c38f:localhost:node-ab641976-accf-46d6-a06d-192247ff0ef6:Node ab641976-accf-46d6-a06d-192247ff0ef6 :: false |
deleteSubnodes | 1.115s |
2022-07-26 22:32:39 |
2022-07-26 22:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:39 | ------------------------------------ 2022-07-26 22:32:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</node></data> 2022-07-26 22:32:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:40 | [Mutex] waiting for: [received:nodes:7de0cc87-9610-4046-9816-264a55821270:localhost] 2022-07-26 22:32:40 | [Mutex] waiting for: [received:nodes:7de0cc87-9610-4046-9816-264a55821270:localhost] 2022-07-26 22:32:40 | [Mutex] received everything. 2022-07-26 22:32:40 | [Mutex] isItemNotified: received:node:7de0cc87-9610-4046-9816-264a55821270:localhost:node-cb2132d7-0dda-4d62-bb71-54c74cffda12:Node cb2132d7-0dda-4d62-bb71-54c74cffda12 :: false 2022-07-26 22:32:40 | [Mutex] waiting for: [received:nodes:28dda14c-656e-4092-ab8a-e51f93cb3f06:localhost] 2022-07-26 22:32:40 | [Mutex] received everything. 2022-07-26 22:32:40 | [Mutex] isItemNotified: received:node:28dda14c-656e-4092-ab8a-e51f93cb3f06:localhost:node-cb2132d7-0dda-4d62-bb71-54c74cffda12:Node cb2132d7-0dda-4d62-bb71-54c74cffda12 :: false |
publishItemsToNodes | 0.288s |
2022-07-26 22:32:37 |
2022-07-26 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:37 | ------------------------------------ 2022-07-26 22:32:37 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</node><item-id>item-62fe4708-84dc-4b55-85f5-8f3adba8eae0</item-id><entry><test>item-62fe4708-84dc-4b55-85f5-8f3adba8eae0</test></entry></data> 2022-07-26 22:32:37 | 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-62fe4708-84dc-4b55-85f5-8f3adba8eae0</value></item-id></result> 2022-07-26 22:32:37 | [Mutex] received everything. 2022-07-26 22:32:37 | [Mutex] isItemNotified: published:item:notifieditem-62fe4708-84dc-4b55-85f5-8f3adba8eae0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.236s |
2022-07-26 22:32:37 |
2022-07-26 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:37 | ------------------------------------ 2022-07-26 22:32:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</node><item-id>item-62fe4708-84dc-4b55-85f5-8f3adba8eae0</item-id></data> 2022-07-26 22:32:38 | 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-62fe4708-84dc-4b55-85f5-8f3adba8eae0</value></item-id></result> 2022-07-26 22:32:38 | [Mutex] received everything. 2022-07-26 22:32:38 | [Mutex] isItemNotified: retracted:item:notifieditem-62fe4708-84dc-4b55-85f5-8f3adba8eae0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.174s |
2022-07-26 22:32:37 |
2022-07-26 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:37 | ------------------------------------ 2022-07-26 22:32:37 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</node><item-id>item-62fe4708-84dc-4b55-85f5-8f3adba8eae0</item-id></data> 2022-07-26 22:32:37 | 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-cb2132d7-0dda-4d62-bb71-54c74cffda12</value></node><item-id type="text-single" label="Item ID"><value>item-62fe4708-84dc-4b55-85f5-8f3adba8eae0</value></item-id><item type="text-multi" label="Item"><value><item id="item-62fe4708-84dc-4b55-85f5-8f3adba8eae0"><test>item-62fe4708-84dc-4b55-85f5-8f3adba8eae0</test></item></value></item></result> 2022-07-26 22:32:37 | [Mutex] notify: [retrieved:item:item-62fe4708-84dc-4b55-85f5-8f3adba8eae0:payload-matches:true:localhost] 2022-07-26 22:32:37 | [Mutex] received everything. 2022-07-26 22:32:37 | [Mutex] isItemNotified: retrieved:item:item-62fe4708-84dc-4b55-85f5-8f3adba8eae0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-07-26 22:32:37 |
2022-07-26 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:37 | ------------------------------------ 2022-07-26 22:32:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-26 22:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-ab641976-accf-46d6-a06d-192247ff0ef6</value><value>test</value><value>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-26 22:32:37 |
2022-07-26 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:37 | ------------------------------------ 2022-07-26 22:32:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cb2132d7-0dda-4d62-bb71-54c74cffda12)</node-pattern></data> 2022-07-26 22:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.120s |
2022-07-26 22:32:36 |
2022-07-26 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:36 | ------------------------------------ 2022-07-26 22:32:36 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-26 22:32:36 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2022-07-26 22:32:38 |
2022-07-26 22:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:38 | ------------------------------------ 2022-07-26 22:32:38 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cb2132d7-0dda-4d62-bb71-54c74cffda12</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-26 22:32:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |