Test duration: 10.592s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2019-12-03 19:41:52 |
2019-12-03 19:41:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:52 | ------------------------------------ 2019-12-03 19:41:52 | [Mutex] waiting for: [configured:node:node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd:node-f0a6c015-5b45-4b58-9f86-8a7f0fbd4682] 2019-12-03 19:41:52 | [Mutex] received everything. 2019-12-03 19:41:52 | [Mutex] isItemNotified: configured:node:node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd:node-f0a6c015-5b45-4b58-9f86-8a7f0fbd4682 :: true 2019-12-03 19:41:53 | [Mutex] waiting for: [received:nodes:3f5d2e3c-5576-4f5a-8d2f-76c5027aca2a:localhost] 2019-12-03 19:41:53 | [Mutex] received everything. 2019-12-03 19:41:53 | [Mutex] isItemNotified: received:node:3f5d2e3c-5576-4f5a-8d2f-76c5027aca2a:localhost:node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd:Node 64d1acc0-8328-4ed6-aa93-4dbf3bf435fd :: true 2019-12-03 19:41:53 | [Mutex] waiting for: [received:nodes:ca7a37f3-50b4-4013-8cb7-88a34b34f44a:localhost] 2019-12-03 19:41:53 | [Mutex] received everything. 2019-12-03 19:41:53 | [Mutex] isItemNotified: received:node:ca7a37f3-50b4-4013-8cb7-88a34b34f44a:localhost:node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd:Node 64d1acc0-8328-4ed6-aa93-4dbf3bf435fd :: false |
createNodes | 1.590s |
2019-12-03 19:41:49 |
2019-12-03 19:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:49 | ------------------------------------ 2019-12-03 19:41:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</title></pubsub></data> 2019-12-03 19:41:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:41:50 | [Mutex] waiting for: [received:nodes:850253f3-5414-4b24-946d-1dcdfed28078:localhost] 2019-12-03 19:41:51 | [Mutex] received everything. 2019-12-03 19:41:51 | [Mutex] isItemNotified: received:node:850253f3-5414-4b24-946d-1dcdfed28078:localhost:node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd:Node 64d1acc0-8328-4ed6-aa93-4dbf3bf435fd :: true |
createSubnodes | 1.046s |
2019-12-03 19:41:51 |
2019-12-03 19:41:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:51 | ------------------------------------ 2019-12-03 19:41:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f0a6c015-5b45-4b58-9f86-8a7f0fbd4682</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0a6c015-5b45-4b58-9f86-8a7f0fbd4682</title></pubsub></data> 2019-12-03 19:41:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:41:52 | [Mutex] waiting for: [received:nodes:09e3c054-980d-4aac-9720-a690949c54c4:localhost] 2019-12-03 19:41:52 | [Mutex] received everything. 2019-12-03 19:41:52 | [Mutex] isItemNotified: received:node:09e3c054-980d-4aac-9720-a690949c54c4:localhost:node-f0a6c015-5b45-4b58-9f86-8a7f0fbd4682:Node f0a6c015-5b45-4b58-9f86-8a7f0fbd4682 :: true |
deleteNodes | 1.020s |
2019-12-03 19:41:58 |
2019-12-03 19:41:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:58 | ------------------------------------ 2019-12-03 19:41:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f0a6c015-5b45-4b58-9f86-8a7f0fbd4682</node></data> 2019-12-03 19:41:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:41:59 | [Mutex] waiting for: [received:nodes:30a70a9c-cdce-4c4b-84d0-3276a468b534:localhost] 2019-12-03 19:41:59 | [Mutex] received everything. 2019-12-03 19:41:59 | [Mutex] isItemNotified: received:node:30a70a9c-cdce-4c4b-84d0-3276a468b534:localhost:node-f0a6c015-5b45-4b58-9f86-8a7f0fbd4682:Node f0a6c015-5b45-4b58-9f86-8a7f0fbd4682 :: false |
deleteSubnodes | 1.157s |
2019-12-03 19:41:57 |
2019-12-03 19:41:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:57 | ------------------------------------ 2019-12-03 19:41:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</node></data> 2019-12-03 19:41:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:41:58 | [Mutex] waiting for: [received:nodes:e8f28379-7f2a-45d7-9daf-365d78c1ef44:localhost] 2019-12-03 19:41:58 | [Mutex] received everything. 2019-12-03 19:41:58 | [Mutex] isItemNotified: received:node:e8f28379-7f2a-45d7-9daf-365d78c1ef44:localhost:node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd:Node 64d1acc0-8328-4ed6-aa93-4dbf3bf435fd :: false 2019-12-03 19:41:58 | [Mutex] waiting for: [received:nodes:6ea07590-cb3d-4d6a-9c1b-81441986e430:localhost] 2019-12-03 19:41:58 | [Mutex] received everything. 2019-12-03 19:41:58 | [Mutex] isItemNotified: received:node:6ea07590-cb3d-4d6a-9c1b-81441986e430:localhost:node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd:Node 64d1acc0-8328-4ed6-aa93-4dbf3bf435fd :: false |
publishItemsToNodes | 0.269s |
2019-12-03 19:41:54 |
2019-12-03 19:41:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:54 | ------------------------------------ 2019-12-03 19:41:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</node><item-id>item-a0579460-c077-4af4-8217-4fdf1975b3e2</item-id><entry><test>item-a0579460-c077-4af4-8217-4fdf1975b3e2</test></entry></data> 2019-12-03 19:41:54 | 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-a0579460-c077-4af4-8217-4fdf1975b3e2</value></item-id></result> 2019-12-03 19:41:54 | [Mutex] waiting for: [published:item:notifieditem-a0579460-c077-4af4-8217-4fdf1975b3e2:admin@localhost] 2019-12-03 19:41:54 | [Mutex] received everything. 2019-12-03 19:41:54 | [Mutex] isItemNotified: published:item:notifieditem-a0579460-c077-4af4-8217-4fdf1975b3e2:admin@localhost :: true |
retractItemsFromNodes | 0.367s |
2019-12-03 19:41:55 |
2019-12-03 19:41:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:55 | ------------------------------------ 2019-12-03 19:41:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</node><item-id>item-a0579460-c077-4af4-8217-4fdf1975b3e2</item-id></data> 2019-12-03 19:41:55 | 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-a0579460-c077-4af4-8217-4fdf1975b3e2</value></item-id></result> 2019-12-03 19:41:55 | [Mutex] received everything. 2019-12-03 19:41:55 | [Mutex] isItemNotified: retracted:item:notifieditem-a0579460-c077-4af4-8217-4fdf1975b3e2:admin@localhost :: true |
retrieveItemsFromNodes | 0.253s |
2019-12-03 19:41:54 |
2019-12-03 19:41:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:54 | ------------------------------------ 2019-12-03 19:41:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</node><item-id>item-a0579460-c077-4af4-8217-4fdf1975b3e2</item-id></data> 2019-12-03 19:41:54 | 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-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</value></node><item-id label="Item ID" type="text-single"><value>item-a0579460-c077-4af4-8217-4fdf1975b3e2</value></item-id><item label="Item" type="text-multi"><value><item id="item-a0579460-c077-4af4-8217-4fdf1975b3e2"><test>item-a0579460-c077-4af4-8217-4fdf1975b3e2</test></item></value></item></result> 2019-12-03 19:41:54 | [Mutex] notify: [retrieved:item:item-a0579460-c077-4af4-8217-4fdf1975b3e2:payload-matches:true:localhost] 2019-12-03 19:41:54 | [Mutex] received everything. 2019-12-03 19:41:54 | [Mutex] isItemNotified: retrieved:item:item-a0579460-c077-4af4-8217-4fdf1975b3e2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.328s |
2019-12-03 19:41:54 |
2019-12-03 19:41:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:54 | ------------------------------------ 2019-12-03 19:41:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-12-03 19:41:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</value><value>node-f0a6c015-5b45-4b58-9f86-8a7f0fbd4682</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2019-12-03 19:41:55 |
2019-12-03 19:41:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:55 | ------------------------------------ 2019-12-03 19:41:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd)</node-pattern></data> 2019-12-03 19:41:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.248s |
2019-12-03 19:41:53 |
2019-12-03 19:41:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:53 | ------------------------------------ 2019-12-03 19:41:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</node><jids><value>admin@localhost</value></jids></data> 2019-12-03 19:41:53 | 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 |
2019-12-03 19:41:55 |
2019-12-03 19:41:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:41:55 | ------------------------------------ 2019-12-03 19:41:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-64d1acc0-8328-4ed6-aa93-4dbf3bf435fd</node><jids><value>admin@localhost</value></jids></data> 2019-12-03 19:41:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |