Test duration : 10.011s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2021-03-14 22:32:38 |
2021-03-14 22:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:38 | ------------------------------------ 2021-03-14 22:32:38 | [Mutex] waiting for: [configured:node:node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5:node-4cc7f754-01b5-453a-ad58-17ad152cf0cc] 2021-03-14 22:32:38 | [Mutex] received everything. 2021-03-14 22:32:38 | [Mutex] isItemNotified: configured:node:node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5:node-4cc7f754-01b5-453a-ad58-17ad152cf0cc :: true 2021-03-14 22:32:39 | [Mutex] waiting for: [received:nodes:46804602-f257-4b73-b544-6c29266efdf0:localhost] 2021-03-14 22:32:39 | [Mutex] received everything. 2021-03-14 22:32:39 | [Mutex] isItemNotified: received:node:46804602-f257-4b73-b544-6c29266efdf0:localhost:node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5:Node 4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5 :: true 2021-03-14 22:32:39 | [Mutex] waiting for: [received:nodes:5c3fd28c-ad63-4066-8805-afa7e9f24fad:localhost] 2021-03-14 22:32:39 | [Mutex] received everything. 2021-03-14 22:32:39 | [Mutex] isItemNotified: received:node:5c3fd28c-ad63-4066-8805-afa7e9f24fad:localhost:node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5:Node 4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5 :: false |
createNodes | 1.483s |
2021-03-14 22:32:35 |
2021-03-14 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:35 | ------------------------------------ 2021-03-14 22:32:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</title></pubsub></data> 2021-03-14 22:32:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:32:37 | [Mutex] waiting for: [received:nodes:1ac10eb9-631a-461a-afe6-888e451f7838:localhost] 2021-03-14 22:32:37 | [Mutex] waiting for: [received:nodes:1ac10eb9-631a-461a-afe6-888e451f7838:localhost] 2021-03-14 22:32:37 | [Mutex] received everything. 2021-03-14 22:32:37 | [Mutex] isItemNotified: received:node:1ac10eb9-631a-461a-afe6-888e451f7838:localhost:node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5:Node 4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5 :: true |
createSubnodes | 1.022s |
2021-03-14 22:32:37 |
2021-03-14 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:37 | ------------------------------------ 2021-03-14 22:32:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4cc7f754-01b5-453a-ad58-17ad152cf0cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4cc7f754-01b5-453a-ad58-17ad152cf0cc</title></pubsub></data> 2021-03-14 22:32:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:32:38 | [Mutex] waiting for: [received:nodes:53691cae-bd90-4a08-89a9-d6d6a53be0ea:localhost] 2021-03-14 22:32:38 | [Mutex] received everything. 2021-03-14 22:32:38 | [Mutex] isItemNotified: received:node:53691cae-bd90-4a08-89a9-d6d6a53be0ea:localhost:node-4cc7f754-01b5-453a-ad58-17ad152cf0cc:Node 4cc7f754-01b5-453a-ad58-17ad152cf0cc :: true |
deleteNodes | 1.059s |
2021-03-14 22:32:43 |
2021-03-14 22:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:43 | ------------------------------------ 2021-03-14 22:32:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4cc7f754-01b5-453a-ad58-17ad152cf0cc</node></data> 2021-03-14 22:32:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:32:44 | [Mutex] waiting for: [received:nodes:5c517d80-20bf-469f-82cb-2f2a24534dc5:localhost] 2021-03-14 22:32:44 | [Mutex] received everything. 2021-03-14 22:32:44 | [Mutex] isItemNotified: received:node:5c517d80-20bf-469f-82cb-2f2a24534dc5:localhost:node-4cc7f754-01b5-453a-ad58-17ad152cf0cc:Node 4cc7f754-01b5-453a-ad58-17ad152cf0cc :: false |
deleteSubnodes | 1.131s |
2021-03-14 22:32:42 |
2021-03-14 22:32:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:42 | ------------------------------------ 2021-03-14 22:32:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</node></data> 2021-03-14 22:32:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:32:43 | [Mutex] waiting for: [received:nodes:1e1f90b8-707f-4a65-98de-4f5ef6cf86ab:localhost] 2021-03-14 22:32:43 | [Mutex] waiting for: [received:nodes:1e1f90b8-707f-4a65-98de-4f5ef6cf86ab:localhost] 2021-03-14 22:32:43 | [Mutex] waiting for: [received:nodes:1e1f90b8-707f-4a65-98de-4f5ef6cf86ab:localhost] 2021-03-14 22:32:43 | [Mutex] received everything. 2021-03-14 22:32:43 | [Mutex] isItemNotified: received:node:1e1f90b8-707f-4a65-98de-4f5ef6cf86ab:localhost:node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5:Node 4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5 :: false 2021-03-14 22:32:43 | [Mutex] waiting for: [received:nodes:0e7eea9b-ffae-4175-9ad5-3eb13b083b93:localhost] 2021-03-14 22:32:43 | [Mutex] received everything. 2021-03-14 22:32:43 | [Mutex] isItemNotified: received:node:0e7eea9b-ffae-4175-9ad5-3eb13b083b93:localhost:node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5:Node 4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5 :: false |
publishItemsToNodes | 0.208s |
2021-03-14 22:32:40 |
2021-03-14 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:40 | ------------------------------------ 2021-03-14 22:32:40 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</node><item-id>item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</item-id><entry><test>item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</test></entry></data> 2021-03-14 22:32:40 | 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-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</value></item-id></result> 2021-03-14 22:32:40 | [Mutex] received everything. 2021-03-14 22:32:40 | [Mutex] isItemNotified: published:item:notifieditem-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.165s |
2021-03-14 22:32:40 |
2021-03-14 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:40 | ------------------------------------ 2021-03-14 22:32:40 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</node><item-id>item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</item-id></data> 2021-03-14 22:32:41 | 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-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</value></item-id></result> 2021-03-14 22:32:41 | [Mutex] waiting for: [retracted:item:notifieditem-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d:admin@test-domain.com] 2021-03-14 22:32:41 | [Mutex] received everything. 2021-03-14 22:32:41 | [Mutex] isItemNotified: retracted:item:notifieditem-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2021-03-14 22:32:40 |
2021-03-14 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:40 | ------------------------------------ 2021-03-14 22:32:40 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</node><item-id>item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</item-id></data> 2021-03-14 22:32:40 | 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-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</value></node><item-id type="text-single" label="Item ID"><value>item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</value></item-id><item type="text-multi" label="Item"><value><item id="item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d"><test>item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d</test></item></value></item></result> 2021-03-14 22:32:40 | [Mutex] notify: [retrieved:item:item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d:payload-matches:true:localhost] 2021-03-14 22:32:40 | [Mutex] received everything. 2021-03-14 22:32:40 | [Mutex] isItemNotified: retrieved:item:item-1d35b57c-d1bd-4e34-89a2-cb7d39dd912d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-03-14 22:32:40 |
2021-03-14 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:40 | ------------------------------------ 2021-03-14 22:32:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-14 22:32:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</value><value>node-4cc7f754-01b5-453a-ad58-17ad152cf0cc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-03-14 22:32:40 |
2021-03-14 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:40 | ------------------------------------ 2021-03-14 22:32:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5)</node-pattern></data> 2021-03-14 22:32:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.194s |
2021-03-14 22:32:39 |
2021-03-14 22:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:39 | ------------------------------------ 2021-03-14 22:32:39 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-14 22:32:39 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.297s |
2021-03-14 22:32:41 |
2021-03-14 22:32:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:32:41 | ------------------------------------ 2021-03-14 22:32:41 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4aa64f86-96bf-4ab1-9c4c-bc2dab52f3b5</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-14 22:32:41 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |