Test duration : 9.401s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-12-22 22:00:20 |
2022-12-22 22:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:20 | ------------------------------------ 2022-12-22 22:00:20 | [Mutex] waiting for: [configured:node:node-e472c08a-623e-48a3-8d47-4e71768e2142:node-6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2] 2022-12-22 22:00:20 | [Mutex] received everything. 2022-12-22 22:00:20 | [Mutex] isItemNotified: configured:node:node-e472c08a-623e-48a3-8d47-4e71768e2142:node-6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2 :: true 2022-12-22 22:00:21 | [Mutex] waiting for: [received:nodes:8ef0b78a-7730-4410-b209-e2e12c9fafa3:localhost] 2022-12-22 22:00:21 | [Mutex] received everything. 2022-12-22 22:00:21 | [Mutex] isItemNotified: received:node:8ef0b78a-7730-4410-b209-e2e12c9fafa3:localhost:node-e472c08a-623e-48a3-8d47-4e71768e2142:Node e472c08a-623e-48a3-8d47-4e71768e2142 :: true 2022-12-22 22:00:21 | [Mutex] waiting for: [received:nodes:719e37a3-4f52-45a9-99ee-a5ef43d7d5e6:localhost] 2022-12-22 22:00:21 | [Mutex] waiting for: [received:nodes:719e37a3-4f52-45a9-99ee-a5ef43d7d5e6:localhost] 2022-12-22 22:00:21 | [Mutex] waiting for: [received:nodes:719e37a3-4f52-45a9-99ee-a5ef43d7d5e6:localhost] 2022-12-22 22:00:21 | [Mutex] waiting for: [received:nodes:719e37a3-4f52-45a9-99ee-a5ef43d7d5e6:localhost] 2022-12-22 22:00:21 | [Mutex] received everything. 2022-12-22 22:00:21 | [Mutex] isItemNotified: received:node:719e37a3-4f52-45a9-99ee-a5ef43d7d5e6:localhost:node-e472c08a-623e-48a3-8d47-4e71768e2142:Node e472c08a-623e-48a3-8d47-4e71768e2142 :: false |
createNodes | 1.360s |
2022-12-22 22:00:18 |
2022-12-22 22:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:18 | ------------------------------------ 2022-12-22 22:00:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e472c08a-623e-48a3-8d47-4e71768e2142</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e472c08a-623e-48a3-8d47-4e71768e2142</title></pubsub></data> 2022-12-22 22:00:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:00:19 | [Mutex] waiting for: [received:nodes:9334d62f-0100-4a59-82a2-c1117a05df96:localhost] 2022-12-22 22:00:19 | [Mutex] waiting for: [received:nodes:9334d62f-0100-4a59-82a2-c1117a05df96:localhost] 2022-12-22 22:00:19 | [Mutex] waiting for: [received:nodes:9334d62f-0100-4a59-82a2-c1117a05df96:localhost] 2022-12-22 22:00:19 | [Mutex] waiting for: [received:nodes:9334d62f-0100-4a59-82a2-c1117a05df96:localhost] 2022-12-22 22:00:19 | [Mutex] received everything. 2022-12-22 22:00:19 | [Mutex] isItemNotified: received:node:9334d62f-0100-4a59-82a2-c1117a05df96:localhost:node-e472c08a-623e-48a3-8d47-4e71768e2142:Node e472c08a-623e-48a3-8d47-4e71768e2142 :: true |
createSubnodes | 1.020s |
2022-12-22 22:00:19 |
2022-12-22 22:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:19 | ------------------------------------ 2022-12-22 22:00:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2</title></pubsub></data> 2022-12-22 22:00:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:00:20 | [Mutex] waiting for: [received:nodes:a025f883-c7fa-43fc-a207-e99acf7452a8:localhost] 2022-12-22 22:00:20 | [Mutex] waiting for: [received:nodes:a025f883-c7fa-43fc-a207-e99acf7452a8:localhost] 2022-12-22 22:00:20 | [Mutex] waiting for: [received:nodes:a025f883-c7fa-43fc-a207-e99acf7452a8:localhost] 2022-12-22 22:00:20 | [Mutex] waiting for: [received:nodes:a025f883-c7fa-43fc-a207-e99acf7452a8:localhost] 2022-12-22 22:00:20 | [Mutex] waiting for: [received:nodes:a025f883-c7fa-43fc-a207-e99acf7452a8:localhost] 2022-12-22 22:00:20 | [Mutex] received everything. 2022-12-22 22:00:20 | [Mutex] isItemNotified: received:node:a025f883-c7fa-43fc-a207-e99acf7452a8:localhost:node-6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2:Node 6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2 :: true |
deleteNodes | 1.016s |
2022-12-22 22:00:26 |
2022-12-22 22:00:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:26 | ------------------------------------ 2022-12-22 22:00:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2</node></data> 2022-12-22 22:00:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:00:27 | [Mutex] waiting for: [received:nodes:ce4b3b38-e6bd-485f-a3c6-a3dbcf544c20:localhost] 2022-12-22 22:00:27 | [Mutex] waiting for: [received:nodes:ce4b3b38-e6bd-485f-a3c6-a3dbcf544c20:localhost] 2022-12-22 22:00:27 | [Mutex] waiting for: [received:nodes:ce4b3b38-e6bd-485f-a3c6-a3dbcf544c20:localhost] 2022-12-22 22:00:27 | [Mutex] received everything. 2022-12-22 22:00:27 | [Mutex] isItemNotified: received:node:ce4b3b38-e6bd-485f-a3c6-a3dbcf544c20:localhost:node-6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2:Node 6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2 :: false |
deleteSubnodes | 1.132s |
2022-12-22 22:00:25 |
2022-12-22 22:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:25 | ------------------------------------ 2022-12-22 22:00:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e472c08a-623e-48a3-8d47-4e71768e2142</node></data> 2022-12-22 22:00:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:00:26 | [Mutex] waiting for: [received:nodes:3aea377f-2952-4b13-ae96-06e1c6e8a787:localhost] 2022-12-22 22:00:26 | [Mutex] waiting for: [received:nodes:3aea377f-2952-4b13-ae96-06e1c6e8a787:localhost] 2022-12-22 22:00:26 | [Mutex] waiting for: [received:nodes:3aea377f-2952-4b13-ae96-06e1c6e8a787:localhost] 2022-12-22 22:00:26 | [Mutex] received everything. 2022-12-22 22:00:26 | [Mutex] isItemNotified: received:node:3aea377f-2952-4b13-ae96-06e1c6e8a787:localhost:node-e472c08a-623e-48a3-8d47-4e71768e2142:Node e472c08a-623e-48a3-8d47-4e71768e2142 :: false 2022-12-22 22:00:26 | [Mutex] waiting for: [received:nodes:3c792541-12f6-44ce-be7f-cdd6555c429a:localhost] 2022-12-22 22:00:26 | [Mutex] received everything. 2022-12-22 22:00:26 | [Mutex] isItemNotified: received:node:3c792541-12f6-44ce-be7f-cdd6555c429a:localhost:node-e472c08a-623e-48a3-8d47-4e71768e2142:Node e472c08a-623e-48a3-8d47-4e71768e2142 :: false |
publishItemsToNodes | 0.230s |
2022-12-22 22:00:23 |
2022-12-22 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:23 | ------------------------------------ 2022-12-22 22:00:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e472c08a-623e-48a3-8d47-4e71768e2142</node><item-id>item-37ffd660-d307-4fe9-8823-6166a994a4e9</item-id><entry><test>item-37ffd660-d307-4fe9-8823-6166a994a4e9</test></entry></data> 2022-12-22 22:00:23 | 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-37ffd660-d307-4fe9-8823-6166a994a4e9</value></item-id></result> 2022-12-22 22:00:23 | [Mutex] received everything. 2022-12-22 22:00:23 | [Mutex] isItemNotified: published:item:notifieditem-37ffd660-d307-4fe9-8823-6166a994a4e9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.286s |
2022-12-22 22:00:23 |
2022-12-22 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:23 | ------------------------------------ 2022-12-22 22:00:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e472c08a-623e-48a3-8d47-4e71768e2142</node><item-id>item-37ffd660-d307-4fe9-8823-6166a994a4e9</item-id></data> 2022-12-22 22:00:23 | 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-37ffd660-d307-4fe9-8823-6166a994a4e9</value></item-id></result> 2022-12-22 22:00:23 | [Mutex] waiting for: [retracted:item:notifieditem-37ffd660-d307-4fe9-8823-6166a994a4e9:admin@test-domain.com] 2022-12-22 22:00:23 | [Mutex] received everything. 2022-12-22 22:00:23 | [Mutex] isItemNotified: retracted:item:notifieditem-37ffd660-d307-4fe9-8823-6166a994a4e9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.210s |
2022-12-22 22:00:23 |
2022-12-22 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:23 | ------------------------------------ 2022-12-22 22:00:23 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e472c08a-623e-48a3-8d47-4e71768e2142</node><item-id>item-37ffd660-d307-4fe9-8823-6166a994a4e9</item-id></data> 2022-12-22 22:00:23 | 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-e472c08a-623e-48a3-8d47-4e71768e2142</value></node><item-id label="Item ID" type="text-single"><value>item-37ffd660-d307-4fe9-8823-6166a994a4e9</value></item-id><item label="Item" type="text-multi"><value><item id="item-37ffd660-d307-4fe9-8823-6166a994a4e9"><test>item-37ffd660-d307-4fe9-8823-6166a994a4e9</test></item></value></item></result> 2022-12-22 22:00:23 | [Mutex] notify: [retrieved:item:item-37ffd660-d307-4fe9-8823-6166a994a4e9:payload-matches:true:localhost] 2022-12-22 22:00:23 | [Mutex] received everything. 2022-12-22 22:00:23 | [Mutex] isItemNotified: retrieved:item:item-37ffd660-d307-4fe9-8823-6166a994a4e9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-22 22:00:23 |
2022-12-22 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:23 | ------------------------------------ 2022-12-22 22:00:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-22 22:00:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e472c08a-623e-48a3-8d47-4e71768e2142</value><value>node-6143ad90-3d1d-45e1-a3c9-5a0d162e4fe2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-22 22:00:23 |
2022-12-22 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:23 | ------------------------------------ 2022-12-22 22:00:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e472c08a-623e-48a3-8d47-4e71768e2142)</node-pattern></data> 2022-12-22 22:00:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.119s |
2022-12-22 22:00:21 |
2022-12-22 22:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:21 | ------------------------------------ 2022-12-22 22:00:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e472c08a-623e-48a3-8d47-4e71768e2142</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-22 22:00:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.225s |
2022-12-22 22:00:23 |
2022-12-22 22:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:00:23 | ------------------------------------ 2022-12-22 22:00:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e472c08a-623e-48a3-8d47-4e71768e2142</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-22 22:00:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |