Test duration: 10.514s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.109s |
2019-10-13 19:34:57 |
2019-10-13 19:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:34:57 | ------------------------------------ 2019-10-13 19:34:57 | [Mutex] waiting for: [configured:node:node-c3aee58f-5069-4958-b265-adf5d3326eee:node-3709aec8-4feb-4b86-a6bc-27aebc4cc669] 2019-10-13 19:34:58 | [Mutex] received everything. 2019-10-13 19:34:58 | [Mutex] isItemNotified: configured:node:node-c3aee58f-5069-4958-b265-adf5d3326eee:node-3709aec8-4feb-4b86-a6bc-27aebc4cc669 :: true 2019-10-13 19:34:59 | [Mutex] waiting for: [received:nodes:16ef378a-321d-430a-a0d0-e4747f7d0451:localhost] 2019-10-13 19:34:59 | [Mutex] received everything. 2019-10-13 19:34:59 | [Mutex] isItemNotified: received:node:16ef378a-321d-430a-a0d0-e4747f7d0451:localhost:node-c3aee58f-5069-4958-b265-adf5d3326eee:Node c3aee58f-5069-4958-b265-adf5d3326eee :: true 2019-10-13 19:34:59 | [Mutex] waiting for: [received:nodes:682ed47e-fcfe-48ab-86c5-8a5510e85597:localhost] 2019-10-13 19:34:59 | [Mutex] received everything. 2019-10-13 19:34:59 | [Mutex] isItemNotified: received:node:682ed47e-fcfe-48ab-86c5-8a5510e85597:localhost:node-c3aee58f-5069-4958-b265-adf5d3326eee:Node c3aee58f-5069-4958-b265-adf5d3326eee :: false |
createNodes | 1.637s |
2019-10-13 19:34:55 |
2019-10-13 19:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:34:55 | ------------------------------------ 2019-10-13 19:34:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c3aee58f-5069-4958-b265-adf5d3326eee</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c3aee58f-5069-4958-b265-adf5d3326eee</title></pubsub></data> 2019-10-13 19:34:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 19:34:56 | [Mutex] waiting for: [received:nodes:02269f60-5fb7-4d44-8fd6-0e1291549e11:localhost] 2019-10-13 19:34:56 | [Mutex] received everything. 2019-10-13 19:34:56 | [Mutex] isItemNotified: received:node:02269f60-5fb7-4d44-8fd6-0e1291549e11:localhost:node-c3aee58f-5069-4958-b265-adf5d3326eee:Node c3aee58f-5069-4958-b265-adf5d3326eee :: true |
createSubnodes | 1.027s |
2019-10-13 19:34:56 |
2019-10-13 19:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:34:56 | ------------------------------------ 2019-10-13 19:34:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3709aec8-4feb-4b86-a6bc-27aebc4cc669</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3709aec8-4feb-4b86-a6bc-27aebc4cc669</title></pubsub></data> 2019-10-13 19:34:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 19:34:57 | [Mutex] waiting for: [received:nodes:205a18b6-fbef-4efb-be65-165c3ed29bc6:localhost] 2019-10-13 19:34:57 | [Mutex] received everything. 2019-10-13 19:34:57 | [Mutex] isItemNotified: received:node:205a18b6-fbef-4efb-be65-165c3ed29bc6:localhost:node-3709aec8-4feb-4b86-a6bc-27aebc4cc669:Node 3709aec8-4feb-4b86-a6bc-27aebc4cc669 :: true |
deleteNodes | 1.024s |
2019-10-13 19:35:03 |
2019-10-13 19:35:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:03 | ------------------------------------ 2019-10-13 19:35:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3709aec8-4feb-4b86-a6bc-27aebc4cc669</node></data> 2019-10-13 19:35:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 19:35:04 | [Mutex] waiting for: [received:nodes:73c37346-f3ef-4f3f-8aed-08c2a5cd4807:localhost] 2019-10-13 19:35:04 | [Mutex] received everything. 2019-10-13 19:35:04 | [Mutex] isItemNotified: received:node:73c37346-f3ef-4f3f-8aed-08c2a5cd4807:localhost:node-3709aec8-4feb-4b86-a6bc-27aebc4cc669:Node 3709aec8-4feb-4b86-a6bc-27aebc4cc669 :: false |
deleteSubnodes | 1.217s |
2019-10-13 19:35:02 |
2019-10-13 19:35:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:02 | ------------------------------------ 2019-10-13 19:35:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c3aee58f-5069-4958-b265-adf5d3326eee</node></data> 2019-10-13 19:35:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-10-13 19:35:03 | [Mutex] waiting for: [received:nodes:f423f238-d895-4fbb-9f05-db18e9e5acf1:localhost] 2019-10-13 19:35:03 | [Mutex] received everything. 2019-10-13 19:35:03 | [Mutex] isItemNotified: received:node:f423f238-d895-4fbb-9f05-db18e9e5acf1:localhost:node-c3aee58f-5069-4958-b265-adf5d3326eee:Node c3aee58f-5069-4958-b265-adf5d3326eee :: false 2019-10-13 19:35:03 | [Mutex] waiting for: [received:nodes:d6840e56-07f4-4d57-9279-d0689f59c139:localhost] 2019-10-13 19:35:03 | [Mutex] received everything. 2019-10-13 19:35:03 | [Mutex] isItemNotified: received:node:d6840e56-07f4-4d57-9279-d0689f59c139:localhost:node-c3aee58f-5069-4958-b265-adf5d3326eee:Node c3aee58f-5069-4958-b265-adf5d3326eee :: false |
publishItemsToNodes | 0.250s |
2019-10-13 19:35:00 |
2019-10-13 19:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:00 | ------------------------------------ 2019-10-13 19:35:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c3aee58f-5069-4958-b265-adf5d3326eee</node><item-id>item-57b62ed9-f12e-4fe2-af7d-eae75811d801</item-id><entry><test>item-57b62ed9-f12e-4fe2-af7d-eae75811d801</test></entry></data> 2019-10-13 19:35:00 | 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-57b62ed9-f12e-4fe2-af7d-eae75811d801</value></item-id></result> 2019-10-13 19:35:00 | [Mutex] waiting for: [published:item:notifieditem-57b62ed9-f12e-4fe2-af7d-eae75811d801:admin@localhost] 2019-10-13 19:35:00 | [Mutex] received everything. 2019-10-13 19:35:00 | [Mutex] isItemNotified: published:item:notifieditem-57b62ed9-f12e-4fe2-af7d-eae75811d801:admin@localhost :: true |
retractItemsFromNodes | 0.347s |
2019-10-13 19:35:00 |
2019-10-13 19:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:00 | ------------------------------------ 2019-10-13 19:35:00 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c3aee58f-5069-4958-b265-adf5d3326eee</node><item-id>item-57b62ed9-f12e-4fe2-af7d-eae75811d801</item-id></data> 2019-10-13 19:35:01 | 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-57b62ed9-f12e-4fe2-af7d-eae75811d801</value></item-id></result> 2019-10-13 19:35:01 | [Mutex] received everything. 2019-10-13 19:35:01 | [Mutex] isItemNotified: retracted:item:notifieditem-57b62ed9-f12e-4fe2-af7d-eae75811d801:admin@localhost :: true |
retrieveItemsFromNodes | 0.216s |
2019-10-13 19:35:00 |
2019-10-13 19:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:00 | ------------------------------------ 2019-10-13 19:35:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c3aee58f-5069-4958-b265-adf5d3326eee</node><item-id>item-57b62ed9-f12e-4fe2-af7d-eae75811d801</item-id></data> 2019-10-13 19:35:00 | 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-c3aee58f-5069-4958-b265-adf5d3326eee</value></node><item-id label="Item ID" type="text-single"><value>item-57b62ed9-f12e-4fe2-af7d-eae75811d801</value></item-id><item label="Item" type="text-multi"><value><item id="item-57b62ed9-f12e-4fe2-af7d-eae75811d801"><test>item-57b62ed9-f12e-4fe2-af7d-eae75811d801</test></item></value></item></result> 2019-10-13 19:35:00 | [Mutex] notify: [retrieved:item:item-57b62ed9-f12e-4fe2-af7d-eae75811d801:payload-matches:true:localhost] 2019-10-13 19:35:00 | [Mutex] received everything. 2019-10-13 19:35:00 | [Mutex] isItemNotified: retrieved:item:item-57b62ed9-f12e-4fe2-af7d-eae75811d801:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.188s |
2019-10-13 19:35:00 |
2019-10-13 19:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:00 | ------------------------------------ 2019-10-13 19:35:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-10-13 19:35:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c3aee58f-5069-4958-b265-adf5d3326eee</value><value>node-3709aec8-4feb-4b86-a6bc-27aebc4cc669</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2019-10-13 19:35:00 |
2019-10-13 19:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:00 | ------------------------------------ 2019-10-13 19:35:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-c3aee58f-5069-4958-b265-adf5d3326eee)</node-pattern></data> 2019-10-13 19:35:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.237s |
2019-10-13 19:34:59 |
2019-10-13 19:34:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:34:59 | ------------------------------------ 2019-10-13 19:34:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c3aee58f-5069-4958-b265-adf5d3326eee</node><jids><value>admin@localhost</value></jids></data> 2019-10-13 19:34:59 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.331s |
2019-10-13 19:35:01 |
2019-10-13 19:35:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-10-13 19:35:01 | ------------------------------------ 2019-10-13 19:35:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c3aee58f-5069-4958-b265-adf5d3326eee</node><jids><value>admin@localhost</value></jids></data> 2019-10-13 19:35:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |