Test duration : 10.200s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.151s |
2020-11-19 21:36:23 |
2020-11-19 21:36:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:23 | ------------------------------------ 2020-11-19 21:36:23 | [Mutex] waiting for: [configured:node:node-55c848b3-12ba-42df-a527-f31ea384371c:node-43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0] 2020-11-19 21:36:23 | [Mutex] received everything. 2020-11-19 21:36:23 | [Mutex] isItemNotified: configured:node:node-55c848b3-12ba-42df-a527-f31ea384371c:node-43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0 :: true 2020-11-19 21:36:24 | [Mutex] waiting for: [received:nodes:6addb20d-32c3-43f7-be0d-290de7eaf80d:localhost] 2020-11-19 21:36:24 | [Mutex] received everything. 2020-11-19 21:36:24 | [Mutex] isItemNotified: received:node:6addb20d-32c3-43f7-be0d-290de7eaf80d:localhost:node-55c848b3-12ba-42df-a527-f31ea384371c:Node 55c848b3-12ba-42df-a527-f31ea384371c :: true 2020-11-19 21:36:24 | [Mutex] waiting for: [received:nodes:39a2bf49-e8b6-4ca0-8b61-1f0e4ef7cdc5:localhost] 2020-11-19 21:36:24 | [Mutex] received everything. 2020-11-19 21:36:24 | [Mutex] isItemNotified: received:node:39a2bf49-e8b6-4ca0-8b61-1f0e4ef7cdc5:localhost:node-55c848b3-12ba-42df-a527-f31ea384371c:Node 55c848b3-12ba-42df-a527-f31ea384371c :: false |
createNodes | 1.495s |
2020-11-19 21:36:20 |
2020-11-19 21:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:20 | ------------------------------------ 2020-11-19 21:36:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-55c848b3-12ba-42df-a527-f31ea384371c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 55c848b3-12ba-42df-a527-f31ea384371c</title></pubsub></data> 2020-11-19 21:36:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:36:22 | [Mutex] waiting for: [received:nodes:2bcb9926-bb8f-4745-a887-d8b5e7322e59:localhost] 2020-11-19 21:36:22 | [Mutex] waiting for: [received:nodes:2bcb9926-bb8f-4745-a887-d8b5e7322e59:localhost] 2020-11-19 21:36:22 | [Mutex] waiting for: [received:nodes:2bcb9926-bb8f-4745-a887-d8b5e7322e59:localhost] 2020-11-19 21:36:22 | [Mutex] received everything. 2020-11-19 21:36:22 | [Mutex] isItemNotified: received:node:2bcb9926-bb8f-4745-a887-d8b5e7322e59:localhost:node-55c848b3-12ba-42df-a527-f31ea384371c:Node 55c848b3-12ba-42df-a527-f31ea384371c :: true |
createSubnodes | 1.033s |
2020-11-19 21:36:22 |
2020-11-19 21:36:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:22 | ------------------------------------ 2020-11-19 21:36:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0</title></pubsub></data> 2020-11-19 21:36:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:36:23 | [Mutex] waiting for: [received:nodes:0fe09295-ec50-4fa2-a4c4-5bf881953211:localhost] 2020-11-19 21:36:23 | [Mutex] received everything. 2020-11-19 21:36:23 | [Mutex] isItemNotified: received:node:0fe09295-ec50-4fa2-a4c4-5bf881953211:localhost:node-43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0:Node 43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0 :: true |
deleteNodes | 1.023s |
2020-11-19 21:36:28 |
2020-11-19 21:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:28 | ------------------------------------ 2020-11-19 21:36:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0</node></data> 2020-11-19 21:36:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:36:29 | [Mutex] waiting for: [received:nodes:7c6dc581-ca39-4e55-a148-04c5d8647e2e:localhost] 2020-11-19 21:36:29 | [Mutex] received everything. 2020-11-19 21:36:29 | [Mutex] isItemNotified: received:node:7c6dc581-ca39-4e55-a148-04c5d8647e2e:localhost:node-43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0:Node 43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0 :: false |
deleteSubnodes | 1.122s |
2020-11-19 21:36:27 |
2020-11-19 21:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:27 | ------------------------------------ 2020-11-19 21:36:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-55c848b3-12ba-42df-a527-f31ea384371c</node></data> 2020-11-19 21:36:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-19 21:36:28 | [Mutex] waiting for: [received:nodes:9860f6e9-aae1-4b58-8456-f0030613140e:localhost] 2020-11-19 21:36:28 | [Mutex] waiting for: [received:nodes:9860f6e9-aae1-4b58-8456-f0030613140e:localhost] 2020-11-19 21:36:28 | [Mutex] received everything. 2020-11-19 21:36:28 | [Mutex] isItemNotified: received:node:9860f6e9-aae1-4b58-8456-f0030613140e:localhost:node-55c848b3-12ba-42df-a527-f31ea384371c:Node 55c848b3-12ba-42df-a527-f31ea384371c :: false 2020-11-19 21:36:28 | [Mutex] waiting for: [received:nodes:3fa6a95d-331e-4161-8bbc-a1d1d2f65ea6:localhost] 2020-11-19 21:36:28 | [Mutex] received everything. 2020-11-19 21:36:28 | [Mutex] isItemNotified: received:node:3fa6a95d-331e-4161-8bbc-a1d1d2f65ea6:localhost:node-55c848b3-12ba-42df-a527-f31ea384371c:Node 55c848b3-12ba-42df-a527-f31ea384371c :: false |
publishItemsToNodes | 0.215s |
2020-11-19 21:36:25 |
2020-11-19 21:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:25 | ------------------------------------ 2020-11-19 21:36:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-55c848b3-12ba-42df-a527-f31ea384371c</node><item-id>item-dc8a4787-a162-440f-8df0-6a592eb2e9bf</item-id><entry><test>item-dc8a4787-a162-440f-8df0-6a592eb2e9bf</test></entry></data> 2020-11-19 21:36:25 | 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-dc8a4787-a162-440f-8df0-6a592eb2e9bf</value></item-id></result> 2020-11-19 21:36:25 | [Mutex] waiting for: [published:item:notifieditem-dc8a4787-a162-440f-8df0-6a592eb2e9bf:admin@test-domain.com] 2020-11-19 21:36:25 | [Mutex] received everything. 2020-11-19 21:36:25 | [Mutex] isItemNotified: published:item:notifieditem-dc8a4787-a162-440f-8df0-6a592eb2e9bf:admin@test-domain.com :: true |
retractItemsFromNodes | 0.328s |
2020-11-19 21:36:25 |
2020-11-19 21:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:25 | ------------------------------------ 2020-11-19 21:36:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-55c848b3-12ba-42df-a527-f31ea384371c</node><item-id>item-dc8a4787-a162-440f-8df0-6a592eb2e9bf</item-id></data> 2020-11-19 21:36:26 | 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-dc8a4787-a162-440f-8df0-6a592eb2e9bf</value></item-id></result> 2020-11-19 21:36:26 | [Mutex] received everything. 2020-11-19 21:36:26 | [Mutex] isItemNotified: retracted:item:notifieditem-dc8a4787-a162-440f-8df0-6a592eb2e9bf:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.311s |
2020-11-19 21:36:25 |
2020-11-19 21:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:25 | ------------------------------------ 2020-11-19 21:36:25 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-55c848b3-12ba-42df-a527-f31ea384371c</node><item-id>item-dc8a4787-a162-440f-8df0-6a592eb2e9bf</item-id></data> 2020-11-19 21:36:25 | 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-55c848b3-12ba-42df-a527-f31ea384371c</value></node><item-id type="text-single" label="Item ID"><value>item-dc8a4787-a162-440f-8df0-6a592eb2e9bf</value></item-id><item type="text-multi" label="Item"><value><item id="item-dc8a4787-a162-440f-8df0-6a592eb2e9bf"><test>item-dc8a4787-a162-440f-8df0-6a592eb2e9bf</test></item></value></item></result> 2020-11-19 21:36:25 | [Mutex] notify: [retrieved:item:item-dc8a4787-a162-440f-8df0-6a592eb2e9bf:payload-matches:true:localhost] 2020-11-19 21:36:25 | [Mutex] received everything. 2020-11-19 21:36:25 | [Mutex] isItemNotified: retrieved:item:item-dc8a4787-a162-440f-8df0-6a592eb2e9bf:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-19 21:36:25 |
2020-11-19 21:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:25 | ------------------------------------ 2020-11-19 21:36:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-19 21:36:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-55c848b3-12ba-42df-a527-f31ea384371c</value><value>test</value><value>node-43bd3fde-ba4f-4ed6-9cd4-7d2c1cf4daa0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-11-19 21:36:25 |
2020-11-19 21:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:25 | ------------------------------------ 2020-11-19 21:36:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-55c848b3-12ba-42df-a527-f31ea384371c)</node-pattern></data> 2020-11-19 21:36:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.104s |
2020-11-19 21:36:24 |
2020-11-19 21:36:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:24 | ------------------------------------ 2020-11-19 21:36:24 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-55c848b3-12ba-42df-a527-f31ea384371c</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-19 21:36:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.371s |
2020-11-19 21:36:26 |
2020-11-19 21:36:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-19 21:36:26 | ------------------------------------ 2020-11-19 21:36:26 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-55c848b3-12ba-42df-a527-f31ea384371c</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-19 21:36:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |