Test duration: 9.996s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2020-05-27 00:57:27 |
2020-05-27 00:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:27 | ------------------------------------ 2020-05-27 00:57:27 | [Mutex] waiting for: [configured:node:node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f:node-5bc918c9-5a87-4b91-81e9-694f78876722] 2020-05-27 00:57:27 | [Mutex] received everything. 2020-05-27 00:57:27 | [Mutex] isItemNotified: configured:node:node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f:node-5bc918c9-5a87-4b91-81e9-694f78876722 :: true 2020-05-27 00:57:28 | [Mutex] waiting for: [received:nodes:1a3c4fb9-2bf1-4857-aeda-1b3409ba74ec:localhost] 2020-05-27 00:57:28 | [Mutex] received everything. 2020-05-27 00:57:28 | [Mutex] isItemNotified: received:node:1a3c4fb9-2bf1-4857-aeda-1b3409ba74ec:localhost:node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f:Node 3f4286ef-4b72-48c6-9791-abe7bfa9e45f :: true 2020-05-27 00:57:28 | [Mutex] waiting for: [received:nodes:e0b26cff-16a3-4867-86a9-807f0ef34102:localhost] 2020-05-27 00:57:28 | [Mutex] received everything. 2020-05-27 00:57:28 | [Mutex] isItemNotified: received:node:e0b26cff-16a3-4867-86a9-807f0ef34102:localhost:node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f:Node 3f4286ef-4b72-48c6-9791-abe7bfa9e45f :: false |
createNodes | 1.492s |
2020-05-27 00:57:25 |
2020-05-27 00:57:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:25 | ------------------------------------ 2020-05-27 00:57:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3f4286ef-4b72-48c6-9791-abe7bfa9e45f</title></pubsub></data> 2020-05-27 00:57:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-27 00:57:26 | [Mutex] waiting for: [received:nodes:ea508ab9-a938-486c-afe6-9e169f9b798d:localhost] 2020-05-27 00:57:26 | [Mutex] received everything. 2020-05-27 00:57:26 | [Mutex] isItemNotified: received:node:ea508ab9-a938-486c-afe6-9e169f9b798d:localhost:node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f:Node 3f4286ef-4b72-48c6-9791-abe7bfa9e45f :: true |
createSubnodes | 1.034s |
2020-05-27 00:57:26 |
2020-05-27 00:57:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:26 | ------------------------------------ 2020-05-27 00:57:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5bc918c9-5a87-4b91-81e9-694f78876722</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5bc918c9-5a87-4b91-81e9-694f78876722</title></pubsub></data> 2020-05-27 00:57:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-27 00:57:27 | [Mutex] waiting for: [received:nodes:50566a22-9bdd-46d2-b669-e089f04876cb:localhost] 2020-05-27 00:57:27 | [Mutex] received everything. 2020-05-27 00:57:27 | [Mutex] isItemNotified: received:node:50566a22-9bdd-46d2-b669-e089f04876cb:localhost:node-5bc918c9-5a87-4b91-81e9-694f78876722:Node 5bc918c9-5a87-4b91-81e9-694f78876722 :: true |
deleteNodes | 1.015s |
2020-05-27 00:57:33 |
2020-05-27 00:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:33 | ------------------------------------ 2020-05-27 00:57:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5bc918c9-5a87-4b91-81e9-694f78876722</node></data> 2020-05-27 00:57:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-27 00:57:34 | [Mutex] waiting for: [received:nodes:829a8d71-dd27-446c-9aae-59e1b8b9548e:localhost] 2020-05-27 00:57:34 | [Mutex] received everything. 2020-05-27 00:57:34 | [Mutex] isItemNotified: received:node:829a8d71-dd27-446c-9aae-59e1b8b9548e:localhost:node-5bc918c9-5a87-4b91-81e9-694f78876722:Node 5bc918c9-5a87-4b91-81e9-694f78876722 :: false |
deleteSubnodes | 1.139s |
2020-05-27 00:57:32 |
2020-05-27 00:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:32 | ------------------------------------ 2020-05-27 00:57:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</node></data> 2020-05-27 00:57:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-05-27 00:57:33 | [Mutex] waiting for: [received:nodes:869f54d7-91de-42d8-9e76-71f28c4148aa:localhost] 2020-05-27 00:57:33 | [Mutex] received everything. 2020-05-27 00:57:33 | [Mutex] isItemNotified: received:node:869f54d7-91de-42d8-9e76-71f28c4148aa:localhost:node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f:Node 3f4286ef-4b72-48c6-9791-abe7bfa9e45f :: false 2020-05-27 00:57:33 | [Mutex] waiting for: [received:nodes:fe6a4b45-4a01-4ef3-9afd-f8cd35957a4c:localhost] 2020-05-27 00:57:33 | [Mutex] received everything. 2020-05-27 00:57:33 | [Mutex] isItemNotified: received:node:fe6a4b45-4a01-4ef3-9afd-f8cd35957a4c:localhost:node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f:Node 3f4286ef-4b72-48c6-9791-abe7bfa9e45f :: false |
publishItemsToNodes | 0.244s |
2020-05-27 00:57:29 |
2020-05-27 00:57:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:29 | ------------------------------------ 2020-05-27 00:57:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</node><item-id>item-01c4cac4-f915-4cb1-b89e-cff3493afd5a</item-id><entry><test>item-01c4cac4-f915-4cb1-b89e-cff3493afd5a</test></entry></data> 2020-05-27 00:57:30 | 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-01c4cac4-f915-4cb1-b89e-cff3493afd5a</value></item-id></result> 2020-05-27 00:57:30 | [Mutex] received everything. 2020-05-27 00:57:30 | [Mutex] isItemNotified: published:item:notifieditem-01c4cac4-f915-4cb1-b89e-cff3493afd5a:admin@localhost :: true |
retractItemsFromNodes | 0.247s |
2020-05-27 00:57:30 |
2020-05-27 00:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:30 | ------------------------------------ 2020-05-27 00:57:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</node><item-id>item-01c4cac4-f915-4cb1-b89e-cff3493afd5a</item-id></data> 2020-05-27 00:57:30 | 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-01c4cac4-f915-4cb1-b89e-cff3493afd5a</value></item-id></result> 2020-05-27 00:57:30 | [Mutex] received everything. 2020-05-27 00:57:30 | [Mutex] isItemNotified: retracted:item:notifieditem-01c4cac4-f915-4cb1-b89e-cff3493afd5a:admin@localhost :: true |
retrieveItemsFromNodes | 0.146s |
2020-05-27 00:57:30 |
2020-05-27 00:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:30 | ------------------------------------ 2020-05-27 00:57:30 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</node><item-id>item-01c4cac4-f915-4cb1-b89e-cff3493afd5a</item-id></data> 2020-05-27 00:57:30 | 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-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</value></node><item-id label="Item ID" type="text-single"><value>item-01c4cac4-f915-4cb1-b89e-cff3493afd5a</value></item-id><item label="Item" type="text-multi"><value><item id="item-01c4cac4-f915-4cb1-b89e-cff3493afd5a"><test>item-01c4cac4-f915-4cb1-b89e-cff3493afd5a</test></item></value></item></result> 2020-05-27 00:57:30 | [Mutex] notify: [retrieved:item:item-01c4cac4-f915-4cb1-b89e-cff3493afd5a:payload-matches:true:localhost] 2020-05-27 00:57:30 | [Mutex] received everything. 2020-05-27 00:57:30 | [Mutex] isItemNotified: retrieved:item:item-01c4cac4-f915-4cb1-b89e-cff3493afd5a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.209s |
2020-05-27 00:57:30 |
2020-05-27 00:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:30 | ------------------------------------ 2020-05-27 00:57:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-05-27 00:57:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</value><value>node-5bc918c9-5a87-4b91-81e9-694f78876722</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-05-27 00:57:30 |
2020-05-27 00:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:30 | ------------------------------------ 2020-05-27 00:57:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f)</node-pattern></data> 2020-05-27 00:57:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2020-05-27 00:57:28 |
2020-05-27 00:57:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:28 | ------------------------------------ 2020-05-27 00:57:28 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</node><jids><value>admin@localhost</value></jids></data> 2020-05-27 00:57:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.256s |
2020-05-27 00:57:30 |
2020-05-27 00:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-05-27 00:57:30 | ------------------------------------ 2020-05-27 00:57:30 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3f4286ef-4b72-48c6-9791-abe7bfa9e45f</node><jids><value>admin@localhost</value></jids></data> 2020-05-27 00:57:31 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |