Test duration: 10.794s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2019-11-26 20:54:48 |
2019-11-26 20:54:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:48 | ------------------------------------ 2019-11-26 20:54:48 | [Mutex] waiting for: [configured:node:node-aed1efab-589b-4d05-bc79-94786cc7fb50:node-ca78f5b8-8a76-443f-85ec-3dcecac6336f] 2019-11-26 20:54:48 | [Mutex] received everything. 2019-11-26 20:54:48 | [Mutex] isItemNotified: configured:node:node-aed1efab-589b-4d05-bc79-94786cc7fb50:node-ca78f5b8-8a76-443f-85ec-3dcecac6336f :: true 2019-11-26 20:54:49 | [Mutex] waiting for: [received:nodes:09e87358-6a49-4b37-82d4-13799ec55ca1:localhost] 2019-11-26 20:54:49 | [Mutex] received everything. 2019-11-26 20:54:49 | [Mutex] isItemNotified: received:node:09e87358-6a49-4b37-82d4-13799ec55ca1:localhost:node-aed1efab-589b-4d05-bc79-94786cc7fb50:Node aed1efab-589b-4d05-bc79-94786cc7fb50 :: true 2019-11-26 20:54:49 | [Mutex] waiting for: [received:nodes:816789a3-5f7d-4dff-8dfc-842284891af1:localhost] 2019-11-26 20:54:49 | [Mutex] received everything. 2019-11-26 20:54:49 | [Mutex] isItemNotified: received:node:816789a3-5f7d-4dff-8dfc-842284891af1:localhost:node-aed1efab-589b-4d05-bc79-94786cc7fb50:Node aed1efab-589b-4d05-bc79-94786cc7fb50 :: false |
createNodes | 1.860s |
2019-11-26 20:54:45 |
2019-11-26 20:54:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:45 | ------------------------------------ 2019-11-26 20:54:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aed1efab-589b-4d05-bc79-94786cc7fb50</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aed1efab-589b-4d05-bc79-94786cc7fb50</title></pubsub></data> 2019-11-26 20:54:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:54:47 | [Mutex] waiting for: [received:nodes:7603bc31-268a-4dd2-9b46-5ce376366717:localhost] 2019-11-26 20:54:47 | [Mutex] received everything. 2019-11-26 20:54:47 | [Mutex] isItemNotified: received:node:7603bc31-268a-4dd2-9b46-5ce376366717:localhost:node-aed1efab-589b-4d05-bc79-94786cc7fb50:Node aed1efab-589b-4d05-bc79-94786cc7fb50 :: true |
createSubnodes | 1.021s |
2019-11-26 20:54:47 |
2019-11-26 20:54:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:47 | ------------------------------------ 2019-11-26 20:54:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ca78f5b8-8a76-443f-85ec-3dcecac6336f</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ca78f5b8-8a76-443f-85ec-3dcecac6336f</title></pubsub></data> 2019-11-26 20:54:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:54:48 | [Mutex] waiting for: [received:nodes:d4490ebb-daf3-438a-a261-c7f70bfd9db0:localhost] 2019-11-26 20:54:48 | [Mutex] waiting for: [received:nodes:d4490ebb-daf3-438a-a261-c7f70bfd9db0:localhost] 2019-11-26 20:54:48 | [Mutex] received everything. 2019-11-26 20:54:48 | [Mutex] isItemNotified: received:node:d4490ebb-daf3-438a-a261-c7f70bfd9db0:localhost:node-ca78f5b8-8a76-443f-85ec-3dcecac6336f:Node ca78f5b8-8a76-443f-85ec-3dcecac6336f :: true |
deleteNodes | 1.032s |
2019-11-26 20:54:54 |
2019-11-26 20:54:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:54 | ------------------------------------ 2019-11-26 20:54:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ca78f5b8-8a76-443f-85ec-3dcecac6336f</node></data> 2019-11-26 20:54:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:54:55 | [Mutex] waiting for: [received:nodes:570b86ba-b239-449f-b719-3a3e51a04deb:localhost] 2019-11-26 20:54:55 | [Mutex] received everything. 2019-11-26 20:54:55 | [Mutex] isItemNotified: received:node:570b86ba-b239-449f-b719-3a3e51a04deb:localhost:node-ca78f5b8-8a76-443f-85ec-3dcecac6336f:Node ca78f5b8-8a76-443f-85ec-3dcecac6336f :: false |
deleteSubnodes | 1.250s |
2019-11-26 20:54:53 |
2019-11-26 20:54:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:53 | ------------------------------------ 2019-11-26 20:54:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aed1efab-589b-4d05-bc79-94786cc7fb50</node></data> 2019-11-26 20:54:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 20:54:54 | [Mutex] waiting for: [received:nodes:ff15875e-7d18-48b8-9ddd-757bde56a966:localhost] 2019-11-26 20:54:54 | [Mutex] received everything. 2019-11-26 20:54:54 | [Mutex] isItemNotified: received:node:ff15875e-7d18-48b8-9ddd-757bde56a966:localhost:node-aed1efab-589b-4d05-bc79-94786cc7fb50:Node aed1efab-589b-4d05-bc79-94786cc7fb50 :: false 2019-11-26 20:54:54 | [Mutex] waiting for: [received:nodes:5f2cd95e-ccce-4421-8d00-23ef38ef2d87:localhost] 2019-11-26 20:54:54 | [Mutex] received everything. 2019-11-26 20:54:54 | [Mutex] isItemNotified: received:node:5f2cd95e-ccce-4421-8d00-23ef38ef2d87:localhost:node-aed1efab-589b-4d05-bc79-94786cc7fb50:Node aed1efab-589b-4d05-bc79-94786cc7fb50 :: false |
publishItemsToNodes | 0.230s |
2019-11-26 20:54:51 |
2019-11-26 20:54:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:51 | ------------------------------------ 2019-11-26 20:54:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-aed1efab-589b-4d05-bc79-94786cc7fb50</node><item-id>item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</item-id><entry><test>item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</test></entry></data> 2019-11-26 20:54:51 | 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-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</value></item-id></result> 2019-11-26 20:54:51 | [Mutex] waiting for: [published:item:notifieditem-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79:admin@localhost] 2019-11-26 20:54:51 | [Mutex] received everything. 2019-11-26 20:54:51 | [Mutex] isItemNotified: published:item:notifieditem-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79:admin@localhost :: true |
retractItemsFromNodes | 0.259s |
2019-11-26 20:54:51 |
2019-11-26 20:54:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:51 | ------------------------------------ 2019-11-26 20:54:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-aed1efab-589b-4d05-bc79-94786cc7fb50</node><item-id>item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</item-id></data> 2019-11-26 20:54:52 | 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-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</value></item-id></result> 2019-11-26 20:54:52 | [Mutex] received everything. 2019-11-26 20:54:52 | [Mutex] isItemNotified: retracted:item:notifieditem-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79:admin@localhost :: true |
retrieveItemsFromNodes | 0.319s |
2019-11-26 20:54:51 |
2019-11-26 20:54:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:51 | ------------------------------------ 2019-11-26 20:54:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-aed1efab-589b-4d05-bc79-94786cc7fb50</node><item-id>item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</item-id></data> 2019-11-26 20:54:51 | 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-aed1efab-589b-4d05-bc79-94786cc7fb50</value></node><item-id type="text-single" label="Item ID"><value>item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</value></item-id><item type="text-multi" label="Item"><value><item id="item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79"><test>item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79</test></item></value></item></result> 2019-11-26 20:54:51 | [Mutex] notify: [retrieved:item:item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79:payload-matches:true:localhost] 2019-11-26 20:54:51 | [Mutex] received everything. 2019-11-26 20:54:51 | [Mutex] isItemNotified: retrieved:item:item-9d5e3e68-e5e1-44f0-81bd-89b6ca4d8e79:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.248s |
2019-11-26 20:54:51 |
2019-11-26 20:54:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:51 | ------------------------------------ 2019-11-26 20:54:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-26 20:54:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-aed1efab-589b-4d05-bc79-94786cc7fb50</value><value>node-ca78f5b8-8a76-443f-85ec-3dcecac6336f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2019-11-26 20:54:51 |
2019-11-26 20:54:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:51 | ------------------------------------ 2019-11-26 20:54:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-aed1efab-589b-4d05-bc79-94786cc7fb50)</node-pattern></data> 2019-11-26 20:54:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.181s |
2019-11-26 20:54:49 |
2019-11-26 20:54:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:49 | ------------------------------------ 2019-11-26 20:54:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-aed1efab-589b-4d05-bc79-94786cc7fb50</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 20:54:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.363s |
2019-11-26 20:54:52 |
2019-11-26 20:54:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 20:54:52 | ------------------------------------ 2019-11-26 20:54:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-aed1efab-589b-4d05-bc79-94786cc7fb50</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 20:54:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |