Test duration : 9.389s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2023-06-20 22:30:46 |
2023-06-20 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:46 | ------------------------------------ 2023-06-20 22:30:46 | [Mutex] waiting for: [configured:node:node-f3587c45-a6ef-4f75-a757-7ff48afe19b4:node-b1ae2f58-08f5-4e29-aaab-952f811afc74] 2023-06-20 22:30:46 | [Mutex] received everything. 2023-06-20 22:30:46 | [Mutex] isItemNotified: configured:node:node-f3587c45-a6ef-4f75-a757-7ff48afe19b4:node-b1ae2f58-08f5-4e29-aaab-952f811afc74 :: true 2023-06-20 22:30:47 | [Mutex] waiting for: [received:nodes:b394c2f0-80d9-45eb-bd6a-821443d1d3c7:localhost] 2023-06-20 22:30:47 | [Mutex] received everything. 2023-06-20 22:30:47 | [Mutex] isItemNotified: received:node:b394c2f0-80d9-45eb-bd6a-821443d1d3c7:localhost:node-f3587c45-a6ef-4f75-a757-7ff48afe19b4:Node f3587c45-a6ef-4f75-a757-7ff48afe19b4 :: true 2023-06-20 22:30:47 | [Mutex] waiting for: [received:nodes:72b13269-eead-4a10-befa-ed1daddb09fd:localhost] 2023-06-20 22:30:47 | [Mutex] received everything. 2023-06-20 22:30:47 | [Mutex] isItemNotified: received:node:72b13269-eead-4a10-befa-ed1daddb09fd:localhost:node-f3587c45-a6ef-4f75-a757-7ff48afe19b4:Node f3587c45-a6ef-4f75-a757-7ff48afe19b4 :: false |
createNodes | 1.393s |
2023-06-20 22:30:43 |
2023-06-20 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:43 | ------------------------------------ 2023-06-20 22:30:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f3587c45-a6ef-4f75-a757-7ff48afe19b4</title></pubsub></data> 2023-06-20 22:30:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:30:44 | [Mutex] waiting for: [received:nodes:75c27075-c139-470d-910f-235e5f15cb51:localhost] 2023-06-20 22:30:44 | [Mutex] waiting for: [received:nodes:75c27075-c139-470d-910f-235e5f15cb51:localhost] 2023-06-20 22:30:44 | [Mutex] waiting for: [received:nodes:75c27075-c139-470d-910f-235e5f15cb51:localhost] 2023-06-20 22:30:44 | [Mutex] waiting for: [received:nodes:75c27075-c139-470d-910f-235e5f15cb51:localhost] 2023-06-20 22:30:44 | [Mutex] received everything. 2023-06-20 22:30:44 | [Mutex] isItemNotified: received:node:75c27075-c139-470d-910f-235e5f15cb51:localhost:node-f3587c45-a6ef-4f75-a757-7ff48afe19b4:Node f3587c45-a6ef-4f75-a757-7ff48afe19b4 :: true |
createSubnodes | 1.032s |
2023-06-20 22:30:44 |
2023-06-20 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:44 | ------------------------------------ 2023-06-20 22:30:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b1ae2f58-08f5-4e29-aaab-952f811afc74</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b1ae2f58-08f5-4e29-aaab-952f811afc74</title></pubsub></data> 2023-06-20 22:30:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:30:45 | [Mutex] waiting for: [received:nodes:9cee8203-4ed7-42c9-8f00-40ebfa02b913:localhost] 2023-06-20 22:30:46 | [Mutex] waiting for: [received:nodes:9cee8203-4ed7-42c9-8f00-40ebfa02b913:localhost] 2023-06-20 22:30:46 | [Mutex] waiting for: [received:nodes:9cee8203-4ed7-42c9-8f00-40ebfa02b913:localhost] 2023-06-20 22:30:46 | [Mutex] waiting for: [received:nodes:9cee8203-4ed7-42c9-8f00-40ebfa02b913:localhost] 2023-06-20 22:30:46 | [Mutex] received everything. 2023-06-20 22:30:46 | [Mutex] isItemNotified: received:node:9cee8203-4ed7-42c9-8f00-40ebfa02b913:localhost:node-b1ae2f58-08f5-4e29-aaab-952f811afc74:Node b1ae2f58-08f5-4e29-aaab-952f811afc74 :: true |
deleteNodes | 1.024s |
2023-06-20 22:30:51 |
2023-06-20 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:51 | ------------------------------------ 2023-06-20 22:30:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b1ae2f58-08f5-4e29-aaab-952f811afc74</node></data> 2023-06-20 22:30:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:30:52 | [Mutex] waiting for: [received:nodes:f996955d-aaa4-4f70-a06d-ab552e6b5fb5:localhost] 2023-06-20 22:30:52 | [Mutex] waiting for: [received:nodes:f996955d-aaa4-4f70-a06d-ab552e6b5fb5:localhost] 2023-06-20 22:30:52 | [Mutex] waiting for: [received:nodes:f996955d-aaa4-4f70-a06d-ab552e6b5fb5:localhost] 2023-06-20 22:30:52 | [Mutex] received everything. 2023-06-20 22:30:52 | [Mutex] isItemNotified: received:node:f996955d-aaa4-4f70-a06d-ab552e6b5fb5:localhost:node-b1ae2f58-08f5-4e29-aaab-952f811afc74:Node b1ae2f58-08f5-4e29-aaab-952f811afc74 :: false |
deleteSubnodes | 1.132s |
2023-06-20 22:30:50 |
2023-06-20 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:50 | ------------------------------------ 2023-06-20 22:30:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</node></data> 2023-06-20 22:30:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-20 22:30:51 | [Mutex] waiting for: [received:nodes:3383108e-0f58-430a-8605-f4ecf2c839c6:localhost] 2023-06-20 22:30:51 | [Mutex] waiting for: [received:nodes:3383108e-0f58-430a-8605-f4ecf2c839c6:localhost] 2023-06-20 22:30:51 | [Mutex] waiting for: [received:nodes:3383108e-0f58-430a-8605-f4ecf2c839c6:localhost] 2023-06-20 22:30:51 | [Mutex] received everything. 2023-06-20 22:30:51 | [Mutex] isItemNotified: received:node:3383108e-0f58-430a-8605-f4ecf2c839c6:localhost:node-f3587c45-a6ef-4f75-a757-7ff48afe19b4:Node f3587c45-a6ef-4f75-a757-7ff48afe19b4 :: false 2023-06-20 22:30:51 | [Mutex] waiting for: [received:nodes:37200d47-cc1c-487d-ac51-8ea30f55d0fa:localhost] 2023-06-20 22:30:51 | [Mutex] received everything. 2023-06-20 22:30:51 | [Mutex] isItemNotified: received:node:37200d47-cc1c-487d-ac51-8ea30f55d0fa:localhost:node-f3587c45-a6ef-4f75-a757-7ff48afe19b4:Node f3587c45-a6ef-4f75-a757-7ff48afe19b4 :: false |
publishItemsToNodes | 0.225s |
2023-06-20 22:30:48 |
2023-06-20 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:48 | ------------------------------------ 2023-06-20 22:30:48 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</node><item-id>item-163d330d-4803-4289-8aa4-f77653367819</item-id><entry><test>item-163d330d-4803-4289-8aa4-f77653367819</test></entry></data> 2023-06-20 22:30:48 | 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-163d330d-4803-4289-8aa4-f77653367819</value></item-id></result> 2023-06-20 22:30:48 | [Mutex] waiting for: [published:item:notifieditem-163d330d-4803-4289-8aa4-f77653367819:admin@test-domain.com] 2023-06-20 22:30:48 | [Mutex] received everything. 2023-06-20 22:30:48 | [Mutex] isItemNotified: published:item:notifieditem-163d330d-4803-4289-8aa4-f77653367819:admin@test-domain.com :: true |
retractItemsFromNodes | 0.269s |
2023-06-20 22:30:48 |
2023-06-20 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:48 | ------------------------------------ 2023-06-20 22:30:48 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</node><item-id>item-163d330d-4803-4289-8aa4-f77653367819</item-id></data> 2023-06-20 22:30:49 | 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-163d330d-4803-4289-8aa4-f77653367819</value></item-id></result> 2023-06-20 22:30:49 | [Mutex] waiting for: [retracted:item:notifieditem-163d330d-4803-4289-8aa4-f77653367819:admin@test-domain.com] 2023-06-20 22:30:49 | [Mutex] received everything. 2023-06-20 22:30:49 | [Mutex] isItemNotified: retracted:item:notifieditem-163d330d-4803-4289-8aa4-f77653367819:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.169s |
2023-06-20 22:30:48 |
2023-06-20 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:48 | ------------------------------------ 2023-06-20 22:30:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</node><item-id>item-163d330d-4803-4289-8aa4-f77653367819</item-id></data> 2023-06-20 22:30:48 | 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-f3587c45-a6ef-4f75-a757-7ff48afe19b4</value></node><item-id label="Item ID" type="text-single"><value>item-163d330d-4803-4289-8aa4-f77653367819</value></item-id><item label="Item" type="text-multi"><value><item id="item-163d330d-4803-4289-8aa4-f77653367819"><test>item-163d330d-4803-4289-8aa4-f77653367819</test></item></value></item></result> 2023-06-20 22:30:48 | [Mutex] notify: [retrieved:item:item-163d330d-4803-4289-8aa4-f77653367819:payload-matches:true:localhost] 2023-06-20 22:30:48 | [Mutex] received everything. 2023-06-20 22:30:48 | [Mutex] isItemNotified: retrieved:item:item-163d330d-4803-4289-8aa4-f77653367819:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2023-06-20 22:30:48 |
2023-06-20 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:48 | ------------------------------------ 2023-06-20 22:30:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-20 22:30:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-b1ae2f58-08f5-4e29-aaab-952f811afc74</value><value>test</value><value>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2023-06-20 22:30:48 |
2023-06-20 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:48 | ------------------------------------ 2023-06-20 22:30:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f3587c45-a6ef-4f75-a757-7ff48afe19b4)</node-pattern></data> 2023-06-20 22:30:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.162s |
2023-06-20 22:30:47 |
2023-06-20 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:47 | ------------------------------------ 2023-06-20 22:30:47 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 22:30:47 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.190s |
2023-06-20 22:30:49 |
2023-06-20 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-20 22:30:49 | ------------------------------------ 2023-06-20 22:30:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f3587c45-a6ef-4f75-a757-7ff48afe19b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-20 22:30:49 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |